Hi all
I keep having a recurring problem that I’m having to solve with a reflash. What i’m doing is adding the custom hue sensor under custom_components/sensor/hue.py and adding it to the configuration page. That will normally work fine, and I add the discovered cast devices and can restart fine, eventually I’ll get to a point where i’ll restart where the frontend won’t load again displaying:
This site can’t be reached
hassio.local refused to connect.
Search Google for hassio local 8123
ERR_CONNECTION_REFUSED
My configuration is below:
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 0
longitude: 0
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 0
# metric for Metric, imperial for Imperial
unit_system: metric
time_zone: UTC
# Customization file
customize: !include customize.yaml
# Show links to resources in log and frontend
introduction:
# Enables the frontend
frontend:
# Enables configuration UI
config:
http:
# Secrets are defined in the file secrets.yaml
# api_password: !secret http_password
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# base_url: example.duckdns.org:8123
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
# Weather prediction
sensor:
- platform: yr
- platform: hue
ip_address: 192.168.1.120
token: dwXXXXXXXXXXXXXXXXXXXXXXXXV
# Text to speech
tts:
- platform: google
# Cloud
cloud:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
My logs below:
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.script>
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.loader] Loaded config.automation from homeassistant.components.config.automation
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.automation>
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.loader] Loaded config.core from homeassistant.components.config.core
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.core>
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.loader] Loaded config.hassbian from homeassistant.components.config.hassbian
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.loader] Loaded config.group from homeassistant.components.config.group
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.group>
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.loader] Loaded config.customize from homeassistant.components.config.customize
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.customize>
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.3 seconds.
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=logbook>
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.entity_registry>
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.downstairs_bedroom_switch, old_state=None, new_state=<state sensor.downstairs_bedroom_switch=2_hold_up; last_updated=['2018-07-05', '07:35:43'], battery=100, on=True, reachable=True, friendly_name=Downstairs Bedroom switch, icon=mdi:remote @ 2018-07-10T11:01:22.966677+00:00>>
2018-07-10 11:01:22 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.upstairsswitch, old_state=None, new_state=<state sensor.upstairsswitch=3_click_up; last_updated=['2018-07-10', '10:57:13'], battery=100, on=True, reachable=True, friendly_name=UpstairsSwitch, icon=mdi:remote @ 2018-07-10T11:01:22.972075+00:00>>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.downstairs_outside_switch, old_state=None, new_state=<state sensor.downstairs_outside_switch=4_click_up; last_updated=['2018-07-09', '23:08:58'], battery=100, on=True, reachable=True, friendly_name=Downstairs Outside switch, icon=mdi:remote @ 2018-07-10T11:01:23.000528+00:00>>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=automation.volume_down, old_state=None, new_state=<state automation.volume_down=off; last_triggered=2018-07-10T10:57:13.582439+00:00, id=1531127243955, friendly_name=Volume down @ 2018-07-10T11:01:23.034018+00:00>>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=automation.light_off, old_state=None, new_state=<state automation.light_off=off; last_triggered=None, id=1531127811279, friendly_name=Light Off @ 2018-07-10T11:01:23.036608+00:00>>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=automation.light_on, old_state=None, new_state=<state automation.light_on=off; last_triggered=None, id=1531127759814, friendly_name=Light On @ 2018-07-10T11:01:23.039258+00:00>>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=automation.volume_up, old_state=None, new_state=<state automation.volume_up=off; last_triggered=2018-07-10T10:56:39.594149+00:00, id=1531127362859, friendly_name=Volume up @ 2018-07-10T11:01:23.044573+00:00>>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=automation, service=trigger>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=automation, service=reload>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=automation, service=toggle>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=automation, service=turn_on>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=automation, service=turn_off>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.3 seconds.
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=automation>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=group, service=set, service_data=object_id=all_automations, name=all automations, entities=['automation.light_off', 'automation.light_on', 'automation.volume_down', 'automation.volume_up'], visible=False, service_call_id=1973312464-2>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.all_automations, old_state=None, new_state=<state group.all_automations=off; entity_id=('automation.light_off', 'automation.light_on', 'automation.volume_down', 'automation.volume_up'), order=0, auto=True, friendly_name=all automations, hidden=True @ 2018-07-10T11:01:23.065776+00:00>>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1973312464-2>
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.setup] Setting up discovery
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.1 seconds.
2018-07-10 11:01:23 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=discovery>
2018-07-10 11:01:25 INFO (MainThread) [homeassistant.setup] Setting up updater
2018-07-10 11:01:25 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2018-07-10 11:01:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=updater>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.setup] Setting up cast
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.setup] Setup of domain cast took 0.0 seconds.
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=cast>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.setup] Setting up media_player
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=turn_on>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=turn_off>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=toggle>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_up>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_down>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_play_pause>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_play>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_pause>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_stop>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_next_track>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_previous_track>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=clear_playlist>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_set>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_mute>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_seek>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=select_source>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=select_sound_mode>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=play_media>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=shuffle_set>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.setup] Setup of domain media_player took 0.1 seconds.
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=media_player>
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.loader] Loaded media_player.cast from homeassistant.components.media_player.cast
2018-07-10 11:01:27 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.cast
2018-07-10 11:01:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.downstairs_bedroom_tv, old_state=None, new_state=<state media_player.downstairs_bedroom_tv=unavailable; friendly_name=Downstairs Bedroom TV, supported_features=21437 @ 2018-07-10T11:01:28.691623+00:00>>
2018-07-10 11:01:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.downstairs_outside, old_state=None, new_state=<state media_player.downstairs_outside=unavailable; friendly_name=Downstairs Outside, supported_features=21437 @ 2018-07-10T11:01:28.711943+00:00>>
2018-07-10 11:01:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.downstairs_all, old_state=None, new_state=<state media_player.downstairs_all=unavailable; friendly_name=Downstairs All, supported_features=21437 @ 2018-07-10T11:01:28.715798+00:00>>
2018-07-10 11:01:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.downstairs_bedroom, old_state=None, new_state=<state media_player.downstairs_bedroom=unavailable; friendly_name=Downstairs Bedroom, supported_features=21437 @ 2018-07-10T11:01:28.718856+00:00>>
2018-07-10 11:01:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.demo, old_state=None, new_state=<state media_player.demo=unavailable; friendly_name=Demo, supported_features=21437 @ 2018-07-10T11:01:28.728284+00:00>>
2018-07-10 11:01:28 INFO (SyncWorker_11) [pychromecast] Querying device status
2018-07-10 11:01:28 INFO (SyncWorker_12) [pychromecast] Querying device status
2018-07-10 11:01:28 INFO (SyncWorker_5) [pychromecast] Querying device status
2018-07-10 11:01:28 INFO (SyncWorker_6) [pychromecast] Querying device status
2018-07-10 11:01:28 INFO (SyncWorker_2) [pychromecast] Querying device status
2018-07-10 11:01:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.downstairs_bedroom_tv, old_state=<state media_player.downstairs_bedroom_tv=unavailable; friendly_name=Downstairs Bedroom TV, supported_features=21437 @ 2018-07-10T11:01:28.691623+00:00>, new_state=<state media_player.downstairs_bedroom_tv=off; friendly_name=Downstairs Bedroom TV, supported_features=21437 @ 2018-07-10T11:01:28.918737+00:00>>
2018-07-10 11:01:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.downstairs_bedroom, old_state=<state media_player.downstairs_bedroom=unavailable; friendly_name=Downstairs Bedroom, supported_features=21437 @ 2018-07-10T11:01:28.718856+00:00>, new_state=<state media_player.downstairs_bedroom=off; friendly_name=Downstairs Bedroom, supported_features=21437 @ 2018-07-10T11:01:28.923462+00:00>>
2018-07-10 11:01:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.downstairs_outside, old_state=<state media_player.downstairs_outside=unavailable; friendly_name=Downstairs Outside, supported_features=21437 @ 2018-07-10T11:01:28.711943+00:00>, new_state=<state media_player.downstairs_outside=off; friendly_name=Downstairs Outside, supported_features=21437 @ 2018-07-10T11:01:28.960347+00:00>>
2018-07-10 11:01:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.downstairs_all, old_state=<state media_player.downstairs_all=unavailable; friendly_name=Downstairs All, supported_features=21437 @ 2018-07-10T11:01:28.715798+00:00>, new_state=<state media_player.downstairs_all=off; friendly_name=Downstairs All, supported_features=21437 @ 2018-07-10T11:01:28.989275+00:00>>
2018-07-10 11:01:29 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.foxtel_4022, old_state=None, new_state=<state media_player.foxtel_4022=unavailable; friendly_name=Foxtel 4022, supported_features=21437 @ 2018-07-10T11:01:29.190616+00:00>>
2018-07-10 11:01:29 INFO (SyncWorker_13) [pychromecast] Querying device status
2018-07-10 11:01:29 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.foxtel_4022, old_state=<state media_player.foxtel_4022=unavailable; friendly_name=Foxtel 4022, supported_features=21437 @ 2018-07-10T11:01:29.190616+00:00>, new_state=<state media_player.foxtel_4022=off; friendly_name=Foxtel 4022, supported_features=21437 @ 2018-07-10T11:01:29.550184+00:00>>
2018-07-10 11:01:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.yr
2018-07-10 11:01:29 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.yr_symbol, old_state=None, new_state=<state sensor.yr_symbol=unknown; attribution=Weather forecast from met.no, delivered by the Norwegian Meteorological Institute., friendly_name=yr Symbol, entity_picture=https://api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png @ 2018-07-10T11:01:29.963246+00:00>>
2018-07-10 11:01:31 INFO (MainThread) [homeassistant.setup] Setting up tts
2018-07-10 11:01:32 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-07-10 11:01:33 INFO (MainThread) [homeassistant.setup] Setting up cloud
2018-07-10 11:01:33 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds.
2018-07-10 11:01:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=cloud>
2018-07-10 11:01:35 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.config_entries>
2018-07-10 11:01:35 INFO (MainThread) [homeassistant.setup] Setup of domain config took 12.3 seconds.
2018-07-10 11:01:35 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config>
2018-07-10 11:01:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.yr_symbol, old_state=<state sensor.yr_symbol=unknown; attribution=Weather forecast from met.no, delivered by the Norwegian Meteorological Institute., friendly_name=yr Symbol, entity_picture=https://api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png @ 2018-07-10T11:01:29.963246+00:00>, new_state=<state sensor.yr_symbol=2; attribution=Weather forecast from met.no, delivered by the Norwegian Meteorological Institute., friendly_name=yr Symbol, entity_picture=https://api.met.no/weatherapi/weathericon/1.1/?symbol=2;content_type=image/png @ 2018-07-10T11:01:37.063710+00:00>>
2018-07-10 11:01:37 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 14.4 seconds.
2018-07-10 11:01:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=sensor>
2018-07-10 11:01:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=tts, service=google_say>
2018-07-10 11:01:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=tts, service=clear_cache>
2018-07-10 11:01:37 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 6.3 seconds.
2018-07-10 11:01:37 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=tts>
2018-07-10 11:02:08 ERROR (SyncWorker_2) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
core-ssh:~#
Does anyone know what could be causing this?