I made the switch from my old first gen RPi today to a new RPi 3 model B and chose Hassbian as I don’t think HASS.io suited my needs.
Flashed the latest Hassbian image, copied over my config files. Everything is working except the iOS component. I originally had discovery: and ios: in my configuration.yaml and then added zeroconf: as well but nothing made any difference. I’ve googled all afternoon and not got anywhere. I’ve disabled discovery: and zeroconf: for now and just have ios: in there because as far as I can tell ios: should load what I need. I have sudo apt-get updated and upgraded, restated HA and the RPi several times. I have (inside the virtual environment) installed zeroconf and netdisco (both up to date). Still nothing. I deleted my known_devices.yaml and created a blank one from scratch. The iOS app connects fine, but the iOS Component Loaded is not ticked, nor is the iOS Notify Platform Loaded (Device Tracker Component Loaded is). The first error I get in the logs is;
Error during setup of component zeroconf
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 199, in _async_setup_component
component.setup, hass, processed_config)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zeroconf.py", line 31, in setup
from zeroconf import Zeroconf, ServiceInfo
ImportError: cannot import name 'Zeroconf'
And then just errors about zeroconf being a dependency for ios. Strangely,
avahi-browse -alr
Works fine and finds everything on the network. Anyone got a clue how I can get this up and running? Everything on the RPi 3 worked fine on HA 60.1 using Rasbian Stretch (although it was a while since I had updated stretch; it was working so I didn’t dare fix it! )