I have installed the new SynologyDSM Sensor but I cannot see any related entries under Developer Tools > States. I am using DSM 5.0. This is what I have in my configuration file:
16-11-06 12:47:24 homeassistant.core: BusHandler:Exception doing job
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/homeassistant/core.py", line 1210, in job_handler
func(*args)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/synologydsm.py", line 112, in run_setup
for volume in volumes:
TypeError: 'NoneType' object is not iterable
16-11-09 18:51:05 ERROR (ThreadPool Worker 5) [homeassistant.core] BusHandler:Exception doing job
Traceback (most recent call last):
File “/usr/src/app/homeassistant/core.py”, line 1210, in job_handler
func(*args)
File “/usr/src/app/homeassistant/components/sensor/synologydsm.py”, line 112, in run_setup
for volume in volumes:
TypeError: ‘NoneType’ object is not iterable
My Synology Sensor is working. I didn’t specify a port and the username I used has admin rights. Not sure if this makes a difference but I’m using DSM 6.0.
Same error for me…
16-11-09 18:51:05 ERROR (ThreadPool Worker 5) [homeassistant.core] BusHandler:Exception doing job
Traceback (most recent call last):
File “/usr/src/app/homeassistant/core.py”, line 1210, in job_handler
func(*args)
File “/usr/src/app/homeassistant/components/sensor/synologydsm.py”, line 112, in run_setup
for volume in volumes:
TypeError: ‘NoneType’ object is not iterable
I have sensor working but cannot work out how to have 2 NAS’s monitored. Basically when it creates the sensors, there is nothing in the sensor name that differentiates 1 NAS to another. For example I have sensor.volume_used_volume_1. If I try and setup another NAS it will just be the same. Am I doing something wrong? Can anyone shed some light on this because it almost seems like it works with 1 NAS only.
Upgraded to 0.34.3 from 0.34.0 and Synology sensors are gone.
Actually just saw log.
16-12-06 22:40:30 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
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/sensor/synologydsm.py", line 110, in run_setup
volumes = api.storage().volumes
TypeError: 'SynoStorage' object is not callable
Working here… make sure you configured the right port on in HASS as if you changed your default port on the synology you need to configure that in HASS