Page 1 of 1

How to recover removed Node from Hardware setup (MySensors)?

Posted: Monday 28 December 2020 7:36
by gryzli133
Dear all, I wanted to test something. I had issue with grouping wrong HUM and TEMP sensors (multiple sensors on one node). Then I reorganize it and wanted to check if this is going to be better. To be sure any old stuff will not affect new changes I decide to go to hardware, select setup on the gateway then select the NODE and click delete. Since that I cannot recover that node. I have all Nodes with fix ID (huge smart house system with hundreds of devices - to keep it clean and well documented I decide to give fix numbers) - this is why I don't want to use other ID.

Re: How to recover removed Node from Hardware setup (MySensors)?

Posted: Monday 28 December 2020 21:24
by BitFlipper
Had exactly the same problem. It failed here, because Domoticz' "device discovery mode" didn't coincide with MySensorsGW's "New-Announcement".

For me this worked: In the domoticz UI, click on Setup / Settings. Scroll down to "Hardware/devices", switch on "Accept new Hardware Devices", click on "Apply Settings" in the top right corner. While domoticz is in "device discovery mode", power cycle the sensor so that it is gets announced by MySensorsGW to domoticz. You can see this announcement in Domoticz's log, i.e.
2020-12-28 20:51:17.485 Status: MySensors: Node: 2, Sketch Name: TempHumFeel
2020-12-28 20:51:17.485 Status: MySensors: Node: 2, Sketch Version: 2.2
After that, the node was listed again under "Setup / Hardware / mySensorsGW-Setup / Node" and also under "Setup / Devices / Not Used". Don't forget to stop "device discovery mode"!

Re: How to recover removed Node from Hardware setup (MySensors)?

Posted: Wednesday 30 December 2020 17:51
by gryzli133
I was trying your solution - I see new devices in LOG but not in the hardware...

Re: How to recover removed Node from Hardware setup (MySensors)?

Posted: Monday 25 January 2021 17:44
by gryzli133
I was searching in Domoticz DB and could not find any table with "Deleted" MySensors nodes... When pressing delete node, is an action happening on Domoticz side or in MySensors Gateway?