I posted this first in the MySensors forum, but was advised to post here.
For background information, I use the latest v.2 beta version of MySensors, and latest development version of Domoticz. The 3 nodes that I have are 100% identical, both HW and SW. I use a serial gateway based on the RFM69 radio.
Here is the situation - when I add my 3 identical Door Switches, they are created randomly with either 1 or 2 children. All children are created with a child ID of 0 (S_LOCK ). But some of them are also created with a child ID of 255 (S_ARDUINO_NODE ).
What is the normal behaviour – 1 or 2 children created?
Below is how I do the presentation. Is there anything wrong here, should I reverse the presentation so I send the sketch info before the present? Or should there be some 'delays' to give Domoticz time to create the nodes?
Code: Select all
void presentation() {
present(CHILD_ID, S_LOCK);
sendSketchInfo("Door switch", "1.0");
}
Lemme