iDetect: KeyError: 6
Posted: Sunday 19 May 2024 10:59
Hi, my PROXIMUS modem lost all static addresses again after a power failure so I tried to add a device to iDetect with a MAC-address but I get errors on this device, when I use the IP-address it works.
Tags to monitor: …, PLAY5=00:0E:58:56:3C:D4
2024-05-19 10:01:45.903 Error: iDetect: Device creation failed, Domoticz settings prevent accepting new devices.
2024-05-19 10:01:45.903 Error: iDetect: Call to function 'onStart' failed, exception details:
2024-05-19 10:01:45.908 Error: iDetect: Traceback (most recent call last):
2024-05-19 10:01:45.908 Error: iDetect: File "/home/user/domoticz/plugins/iDetect/plugin.py", line 427, in onStart
2024-05-19 10:01:45.908 Error: iDetect: _plugin.onStart()
2024-05-19 10:01:45.908 Error: iDetect: File "/home/user/domoticz/plugins/iDetect/plugin.py", line 291, in onStart
2024-05-19 10:01:45.908 Error: iDetect: self.tags_to_monitor[clean_tag_id]=tag_device(clean_tag_id, clean_name, tag_ignore, tag_grace)
2024-05-19 10:01:45.908 Error: iDetect: File "/home/user/domoticz/plugins/iDetect/plugin.py", line 104, in __init__
2024-05-19 10:01:45.908 Error: iDetect: self.present = get_domoticz_status(self.domoticz_unit)
2024-05-19 10:01:45.908 Error: iDetect: File "/home/user/domoticz/plugins/iDetect/plugin.py", line 181, in get_domoticz_status
2024-05-19 10:01:45.908 Error: iDetect: if Devices[unit].nValue == True:
2024-05-19 10:01:45.908 Error: iDetect: KeyError: 6
Every 10 s following is added to the log:
2024-05-19 10:37:30.076 Status: iDetect: Skip this hearbeat ... system is still preparing
(sic)
Other devices are found by their IP-addresses. Anybody who knows what is wrong with this tag?
I'm running domoticz on a raspberrypi 3B
Regards, Ed
Tags to monitor: …, PLAY5=00:0E:58:56:3C:D4
2024-05-19 10:01:45.903 Error: iDetect: Device creation failed, Domoticz settings prevent accepting new devices.
2024-05-19 10:01:45.903 Error: iDetect: Call to function 'onStart' failed, exception details:
2024-05-19 10:01:45.908 Error: iDetect: Traceback (most recent call last):
2024-05-19 10:01:45.908 Error: iDetect: File "/home/user/domoticz/plugins/iDetect/plugin.py", line 427, in onStart
2024-05-19 10:01:45.908 Error: iDetect: _plugin.onStart()
2024-05-19 10:01:45.908 Error: iDetect: File "/home/user/domoticz/plugins/iDetect/plugin.py", line 291, in onStart
2024-05-19 10:01:45.908 Error: iDetect: self.tags_to_monitor[clean_tag_id]=tag_device(clean_tag_id, clean_name, tag_ignore, tag_grace)
2024-05-19 10:01:45.908 Error: iDetect: File "/home/user/domoticz/plugins/iDetect/plugin.py", line 104, in __init__
2024-05-19 10:01:45.908 Error: iDetect: self.present = get_domoticz_status(self.domoticz_unit)
2024-05-19 10:01:45.908 Error: iDetect: File "/home/user/domoticz/plugins/iDetect/plugin.py", line 181, in get_domoticz_status
2024-05-19 10:01:45.908 Error: iDetect: if Devices[unit].nValue == True:
2024-05-19 10:01:45.908 Error: iDetect: KeyError: 6
Every 10 s following is added to the log:
2024-05-19 10:37:30.076 Status: iDetect: Skip this hearbeat ... system is still preparing
(sic)
Other devices are found by their IP-addresses. Anybody who knows what is wrong with this tag?
I'm running domoticz on a raspberrypi 3B
Regards, Ed