madmartin / Jarolift_MQTT

Controlling Jarolift TDEF 433MHZ radio shutters via ESP8266 and CC1101 Transceiver Module in asynchronous mode
GNU General Public License v3.0
67 stars 28 forks source link

Increase reliability - an idea #56

Open blissi opened 1 year ago

blissi commented 1 year ago

Hi, I have an idea how reliability could be improved, but first wanted to ask about your opinion: Currently there is a channel prefix + the counter for all of the 16 channels.

If for some reason another shutter doesn't receive a consecutive number of messages, the counter on the shutter and that of the Jarolift Dongle differ too much and the shutter won't react to the Dongle anymore.

To make this more reliable, we could have each channel have a separate channel prefix + counter. So if you open for example the shutter for the kitchen, the shutter in the living room would ignore it because it has been tought with another channel prefix. As a side effect, the dongle wouldn't be limited to 16 channels anymore.

What do you think, would that be a feasible approach? Actually I don't have an idea about how much the counter can differ until there is a problem - if this is a relatively high number, then this change would have no real benefit. If your shutter doesn't receive for example 20 consecutive messages, you definately should build another dongle that is in the reach of the shutter.