Deregister and re-registering a MySensors node?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Sergio
Posts: 39
Joined: Friday 12 December 2014 13:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9639
Location: Spain
Contact:

Deregister and re-registering a MySensors node?

Post 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.
Rolo
Posts: 52
Joined: Sunday 27 December 2015 19:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: The Netherlands
Contact:

Re: Deregister and re-registering a MySensors node?

Post 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.
Sergio
Posts: 39
Joined: Friday 12 December 2014 13:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9639
Location: Spain
Contact:

Re: Deregister and re-registering a MySensors node?

Post 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)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest