Page 1 of 1

Deregister and re-registering a MySensors node?

Posted: Sunday 31 July 2016 21:33
by Sergio
I'm working on a sensor. By the nature of this multi-switch node, that changes the number of child elements based on configuration, I'm having to remove it from Domoticz, every time I want to try a new sketch.
What I done is entering the Mysensors Node list and deleting the node. Then I reset the sensors eeprom, upload the sketch and debug again.

The problems I have is that if the node Id adquisition is set to automatic, Domoticz doesn't provide one to the gateway when connecting the node.
Then, if the id is manually set, it correctly pairs with the gateway, the sensors appear at the devices list, but the node doesn't appear at the gateway node's list.
How I have to correctly do this procedure?
Thanks.

Re: Deregister and re-registering a MySensors node?

Posted: Sunday 31 July 2016 22:19
by Rolo
Had the same issues with mysensors. When building and testing I alwas reboot the domoticz pi after deleting nodes. Only then the new sensor properties were correctly registrered in domoticz.

Re: Deregister and re-registering a MySensors node?

Posted: Sunday 07 August 2016 17:00
by Sergio
Thanks Rolo. I found that updating the gateway configuration reloads it without shutting down Domoticz.
It also forces Domoticz to connect back to wifi gateways when it stops doing so (frecuent on beta v3)