cpainchaud / RFLink32

RFLink for ESP, with MQTT client
Other
118 stars 44 forks source link

Sonoff RF Gateway R2 - How to configure #72

Open jbaumann opened 1 year ago

jbaumann commented 1 year ago

I have a Sonoff RF Gateway R2, which I modified according to the instruction by @schmurtzm.

With his version of RFLink32 the gateway works without problems and produces exactly the data I'm looking for (a Xiron temp sensor).

How do I configure this newer version of RFLink32 so that it does the same (or more)? I've compiled the sonoff_bridge version with PlatformIO and successfully uploaded it. It works, but shows only some switch (probably from another apartment). And while the normal things work, I cannot change the plugins listed on the plugins page (A and C are enabled, and I have no idea how they map to the plugins in the plugins directory).

And thanks for all your work.

yndtrud commented 1 year ago

Hello. I used: 1) https://github.com/schmurtzm/RFLink32-For-Sonoff-RF-Bridge - First release of SONOFF based on pstzh (2) 2) https://github.com/pstzh/RFLink32-Alter - now it is merged with the cpainchaud (3) 3) https://github.com/cpainchaud/RFLink32 - The First And Original Firmware, now fully support for Sonoff Bridge X) I used my own fork of cpainchaud (3) - merged with latest

(1) Old version without bug fixes. Now (april 2023) the pstzh (2) and (3) are the same (merged). Functionality of (1) and (2) and (3) are the same, but bugs fixed in (2) and (3).

You can diff sources and see for yourself.

jbaumann commented 1 year ago

Thank you very much for the pointers. I have now tried the new version in parallel to a second device with the "schmurtzm" version. Both write to MQTT so that I can see which devices are recognized.

This version is able to decode some signals successfully, but only for Auriol devices ("20;10;Auriol;ID=E5;TEMP=00b3;BAT=LOW;").

The "schmurtzm" version at the same time also recognizes Xiron devices ("20;02;Xiron;ID=2001;TEMP=00c0;HUM=31;BAT=OK;CHN=0001;").

Can I somehow configure this new version so that it also recognizes these devices (I actually use Xiron devices)?