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).
@Jason-Brunk small value resistors can do the trick but you better try two silicon diodes 1N4001 or similar in series with the power line. Each diode give you around.0.7 volt drop.
@scalz said in HALO : ESP32 multi transport GW/Bridge for Mysensors:
the webapp was great, but I converted it to native crossplatform app for better versatility&perf, so I can use one app for my devices, like Ethernet for HALO etc, or Serial for my other Janus gw dongle, bluetooth..
To be honest, I've not updated anything yet for a few reasons, like very little spare time for a public release + support for such "big" project. (easier to handle local projects).
Sorry, still no eta for the moment..
It is clear that there is not enough time. But this project can become popular. That's what's missing MySensors. ...This void must be filled.
Does this help:
http://forum.mysensors.org/topic/748/manual-assigning-node-id-s-for-network-with-repeaters
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.....
boozz