couin3 / RFLink

RFLink for ESP, with MQTT client
Other
72 stars 37 forks source link

Fix Byron doorbell detection and processing #67

Open andyboeh opened 3 years ago

andyboeh commented 3 years ago

I've got two Heidemann HX wireless doorbells which use the Byron SX protocol. I had to apply a few fixes to make them work (ESP8266).

The SIGNAL_END_TIMEOUT_US had to be increased because the pause between signal repetitions is slightly longer than 5000us. I hope this doesn't have negative effects on other plugins - at least the NewKaku and Mebus decoders still work, as they are the only two that I can test with.

I changed the reported text to "Byron" instead of "Byron SX" to align it to the closed RFLink report.

I receive the following raw signal:

20;XX;DEBUG;Pulses=291;Pulses(uSec)=960,224,736,256,704,576,384,256,736,576,352,288,704,256,704,576,384,576,384,576,352,288,672,5056,352,640,352,288,672,288,704,576,384,256,704,640,352,256,704,288,704,576,352,640,352,640,352,288,672,5056,352,640,352,288,672,288,704,640,352,256,704,640,352,288,672,288,704,640,352,576,352,640,352,288,672,5056,352,640,352,288,672,288,704,576,384,256,704,640,352,256,704,288,704,576,352,640,352,640,352,288,672,5056,352,640,352,288,672,288,704,640,352,288,672,640,352,288,672,288,704,640,352,576,352,640,352,288,672,5056,352,640,352,288,672,288,704,640,320,288,704,640,352,288,672,288,704,640,320,640,352,640,352,288,672,5088,320,672,288,352,640,320,640,672,320,320,672,672,288,352,640,320,640,672,320,672,320,672,320,320,576,5184,288,672,320,320,672,320,640,672,320,320,640,672,320,320,672,288,672,672,320,640,352,640,320,320,640,5088,320,672,320,320,672,288,672,672,320,320,640,672,320,320,672,288,672,672,320,640,352,640,320,320,640,5120,320,640,320,320,672,288,672,672,320,320,672,640,320,320,672,288,672,672,320,672,320,640,352,288,640,5088,352,640,320,320,672,288,672,672,320,320,672,640,320,320,672,288,672,672,320,640,352,640,352,288,640,5120,320,640,352,288,672,320,672;