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.
Deregister and re-registering a MySensors node?
Moderators: leecollings, remb0
-
- 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?
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.
-
- 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?
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)
It also forces Domoticz to connect back to wifi gateways when it stops doing so (frecuent on beta v3)
Who is online
Users browsing this forum: No registered users and 1 guest