Closed Prohability closed 5 years ago
Hi,
I'm trying to get it to work, but always end up with the following errors in the log
`2018-05-28 21:42:37.073 Error: Expected: myVar = Domoticz.Device(Name="myDevice", Unit=0, TypeName="", Type=0, Subtype=0, Switchtype=0, Image=0, Options={}, Used=1)
2018-05-28 21:42:37.073 Error: (Flower) 'CDevice_init' failed 'TypeError':'an integer is required (got type str)'.
2018-05-28 21:42:37.073 Error: Device creation failed, Device object is not associated with a plugin.
2018-05-28 21:42:42.406 Error: (Flower) 'onStart' failed 'KeyError'.
2018-05-28 21:42:42.406 Error: (Flower) ----> Line 237 in /home/proha/domoticz/plugins/Mi_Flower_mate_plugin/plugin.py, function onStart
2018-05-28 21:42:42.406 Error: (Flower) ----> Line 67 in /home/proha/domoticz/plugins/Mi_Flower_mate_plugin/plugin.py, function onStart
2018-05-28 21:42:42.406 Error: (Flower) ----> Line 229 in /home/proha/domoticz/plugins/Mi_Flower_mate_plugin/plugin.py, function floraScan
2018-05-28 21:42:42.406 Error: (Flower) ----> Line 126 in /home/proha/domoticz/plugins/Mi_Flower_mate_plugin/plugin.py, function createSensors`
I'm running Domoticz Version: 3.9527, Debian 8. Any idea what could be wrong? I can't seem to add the flora either automaticly or manually.
I accidentally created a bug today.
Ah! Just downloaded the new version, it's working fine now. Thanks alot! :)
Hi,
I'm trying to get it to work, but always end up with the following errors in the log
`2018-05-28 21:42:37.073 Error: Expected: myVar = Domoticz.Device(Name="myDevice", Unit=0, TypeName="", Type=0, Subtype=0, Switchtype=0, Image=0, Options={}, Used=1)
2018-05-28 21:42:37.073 Error: (Flower) 'CDevice_init' failed 'TypeError':'an integer is required (got type str)'.
2018-05-28 21:42:37.073 Error: Device creation failed, Device object is not associated with a plugin.
2018-05-28 21:42:42.406 Error: (Flower) 'onStart' failed 'KeyError'.
2018-05-28 21:42:42.406 Error: (Flower) ----> Line 237 in /home/proha/domoticz/plugins/Mi_Flower_mate_plugin/plugin.py, function onStart
2018-05-28 21:42:42.406 Error: (Flower) ----> Line 67 in /home/proha/domoticz/plugins/Mi_Flower_mate_plugin/plugin.py, function onStart
2018-05-28 21:42:42.406 Error: (Flower) ----> Line 229 in /home/proha/domoticz/plugins/Mi_Flower_mate_plugin/plugin.py, function floraScan
2018-05-28 21:42:42.406 Error: (Flower) ----> Line 126 in /home/proha/domoticz/plugins/Mi_Flower_mate_plugin/plugin.py, function createSensors`
I'm running Domoticz Version: 3.9527, Debian 8. Any idea what could be wrong? I can't seem to add the flora either automaticly or manually.