puuu/MQTT433gateway

How to debug decoding

elbow opened this issue · 1 comments

elbow commented

Hi,

I installed MQTT433gateway with an RXB6 receiver. Once I figured out that the data pin was mislabeled on my module I am getting something out of it.

But I'm not sure how to go about debugging reception.

I have some 4 button 433.92MHz remotes - they are supposed to be Sonoff compatible.

When I press buttons on the one remote the log shows:

rf signal received: {"id":"B15","unit":47,"state":"off"} with protocol rev2_switch deviceID=B15
rf signal received: {"id":"B15","unit":47,"state":"off"} with protocol rev2_switch deviceID=B15
(etc).

It doesn't matter which button I press - the display is the same. How do I distinguish the buttons?

I also have some 433.92MHz PIRs, but the gateway doesn't show anything when they go off.

So how do I get started with debugging?

Thanks,
Steve

puuu commented

For debugging, you can enable the protocolRaw debug flag in the web frontend, this will show the received raw signals.

But I am afraid that your remote may not be supported and the rev2_switch protocol is only similar to yours.