Hello!
I’m running the Raspbian-Buster 2020-02-13 on a Raspberry Pi 4, and used the “Manual Installation on a Raspberry Pi” instructions on followed by the “Autostart using systemd” instructions. On reboot, Home Assistant runs and I can access the lovelace GUI from a browser on another machine, but nothing works – weather says “Unknown” and WEMO devices are grayed out and say “unavailable” when I click on them.
If I then VNC into Raspbian, stop the service home-assistant@homeassistant, and then start it, everything works as it should. Also if I disable the service, reboot, and launch hass from the prompt directly it loads correctly too.
I can’t understand what has gone wrong that simply stopping and starting the service rectifies. Then again, I suck at this stuff, so thank you for any ideas! I posted the systemctl status right after boot where it has loaded badly, and the status after stopping and starting the service.
Thanks,
abedaun
pi@raspberrypi:~ $ sudo systemctl status home-assistant@homeassistant
● [email protected] - Home Assistant
Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-05-27 17:47:05 CDT; 7min ago
Main PID: 341 (hass)
Tasks: 39 (limit: 4915)
Memory: 89.2M
CGroup: /system.slice/system-home\x2dassistant.slice/[email protected]
└─341 /srv/homeassistant/bin/python3 /srv/homeassistant/bin/hass -c /home/homeassistant/.homeassistant
May 27 17:47:14 raspberrypi hass[341]: 2020-05-27 17:47:14 INFO (SyncWorker_4) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
May 27 17:47:14 raspberrypi hass[341]: 2020-05-27 17:47:14 INFO (MainThread) [homeassistant.setup] Setting up tts
May 27 17:47:14 raspberrypi hass[341]: 2020-05-27 17:47:14 ERROR (MainThread) [homeassistant.components.tts] Error on cache init
May 27 17:47:14 raspberrypi hass[341]: 2020-05-27 17:47:14 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.0 seconds.
May 27 17:47:14 raspberrypi hass[341]: 2020-05-27 17:47:14 ERROR (MainThread) [homeassistant.setup] Setup failed for tts: Integration failed to initialize.
May 27 17:47:20 raspberrypi hass[341]: 2020-05-27 17:47:20 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 11.19s
May 27 17:47:20 raspberrypi hass[341]: 2020-05-27 17:47:20 INFO (MainThread) [homeassistant.core] Starting Home Assistant
May 27 17:47:20 raspberrypi hass[341]: 2020-05-27 17:47:20 INFO (MainThread) [homeassistant.core] Timer:starting
May 27 17:47:20 raspberrypi hass[341]: 2020-05-27 17:47:20 INFO (SyncWorker_1) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
May 27 17:48:23 raspberrypi hass[341]: 2020-05-27 17:48:23 INFO (SyncWorker_4) [homeassistant.loader] Loaded upnp from homeassistant.components.upnp
pi@raspberrypi:~ $ sudo systemctl stop home-assistant@homeassistant
pi@raspberrypi:~ $ sudo systemctl start home-assistant@homeassistant
pi@raspberrypi:~ $ sudo systemctl status home-assistant@homeassistant
● [email protected] - Home Assistant
Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-05-27 17:55:17 CDT; 44s ago
Main PID: 961 (hass)
Tasks: 39 (limit: 4915)
Memory: 61.7M
CGroup: /system.slice/system-home\x2dassistant.slice/[email protected]
└─961 /srv/homeassistant/bin/python3 /srv/homeassistant/bin/hass -c /home/homeassistant/.homeassistant
May 27 17:55:30 raspberrypi hass[961]: 2020-05-27 17:55:30 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.0 seconds.
May 27 17:55:30 raspberrypi hass[961]: 2020-05-27 17:55:30 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 12.26s
May 27 17:55:30 raspberrypi hass[961]: 2020-05-27 17:55:30 INFO (MainThread) [homeassistant.core] Starting Home Assistant
May 27 17:55:30 raspberrypi hass[961]: 2020-05-27 17:55:30 INFO (MainThread) [homeassistant.core] Timer:starting
May 27 17:55:30 raspberrypi hass[961]: 2020-05-27 17:55:30 INFO (SyncWorker_12) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
May 27 17:55:30 raspberrypi hass[961]: 2020-05-27 17:55:30 INFO (Wemo Events Thread) [pywemo.subscribe] Resubscribe for <WeMo Switch “Lamp”>
May 27 17:55:30 raspberrypi hass[961]: 2020-05-27 17:55:30 INFO (Wemo HTTP Thread) [pywemo.subscribe] Received event from <WeMo Switch “Fireplace lamp”>(192.168.1.154) - BinaryState 0
May 27 17:55:30 raspberrypi hass[961]: 2020-05-27 17:55:30 INFO (Wemo HTTP Thread) [homeassistant.components.wemo.switch] Subscription update for Fireplace lamp
May 27 17:55:30 raspberrypi hass[961]: 2020-05-27 17:55:30 INFO (Wemo HTTP Thread) [pywemo.subscribe] Received event from <WeMo Switch “Lamp”>(192.168.1.9) - BinaryState 0
May 27 17:55:30 raspberrypi hass[961]: 2020-05-27 17:55:30 INFO (Wemo HTTP Thread) [homeassistant.components.wemo.switch] Subscription update for Lamp