Synchronizing actions between nodes


  • Hardware Contributor

    I am working on some RGBW controller nodes and I will be using multiple of them to light up different parts of a room. Now I haven't tested it but I guess the delay for commands over the radios might be big enough that you see the differences if you send the same command to all nodes. Beside that there might be other time sensitive cases, it sounds like an interesting topic for me ;)

    So my question: is there a buildin way to synchronize commands between different nodes? Perhaps something like sending a timestamp with every command for execution?!


  • Contest Winner

    @LastSamurai The MySensors message are communicated quit fast i do not think you see a delay in switching.

    It depends of course a bit how fast your HA controller is processing the messages. The MeSensor network should be fast enough.


  • Hardware Contributor

    I recently noticed (again) that my RGBW controllers react quite slow (in noticable, not really slow, ~0,5s delay) to an on/off signal from my domoticz controller. I thought the controller might be too slow, so I tried it directly via a serial message to the gateway; still the same.
    Is this normal or are my sketches or network slower than normal? Using a button and then seeing the result on a different node (light controller) without noticable delay would greatly enhance the user experience for me.
    How is it working for you guys?


  • Hardware Contributor

    Anyone? How fast are your mysensor networks?


  • Mod

    @LastSamurai never measured it, but I notice hardly any delay. Could be half a second though.



  • @LastSamurai
    And what about using broadcast message?
    Each node receives it in exactly same time.


  • Hardware Contributor

    @kimot Mhm how would you do that with domoticz?

    Anyways the main "problem" is the lag between clicking a button and the lights turning on. I mean it works just fine but you are trained from using normal light switches to see instant results, so it's a little annoying. Wanted to be sure that this is normal and not some misconfiguration of my network.


  • Hardware Contributor

    @LastSamurai - are you using the webgui to switch?
    I think its rather quick using a motion detector -> light/relay.
    Using the gui though takes 2-3 sec.


  • Hardware Contributor

    @sundberg84 said in Synchronizing actions between nodes:

    @LastSamurai - are you using the webgui to switch?
    I think its rather quick using a motion detector -> light/relay.
    Using the gui though takes 2-3 sec.

    I am using both, the web ui, and a motion detector node + a rule setup in domoticz using dzVents. For the motion sensor its hard to tell how fast the reaction is though, because I don't know the exact range of it. Perhaps I'll try with a button node next, just for testing purposes.
    PS and the ui isn't that slow. Sometimes it takes a little longer but mostly just ~half a second.


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.