Removed childs not being recognised again
-
I have a problematic sensor running PIR/Voltage/Temp/Hum
I uploaded some different code (PIR/Voltage Only) to test but it messed up the childs in Domoticz so I deleted them
Now when I restart the node they do not get re-recognized.I know that deleting the entire node causes Domoticz to forget it forever. Is this the same with child objects?
I will restore from backup for now.
-
As you have already (at least partly) guessed, the Domoticz delete feature really means "remove all past data and ignore all future data". In a way that makes sense. If the delete feature only removed past data, any sensor sending new data would quickly show up again which might not be what people expect when they delete sensor (or child).
-
Thanks for confirming this.
I will have to be careful when swapping code for testing purposes. I restored the Domoticz database and all seems back to how it was.
I will probably create another post for the actual issue I am having with the node....will try and figure it out myself first. something not right with my code as about 15 unknown childs have been created and the node has high power consumption, like it is restarting constantly. I have ruled out hardware.
-
Restarting domoticz might help next time, when you have original code running on that node again.
Also some PIR cause radio interference, if i remember correctly, then hc sr501 should be ok.
Suggested Topics
-
Vera Gateway Versions
Troubleshooting • 29 Mar 2014, 19:59 • karenbobiv 30 Mar 2014, 07:20 -
Calculate Delta T of two temperature sensors with lua
Domoticz • 5 Oct 2022, 10:06 • Mela 5 Oct 2022, 10:06 -
Blockley in Domoticz-not working correctly. Anyone know how to fix.... ?
Domoticz • 15 Nov 2021, 23:07 • Bren 21 Nov 2021, 18:09 -
domoticz tables and mysensors
Domoticz • 7 Feb 2023, 20:55 • ebioz 7 Feb 2023, 20:55 -
S_GAS, send and request problem
Domoticz • 28 Nov 2024, 05:38 • Marcin 28 Nov 2024, 05:38 -
Questions about an old setup
Domoticz • 4 May 2022, 02:55 • dbemowsk 9 May 2022, 17:30