ratgdo / mqtt-ratgdo

ratgdo via mqtt
GNU General Public License v2.0
79 stars 18 forks source link

How are collisions meant to be managed by secplus1? #16

Closed p-jean closed 10 months ago

p-jean commented 10 months ago

How are collisions meant to be managed on the shared GDO “bus”? Avoided, detected, corrected, etc.

Assuming that there is a GDO, a couple of “buttons”, and a RATGDO, how do they keep from colliding transmissions, or how do they recover?

From the code, it appears that RATGDO transmits a fixed amount of time after the most recently received command (from the GDO?). Presumably the GDO transmits regularly, and the RATGDO tries to transmit between the GDO output?

Pardon me if this is a FAQ, but I haven’t seen it discussed anywhere else.

p-jean commented 10 months ago

I think I can answer my own question: 1) Wall panel transmits on a schedule 2) GDO replies 3) Wall panel is able to interleave transmissions