I face an error on script. I can not get it run. As you see, ruuning on debug script can read from snmp connected clients but for an unkown reason to me, can not read Name of the idx from domoticz. Any idea?
2016/04/22 18:49:24 DEBUG: MAC address presence:
B0:C5:54:05:69:96
A4:77:33:A8:44:36
94:10:3E:CD:25:C9
EE:22:80:6C:1A:91
B0:C5:54:01:55:3C
B0:C5:54:03:70:67
30:75:12:E4:52:B9
Traceback (most recent call last):
File "/home/pi/Domoticz_Wifi_presence_checker/wifi_presence_check.py", line 446, in
main()
File "/home/pi/Domoticz_Wifi_presence_checker/wifi_presence_check.py", line 410, in main
switch_name_device = d.get_device(switch_idx)['Name']
TypeError: 'NoneType' object has no attribute 'getitem'
I face an error on script. I can not get it run. As you see, ruuning on debug script can read from snmp connected clients but for an unkown reason to me, can not read Name of the idx from domoticz. Any idea?