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 -
eventsystem: problem writing file
Domoticz • 27 Feb 2022, 00:11 • Feliw05 27 Feb 2022, 17:50 -
S_GAS, send and request problem
Domoticz • 28 Nov 2024, 05:38 • Marcin 28 Nov 2024, 05:38 -
Roller shutter(s_cover) on Domoticz
Domoticz • 5 Aug 2019, 08:43 • Tmaster 21 Jun 2022, 20:48 -
domoticz tables and mysensors
Domoticz • 7 Feb 2023, 20:55 • ebioz 7 Feb 2023, 20:55 -
Trying to automate in Domoticz
Domoticz • 25 Feb 2022, 23:13 • Feliw05 28 Feb 2022, 03:39