i think i finally get it.
It is impossible... well the only way to let nodes communicate with each other is when a gateway is available (directly or trough other nodes) when the node is starting up.
This forum discussion is explaining me the most..
a solution may be.. transform the node that is always on to an gateway. And use antoher channel.. Sidenode; then you can't tell the controller what the status is.
Is there realy no way that this can supported? Node to node comunication without the need of an gateway inside the network? Skipping the registration and just send the message around.
perhaps i will dive into the source one day and change the registration behavior.
Thanks anyway for the help and the very fast responding.
Thanks for the feedback. If you have comments, send me an emeil. As for multiplatform, I'm going to rewrite the code in ASP.NET5, once it exits beta status.Theoretically, this will make it possible to run the system on Linux and Mac. I wrote code with the future in mind.
I don't know why but now OTA works better; I still get quite some NACKs on the gateway but at least most of the times the OTA is successful even with signing enabled. With ACK enabled the transfer speed is at least 4/5 times slower
@hoegaarden_bier said:
Question:
When my sensor node does a 'requestTime', what time (epoch) does it send back?
Is this UTC, localtime????
will send local server time with local timezone.
https://github.com/mycontroller-org/mycontroller/blob/development/src/main/java/org/mycontroller/standalone/mysensors/MySensorsMessageEngine.java#L211
If anyone is interested in trying out the implementation using UDP packets sent to the subnet broadcast address, check out my pull request https://github.com/mysensors/Arduino/pull/66