Hi everyone - I’ve run into an issue with the Russound RNET component and wanted to see if others had similar problems.
The amplifier is a Russound CAA66 and it is connected to the network via a Raspberry Pi and a serial-to-USB cable. The ser2net package is installed and used to allow Home Assistant to connect to the amp.
On initial startup, the component appears to initially load, but then fails due to:
Unsupported operand type(s) for /: 'Nonetype' and 'float'
and none of the individual media_player entity_ids are loaded.
This component last worked in version 39.3 with the same set up and configuration.
I’ve pasted the interesting bits from the log file below. Has anyone seen the same issue or have any suggestions to get it back up and running?
Thanks!
17-04-10 12:02:23 INFO (Thread-1) [russound.russound] Successfully connected to Russound on 10.99.1.87:6271
17-04-10 12:02:25 WARNING (Thread-8) [russound.russound] Error obtaining Russound power state for controller 1 and zone 1.
17-04-10 12:02:25 WARNING (Thread-4) [russound.russound] Error obtaining Russound power state for controller 1 and zone 3.
17-04-10 12:02:25 WARNING (Thread-8) [russound.russound] Did not receive expected response message from Russound controller.
17-04-10 12:02:25 WARNING (Thread-4) [russound.russound] Did not receive expected response message from Russound controller.
17-04-10 12:02:25 WARNING (Thread-5) [russound.russound] Error obtaining Russound power state for controller 1 and zone 2.
17-04-10 12:02:25 WARNING (Thread-7) [russound.russound] Error obtaining Russound power state for controller 1 and zone 4.
17-04-10 12:02:25 WARNING (Thread-5) [russound.russound] Did not receive expected response message from Russound controller.
17-04-10 12:02:25 WARNING (Thread-7) [russound.russound] Did not receive expected response message from Russound controller.
17-04-10 12:02:25 WARNING (Thread-11) [russound.russound] Error obtaining Russound power state for controller 1 and zone 5.
17-04-10 12:02:25 WARNING (Thread-11) [russound.russound] Did not receive expected response message from Russound controller.
17-04-10 12:02:25 WARNING (Thread-12) [russound.russound] Error obtaining Russound power state for controller 1 and zone 6.
17-04-10 12:02:25 WARNING (Thread-12) [russound.russound] Did not receive expected response message from Russound controller.
17-04-10 12:02:26 WARNING (Thread-8) [russound.russound] Error obtaining Russound power state for controller 1 and zone 1.
17-04-10 12:02:26 WARNING (Thread-8) [russound.russound] Did not receive expected response message from Russound controller.
17-04-10 12:02:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 359, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 189, in async_add_entity
yield from self.hass.loop.run_in_executor(None, entity.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/russound_rnet.py", line 95, in update
self._volume = self._russ.get_volume('1', self._zone_id) / 100.0
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
17-04-10 12:02:26 WARNING (Thread-4) [russound.russound] Error obtaining Russound power state for controller 1 and zone 3.
17-04-10 12:02:26 WARNING (Thread-4) [russound.russound] Did not receive expected response message from Russound controller.
17-04-10 12:02:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 359, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 189, in async_add_entity
yield from self.hass.loop.run_in_executor(None, entity.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/russound_rnet.py", line 95, in update
self._volume = self._russ.get_volume('1', self._zone_id) / 100.0
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
17-04-10 12:02:26 WARNING (Thread-12) [russound.russound] Error obtaining Russound power state for controller 1 and zone 6.
17-04-10 12:02:26 WARNING (Thread-12) [russound.russound] Did not receive expected response message from Russound controller.
17-04-10 12:02:26 WARNING (Thread-11) [russound.russound] Error obtaining Russound power state for controller 1 and zone 5.
17-04-10 12:02:26 WARNING (Thread-5) [russound.russound] Error obtaining Russound power state for controller 1 and zone 2.
17-04-10 12:02:26 WARNING (Thread-11) [russound.russound] Did not receive expected response message from Russound controller.
17-04-10 12:02:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 359, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 189, in async_add_entity
yield from self.hass.loop.run_in_executor(None, entity.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/russound_rnet.py", line 95, in update
self._volume = self._russ.get_volume('1', self._zone_id) / 100.0
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
17-04-10 12:02:26 WARNING (Thread-5) [russound.russound] Did not receive expected response message from Russound controller.
17-04-10 12:02:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 359, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 189, in async_add_entity
yield from self.hass.loop.run_in_executor(None, entity.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/russound_rnet.py", line 95, in update
self._volume = self._russ.get_volume('1', self._zone_id) / 100.0
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
17-04-10 12:02:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 359, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 189, in async_add_entity
yield from self.hass.loop.run_in_executor(None, entity.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/russound_rnet.py", line 95, in update
self._volume = self._russ.get_volume('1', self._zone_id) / 100.0
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
17-04-10 12:02:26 WARNING (Thread-7) [russound.russound] Error obtaining Russound power state for controller 1 and zone 4.
17-04-10 12:02:26 WARNING (Thread-7) [russound.russound] Did not receive expected response message from Russound controller.
17-04-10 12:02:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 359, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 189, in async_add_entity
yield from self.hass.loop.run_in_executor(None, entity.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/russound_rnet.py", line 104, in update
self._source = self._sources[index]
TypeError: list indices must be integers, not NoneType