Any specific hints how to do that with this hardware; I will try to get this working with a few pro-mini's as relay, I might have missed this on the educational pages here, but I'm wondering how to start the network / do the roll-out.
"The first time a new sensor boots up" section tells me something about that it will find it's way home (which is great, must have cost some time to get this programmed I guess), but my challenge at the moment is to find out how to get this done effectively. Should I start with the gateway and see how far I can get with a single node and replace it at that position with a repaeter node, or can I simply place some repeaters and check with a serial monitor that they contact the gateway?
Does this help:
I agree with you that the serial messages are not perfectly documented, but realise that this site has been made (as far as I know) by a bunch of people that share their 'love' for home automation.....
Thank you @scalz! That did the trick. Finally I can debug the code with readable serial feedback.
Ok @AWI so the example code is probably in need for some adjustments. Its kinda hard for a beginner like myself to learn the basics if also the example code suffers from questionable functionality. Or perhaps the functionality is ok but the code by itself is not clear enough to educate the masses.
I'm still having trouble understanding whats really happening when using the sleep() call. In my newest revision I'm not passing any interrupt conditions other than a time variable but still its obvious that the sleep is interrupted by the interrupt defined in the setup section. And as such, perhaps also some timer functionality is running while in a MySensors sleep.
Perhaps the API description is in need for some additional clarification.
Note: I've also deleted the attach and detach calls from the loop() section as this is probably handled by the sleep function (or other hidden code).