puuu / ESPiLight

ESPiLight - pilight 433.92 MHz protocols library for Arduino
GNU General Public License v3.0
110 stars 41 forks source link

wrong protokoll selection? #46

Closed ansim58 closed 4 years ago

ansim58 commented 4 years ago

Hi, i want to read signals from a rainmeter:

ansim58 commented 4 years ago

Hi! Nobody has any idea??? Is it possible to determine the protokill to be used from ESPiLight? Thank you all! Andreas

puuu commented 4 years ago

ESPiLight uses all activated (default: all available) protocols to parse the rf messages. If the rf message can be analyzed in some way (e.g. pulse lengths or number of pulses, see validate() of the respective protocol implementation) using one or more protocols, then the callback function is called with these results (if several protocols match, then the callback function is called multiple times). The user is asked to recognize which is a meaningful protocol.

In your case, only the "alecto_wsd17" protocol parsed the RF message, but as you noted, it is not the correct one.

Your rf message has a raw length of 74 pulses, but tfa requires at least 76 pulses.

For new protocols please report directly to pilight.