I’m running a hass on my main linux server and now Im trying to add a pi as slave.
When I run “python3 slave.py” its just “hangs” without any log in the ssh. If i CTRL+C-it, this is the output:
^CTraceback (most recent call last):
File “slave.py”, line 9, in
hass = remote.HomeAssistant(remote_api)
File “/usr/local/lib/python3.4/dist-packages/homeassistant/remote.py”, line 135, in init
self.states = StateMachine(self.bus, self.loop, self.remote_api)
File “/usr/local/lib/python3.4/dist-packages/homeassistant/remote.py”, line 272, in init
bus.listen(ha.EVENT_STATE_CHANGED, self._state_changed_listener)
File “/usr/local/lib/python3.4/dist-packages/homeassistant/core.py”, line 455, in listen
self._hass.loop, self.async_listen, event_type, listener).result()
File “/usr/lib/python3.4/concurrent/futures/_base.py”, line 397, in result
self._condition.wait(timeout)
File “/usr/lib/python3.4/threading.py”, line 290, in wait
waiter.acquire()
KeyboardInterrupt
I have been trying to setup a master slave for a day or so. I found the slave.py code in the link below gives feedback and connects with master. I am having other issues but seems fixable when i have time. It appears that this part of HA is not fully developed or maintained.