Log Details (ERROR)
Thu Dec 07 2017 13:04:34 GMT+0100 (CET)
Error on device update!
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 217, in async_add_entity
yield from entity.async_device_update(warning=False)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 306, in async_device_update
yield from self.hass.async_add_job(self.update)
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/sensor/systemmonitor.py", line 170, in update
self._state = addresses[self.argument][IF_ADDRS[self.type]][1]
IndexError: list index out of range
I don’t uses systemmonitor, but just looking at this line of code it looks like it is a problem with the number of IP addresses on this machine. Is it running both IP4 and IP6?
Running ifconfig -a on each machine might reveal some differences.
Thank you, it was the IPV6 address, this is not enabled on the second Raspberry. I have removed these from the configuration and now the application starts without the error.