Boas pessoal,
Não sei porque mas à cerca de dois dias que não me consigo conectar ao home assistant (nem windows nem android).
Finalmente hoje liguei me a drive e consigo ver o ficheiro log.
Alguem me consegue ajudar?
deixo aqui o meu log e o config
Log:
019-09-11 22:51:20 WARNING (MainThread) [homeassistant.components.http] Configuring api_password via the http integration has been deprecated. Use the legacy api password auth provider instead. For instructions, see https://www.home-assistant.io/docs/authentication/providers/#legacy-api-password
2019-09-11 22:51:20 WARNING (MainThread) [homeassistant.components.http.auth] legacy_api_password support has been enabled.
2019-09-11 22:51:21 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=190 from 2019-09-11 20:24:58.845861)
2019-09-11 22:51:33 WARNING (MainThread) [homeassistant.components.input_select] Invalid option: (possible options: Web Player (Chrome), SM-G930F, DESKTOP-1BMUATF, Home group)
2019-09-11 22:51:33 ERROR (MainThread) [homeassistant.components.http] Failed to create HTTP server at port 8123: [Errno 98] error while attempting to bind on address ('0.0.0.0', 8123): address in use
2019-09-12 04:15:02 ERROR (Thread-4) [pychromecast.socket_client] [Home group:42631] Error reading from socket.
2019-09-12 04:15:02 WARNING (Thread-4) [pychromecast.socket_client] [Home group:42631] Error communicating with socket, resetting connection
2019-09-12 04:15:35 WARNING (Thread-3) [pychromecast.socket_client] [Sala de estar:8009] Heartbeat timeout, resetting connection
Config:
homeassistant:
# Name of the location where Home Assistant is running
#name: casa do boss
# Location required to calculate the time the sun rises and sets
#latitude: ###
#longitude: ###
# Impacts weather/sunrise data (altitude above sea level in meters)
#elevation: 10
# metric for Metric, imperial for Imperial
#unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
#time_zone: Europe/Lisbon
# Customization file
#sonoff 192.168.1.72 username:###
#customize: !include customize.yaml
#packages:
packages: !include_dir_named packages/
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
#Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
base_url: ###.duckdns.org:443
api_password: ###
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
ip_ban_enabled: False
login_attempts_threshold: 20
# Discover some devices automatically
discovery:
switch:
platform: mqtt
name: "sonoff1"
command_topic: "cmnd/sonoff1/power"
state_topic: "stat/sonoff1/POWER"
#availability_topic: "tele/sonoff002/LWT"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
#frontend enable
frontend: !include frontend.yaml
# Sensors
sensor:
# Weather prediction
- platform: yr
- platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- 'date_time_iso'
- 'time_date'
- 'beat'
#falar
google_assistant:
project_id: home-562d6
#api_key: ###
api_key: ###
exposed_domains:
– switch
– light
- cover
- group
- scene
- media_player
# Text to speech
tts:
- platform: google_translate
#base_url: 192.168.1.74:8123
cache: true
cache_dir: /tmp/tts
time_memory: 300
service_name: google_say
group: !include groups.yaml
#automation: !include automations.yaml
script: !include scripts.yaml
A mensagem de erro que me dá quando tento aceder é a seguinte:
Unable to connect to Home Assistant.