Hass.io Web UI Issues

I’ve been having massive problems over the weekend with Hass.io and was wondering if anyone else has been having similar or if it was just me?

Been running Hass.io for over a year in my old house with no issue. Recently moved and started from scratch with a couple of Hue bulbs and a bunch of Xiaomi sensors and switches.

Started playing with MQTT at the weekend and after an update to the config yaml did a restart via the UI and the web interface didn’t show up. Samba was still working fine.

Reinstalled Hass.io on another SD card and restored backup but hung again at restart.

Tried again - reinstalling - just adding relevant config to make the lights work. Hung on restart.

Tried again - installling ssh and restarting hassio via ssh. Hung on restart.

Tried 3 differed SD cards - 2 different Raspberry Pi 3+'s.

Same result everytime!

I have now installed Hassbian and will give that a go when I get home. Its not my ideal choice as I’m not clued up on Linux (although this might help me learn) and i prefer the ease of the addons, snapshots and updater on Hassio.

Could anyone help me with any suggestions as to what could be causing the Web UI to hang after a restart?

EDIT: I must point out as well that the only reason I had to start from scratch in my new house was because Hass.io did this exact same thing when I plugged it in after the move.
I’m happy to move to Hassbian if it is going to be more stable than Hass.io

Also having a problem accessing the webui. Running Hass.io on Ubuntu 18.04. I can log in to the IDE addon as well as SSH in, but can’t get the webui to show up or control anything through HADashboard, Home Panel or voice. Did this to me last night also, but was up and running this morning. Worked on it this evening, had to restart, and got this again.

I had a simular issue and logged into my Pi with Putty. Then checked the log files using “hassio logs info” command. (I think. Just type “hassio” to see available commands if that doesn’t work). An error in an automation.yaml file was displayed. Fixed it via ssh/notepad++ and it started right up.

I did do that and couldn’t see anything obvious. Maybe I should check again when I get home.
I did notice that when loading a fresh Hass.io image that the automations.yaml had
[]
at the beginning of the file…not sure what that is about.

What I don’t understand is that it was working fine before hand and I only loaded the same (working) config files back into Hass.io but it wouldn’t come back up after restart.

I can’t see anything obvious in my logs. Unless I’ve missed something?

2018-09-16 19:38:09 INFO (MainThread) [homeassistant.components.switch] Setting up switch.xiaomi_aqara
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.loader] Loaded cover.xiaomi_aqara from homeassistant.components.cover.xiaomi_aqara
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.components.cover] Setting up cover.xiaomi_aqara
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.loader] Loaded lock.xiaomi_aqara from homeassistant.components.lock.xiaomi_aqara
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.components.lock] Setting up lock.xiaomi_aqara
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.setup] Setup of domain xiaomi_aqara took 6.3 seconds.
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=xiaomi_aqara>
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.living_room, old_state=<state group.living_room=unknown; entity_id=('switch.wall_switch_left_158d0002235ab4', 'light.floor_lamps', 'light.table_lamp', 'binary_sensor.motion_sensor_158d00024ee3c0', 'sensor.temperature_158d000227b1b3', 'sensor.humidity_158d000227b1b3'), order=1, control=hidden, friendly_name=Living Room @ 2018-09-16T20:38:02.587078+01:00>, new_state=<state group.living_room=off; entity_id=('switch.wall_switch_left_158d0002235ab4', 'light.floor_lamps', 'light.table_lamp', 'binary_sensor.motion_sensor_158d00024ee3c0', 'sensor.temperature_158d000227b1b3', 'sensor.humidity_158d000227b1b3'), order=1, control=hidden, friendly_name=Living Room @ 2018-09-16T20:38:09.225603+01:00>>
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.hall, old_state=<state group.hall=unknown; entity_id=('light.gateway_light_7811dcb8d758', 'binary_sensor.motion_sensor_158d0001f9cee4', 'binary_sensor.door_window_sensor_158d0002285475'), order=3, friendly_name=Hall/Landing @ 2018-09-16T20:38:02.599972+01:00>, new_state=<state group.hall=off; entity_id=('light.gateway_light_7811dcb8d758', 'binary_sensor.motion_sensor_158d0001f9cee4', 'binary_sensor.door_window_sensor_158d0002285475'), order=3, friendly_name=Hall/Landing @ 2018-09-16T20:38:09.230883+01:00>>
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=switch.wall_switch_right_158d0002235ab4, old_state=None, new_state=<state switch.wall_switch_right_158d0002235ab4=off; battery_level=100.0, friendly_name=Living Room Wall Switch Right, icon=mdi:power-socket @ 2018-09-16T20:38:09.240051+01:00>>
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=switch.wall_switch_left_158d0002235ab4, old_state=None, new_state=<state switch.wall_switch_left_158d0002235ab4=off; battery_level=100.0, friendly_name=Ceiling Lights, icon=mdi:lightbulb @ 2018-09-16T20:38:09.245071+01:00>>
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.default_view, old_state=<state group.default_view=unknown; entity_id=('sun.sun', 'device_tracker.andys_iphone', 'device_tracker.amys_iphone', 'group.living_room', 'group.hall', 'group.jessica', 'group.network'), order=0, view=True, friendly_name=Home, icon=mdi:home, hidden=True @ 2018-09-16T20:38:02.581138+01:00>, new_state=<state group.default_view=off; entity_id=('sun.sun', 'device_tracker.andys_iphone', 'device_tracker.amys_iphone', 'group.living_room', 'group.hall', 'group.jessica', 'group.network'), order=0, view=True, friendly_name=Home, icon=mdi:home, hidden=True @ 2018-09-16T20:38:09.251078+01:00>>
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=group, service=set, service_data=object_id=all_switches, name=all switches, entities=['switch.wall_switch_left_158d0002235ab4', 'switch.wall_switch_right_158d0002235ab4'], visible=False>
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.all_switches, old_state=None, new_state=<state group.all_switches=off; entity_id=('switch.wall_switch_left_158d0002235ab4', 'switch.wall_switch_right_158d0002235ab4'), order=7, auto=True, friendly_name=all switches, hidden=True @ 2018-09-16T20:38:09.265571+01:00>>
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]>
2018-09-16 19:38:09 INFO (MainThread) [homeassistant.setup] Setting up discovery
2018-09-16 19:38:10 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.1 seconds.
2018-09-16 19:38:10 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=discovery>
2018-09-16 19:38:11 INFO (MainThread) [homeassistant.setup] Setting up updater
2018-09-16 19:38:11 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2018-09-16 19:38:11 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=updater>
2018-09-16 19:38:12 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-09-16 19:38:12 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.yr
2018-09-16 19:38:13 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-09-16T20:38:13.234123+01:00>>
2018-09-16 19:38:14 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-09-16T20:38:13.234123+01: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-09-16T20:38:14.900484+01:00>>
2018-09-16 19:38:14 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 12.8 seconds.
2018-09-16 19:38:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=sensor>
2018-09-16 19:38:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: service=load_platform.sensor, platform=xiaomi_aqara, discovered=>
2018-09-16 19:38:14 INFO (MainThread) [homeassistant.loader] Loaded sensor.xiaomi_aqara from homeassistant.components.sensor.xiaomi_aqara
2018-09-16 19:38:14 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.xiaomi_aqara
2018-09-16 19:38:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.illumination_7811dcb8d758, old_state=None, new_state=<state sensor.illumination_7811dcb8d758=66.0; unit_of_measurement=lm, friendly_name=Illumination_7811dcb8d758, device_class=illuminance @ 2018-09-16T20:38:14.949559+01:00>>
2018-09-16 19:38:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.humidity_158d000227b1b3, old_state=None, new_state=<state sensor.humidity_158d000227b1b3=60.9; battery_level=35.0, unit_of_measurement=%, friendly_name=Humidity, device_class=humidity @ 2018-09-16T20:38:14.955418+01:00>>
2018-09-16 19:38:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.illumination_158d0001f9cee4, old_state=None, new_state=<state sensor.illumination_158d0001f9cee4=unknown; battery_level=41.0, unit_of_measurement=lx, friendly_name=Illumination_158d0001f9cee4, device_class=illuminance @ 2018-09-16T20:38:14.961225+01:00>>
2018-09-16 19:38:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.temperature_158d00020190ca, old_state=None, new_state=<state sensor.temperature_158d00020190ca=23.3; battery_level=37.0, unit_of_measurement=°C, friendly_name=Temperature, device_class=temperature @ 2018-09-16T20:38:14.967065+01:00>>
2018-09-16 19:38:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.illumination_158d00024ee3c0, old_state=None, new_state=<state sensor.illumination_158d00024ee3c0=17.0; battery_level=51.0, unit_of_measurement=lx, friendly_name=Illumination_158d00024ee3c0, device_class=illuminance @ 2018-09-16T20:38:14.972475+01:00>>
2018-09-16 19:38:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.temperature_158d000227b1b3, old_state=None, new_state=<state sensor.temperature_158d000227b1b3=23.6; battery_level=35.0, unit_of_measurement=°C, friendly_name=Temperature, device_class=temperature @ 2018-09-16T20:38:14.979416+01:00>>
2018-09-16 19:38:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.humidity_158d00020190ca, old_state=None, new_state=<state sensor.humidity_158d00020190ca=63.8; battery_level=37.0, unit_of_measurement=%, friendly_name=Humidity, device_class=humidity @ 2018-09-16T20:38:14.985022+01:00>>
2018-09-16 19:38:15 INFO (MainThread) [homeassistant.setup] Setting up cloud
2018-09-16 19:38:15 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds.
2018-09-16 19:38:15 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=cloud>
2018-09-16 19:38:15 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.illumination_158d0001f9cee4, old_state=<state sensor.illumination_158d0001f9cee4=unknown; battery_level=41.0, unit_of_measurement=lx, friendly_name=Illumination_158d0001f9cee4, device_class=illuminance @ 2018-09-16T20:38:14.961225+01:00>, new_state=<state sensor.illumination_158d0001f9cee4=0.0; battery_level=41.0, unit_of_measurement=lx, friendly_name=Illumination_158d0001f9cee4, device_class=illuminance @ 2018-09-16T20:38:15.063251+01:00>>
2018-09-16 19:38:16 INFO (MainThread) [homeassistant.setup] Setting up tts
2018-09-16 19:38:17 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.config_entries>
2018-09-16 19:38:17 INFO (MainThread) [homeassistant.setup] Setup of domain config took 15.6 seconds.
2018-09-16 19:38:17 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config>
2018-09-16 19:38:21 INFO (MainThread) [homeassistant.components.light] Setting up light.xiaomi_miio
2018-09-16 19:38:24 INFO (MainThread) [homeassistant.components.light.xiaomi_miio] Initializing with host 192.168.2.61 (token 80485...)
2018-09-16 19:38:24 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=light, service=xiaomi_miio_set_delayed_turn_off>
2018-09-16 19:38:24 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=light, service=xiaomi_miio_set_scene>
2018-09-16 19:38:24 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=light, service=xiaomi_miio_reminder_on>
2018-09-16 19:38:24 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=light, service=xiaomi_miio_reminder_off>
2018-09-16 19:38:24 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=light, service=xiaomi_miio_night_light_mode_on>
2018-09-16 19:38:24 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=light, service=xiaomi_miio_night_light_mode_off>
2018-09-16 19:38:24 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=light, service=xiaomi_miio_eyecare_mode_on>
2018-09-16 19:38:24 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=light, service=xiaomi_miio_eyecare_mode_off>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.table_lamp, old_state=None, new_state=<state light.table_lamp=on; min_mireds=175, max_mireds=333, brightness=255, color_temp=333, model=philips.light.candle2, scene=0, delayed_turn_off=None, friendly_name=Table Lamp, supported_features=3 @ 2018-09-16T20:38:25.224053+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.living_room, old_state=<state group.living_room=off; entity_id=('switch.wall_switch_left_158d0002235ab4', 'light.floor_lamps', 'light.table_lamp', 'binary_sensor.motion_sensor_158d00024ee3c0', 'sensor.temperature_158d000227b1b3', 'sensor.humidity_158d000227b1b3'), order=1, control=hidden, friendly_name=Living Room @ 2018-09-16T20:38:09.225603+01:00>, new_state=<state group.living_room=on; entity_id=('switch.wall_switch_left_158d0002235ab4', 'light.floor_lamps', 'light.table_lamp', 'binary_sensor.motion_sensor_158d00024ee3c0', 'sensor.temperature_158d000227b1b3', 'sensor.humidity_158d000227b1b3'), order=1, control=hidden, friendly_name=Living Room @ 2018-09-16T20:38:25.257776+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.living_room_lamps, old_state=<state light.living_room_lamps=unavailable; friendly_name=Living Room Lamps, supported_features=0 @ 2018-09-16T20:38:02.687345+01:00>, new_state=<state light.living_room_lamps=on; min_mireds=175, max_mireds=333, brightness=255, color_temp=333, friendly_name=Living Room Lamps, supported_features=3 @ 2018-09-16T20:38:25.264092+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=group, service=set, service_data=object_id=all_lights, name=all lights, entities=['light.floor_lamps', 'light.living_room_lamps', 'light.table_lamp'], visible=False>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.default_view, old_state=<state group.default_view=off; entity_id=('sun.sun', 'device_tracker.andys_iphone', 'device_tracker.amys_iphone', 'group.living_room', 'group.hall', 'group.jessica', 'group.network'), order=0, view=True, friendly_name=Home, icon=mdi:home, hidden=True @ 2018-09-16T20:38:09.251078+01:00>, new_state=<state group.default_view=on; entity_id=('sun.sun', 'device_tracker.andys_iphone', 'device_tracker.amys_iphone', 'group.living_room', 'group.hall', 'group.jessica', 'group.network'), order=0, view=True, friendly_name=Home, icon=mdi:home, hidden=True @ 2018-09-16T20:38:25.275955+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, old_state=<state group.all_lights=unknown; entity_id=('light.floor_lamps', 'light.living_room_lamps'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:02.705603+01:00>, new_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.living_room_lamps'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, old_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.living_room_lamps'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>, new_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.living_room_lamps', 'light.table_lamp'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=light, service=turn_on>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=light, service=turn_off>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=light, service=toggle>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.setup] Setup of domain light took 22.7 seconds.
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=light>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.loader] Loaded light.hue from homeassistant.components.light.hue
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: service=load_platform.light, platform=xiaomi_aqara, discovered=>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.loader] Loaded light.xiaomi_aqara from homeassistant.components.light.xiaomi_aqara
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.components.light] Setting up light.xiaomi_aqara
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.components.light] Setting up light.hue
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.gateway_light_7811dcb8d758, old_state=None, new_state=<state light.gateway_light_7811dcb8d758=on; brightness=17, hs_color=(0.0, 0.0), rgb_color=(255, 255, 255), xy_color=(0.323, 0.329), friendly_name=Landing Light, supported_features=17 @ 2018-09-16T20:38:25.409106+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.hall, old_state=<state group.hall=off; entity_id=('light.gateway_light_7811dcb8d758', 'binary_sensor.motion_sensor_158d0001f9cee4', 'binary_sensor.door_window_sensor_158d0002285475'), order=3, friendly_name=Hall/Landing @ 2018-09-16T20:38:09.230883+01:00>, new_state=<state group.hall=on; entity_id=('light.gateway_light_7811dcb8d758', 'binary_sensor.motion_sensor_158d0001f9cee4', 'binary_sensor.door_window_sensor_158d0002285475'), order=3, friendly_name=Hall/Landing @ 2018-09-16T20:38:25.415618+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=group, service=set, service_data=object_id=all_lights, name=all lights, entities=['light.floor_lamps', 'light.gateway_light_7811dcb8d758', 'light.living_room_lamps', 'light.table_lamp'], visible=False>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, old_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.living_room_lamps', 'light.table_lamp'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>, new_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.gateway_light_7811dcb8d758', 'light.living_room_lamps', 'light.table_lamp'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.corner_lamp_1, old_state=None, new_state=<state light.corner_lamp_1=on; brightness=254, friendly_name=Corner Lamp 1, supported_features=41 @ 2018-09-16T20:38:25.454736+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.corner_lamp_2, old_state=None, new_state=<state light.corner_lamp_2=on; brightness=254, friendly_name=Corner Lamp 2, supported_features=41 @ 2018-09-16T20:38:25.460592+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.floor_lamps, old_state=<state light.floor_lamps=unavailable; friendly_name=Floor Lamps, supported_features=0 @ 2018-09-16T20:38:02.681305+01:00>, new_state=<state light.floor_lamps=on; brightness=254, friendly_name=Floor Lamps, supported_features=41 @ 2018-09-16T20:38:25.470873+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.living_room_lamps, old_state=<state light.living_room_lamps=on; min_mireds=175, max_mireds=333, brightness=255, color_temp=333, friendly_name=Living Room Lamps, supported_features=3 @ 2018-09-16T20:38:25.264092+01:00>, new_state=<state light.living_room_lamps=on; min_mireds=175, max_mireds=333, brightness=254, color_temp=333, friendly_name=Living Room Lamps, supported_features=43 @ 2018-09-16T20:38:25.264092+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=group, service=set, service_data=object_id=all_lights, name=all lights, entities=['light.corner_lamp_1', 'light.corner_lamp_2', 'light.floor_lamps', 'light.gateway_light_7811dcb8d758', 'light.living_room_lamps', 'light.table_lamp'], visible=False>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, old_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.gateway_light_7811dcb8d758', 'light.living_room_lamps', 'light.table_lamp'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>, new_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.living_room_lamps'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, old_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.living_room_lamps'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>, new_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.gateway_light_7811dcb8d758', 'light.living_room_lamps', 'light.table_lamp'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, old_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.gateway_light_7811dcb8d758', 'light.living_room_lamps', 'light.table_lamp'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>, new_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.living_room_lamps'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, old_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.living_room_lamps'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>, new_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.gateway_light_7811dcb8d758', 'light.living_room_lamps', 'light.table_lamp'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, old_state=<state group.all_lights=on; entity_id=('light.floor_lamps', 'light.gateway_light_7811dcb8d758', 'light.living_room_lamps', 'light.table_lamp'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>, new_state=<state group.all_lights=on; entity_id=('light.corner_lamp_1', 'light.corner_lamp_2', 'light.floor_lamps', 'light.gateway_light_7811dcb8d758', 'light.living_room_lamps', 'light.table_lamp'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.living_room, old_state=None, new_state=<state light.living_room=on; min_mireds=153, max_mireds=500, brightness=254, effect_list=['colorloop', 'random'], is_hue_group=True, friendly_name=Living room, supported_features=63 @ 2018-09-16T20:38:25.534382+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=group, service=set, service_data=object_id=all_lights, name=all lights, entities=['light.corner_lamp_1', 'light.corner_lamp_2', 'light.floor_lamps', 'light.gateway_light_7811dcb8d758', 'light.living_room_lamps', 'light.living_room', 'light.table_lamp'], visible=False>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, old_state=<state group.all_lights=on; entity_id=('light.corner_lamp_1', 'light.corner_lamp_2', 'light.floor_lamps', 'light.gateway_light_7811dcb8d758', 'light.living_room_lamps', 'light.table_lamp'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>, new_state=<state group.all_lights=on; entity_id=('light.corner_lamp_1', 'light.corner_lamp_2', 'light.floor_lamps', 'light.gateway_light_7811dcb8d758', 'light.living_room_lamps', 'light.living_room', 'light.table_lamp'), order=5, auto=True, friendly_name=all lights, hidden=True @ 2018-09-16T20:38:25.283010+01:00>>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=tts, service=google_say>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=tts, service=clear_cache>
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 8.9 seconds.
2018-09-16 19:38:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=tts>
2018-09-16 19:38:34 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.illumination_7811dcb8d758, old_state=<state sensor.illumination_7811dcb8d758=66.0; unit_of_measurement=lm, friendly_name=Illumination_7811dcb8d758, device_class=illuminance @ 2018-09-16T20:38:14.949559+01:00>, new_state=<state sensor.illumination_7811dcb8d758=67.0; unit_of_measurement=lm, friendly_name=Illumination_7811dcb8d758, device_class=illuminance @ 2018-09-16T20:38:34.470257+01:00>>
2018-09-16 19:38:46 ERROR (SyncWorker_5) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
2018-09-16 19:40:42 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=binary_sensor.motion_sensor_158d00024ee3c0, old_state=<state binary_sensor.motion_sensor_158d00024ee3c0=off; No motion since=0, battery_level=51.0, friendly_name=Living Room Motion, device_class=motion @ 2018-09-16T20:38:09.115160+01:00>, new_state=<state binary_sensor.motion_sensor_158d00024ee3c0=off; No motion since=1200, battery_level=51.0, friendly_name=Living Room Motion, device_class=motion @ 2018-09-16T20:38:09.115160+01:00>>

Try going into PuTTy and typing ‘hassio ha check’ at the prompt. That will check all your yaml files for errors and display the errors if it finds any. This is the same as going to Configuration>General>Check Config in Hass.io. If that doesn’t work, sorry I couldn’t help.

I did do that check before a restart. Always do (learnt the hard way before).

Currently trying on Hassbian and having the same issue so it’s got to be me…somehow!

Success!..to a certain degree.

I started a fresh Hass.io and have added config one bit at a time, restarting every time i make a small change and I currently have enough going to keep the wife happy. Still not sure what has caused all the issues.

Literally only have Xiaomi Gateway, Xiaomi Light Bulb and Phillips Hue added in with a couple of automations.

I didn’t add the Google Cast integration this time. Maybe that could have been it?

I’ll update if I find the cause of the issue.

EDIT: I forgot to say - I added config to Hassbian and same thing happened. Started to take it all out until it was just an empty config again and still couldn’t get Web UI back which leads me to believe it was one of the discovery integrations (I only have Hue and Google Cast)