I already make the hack, and I also program the SonOff RF using Platformio
and my SOnOff RF is work
If I understand you “construct” e new ESPilight file that include nexus protocol, right ?
What I need is that ESPilight file that you have modified and insert it in
the OMG source in order to compile it and write it in my SonOff.
Is that right ? If yes… can I have it please ?
Personally I have removed all other protocols from protocol_header.h and protocol_init.h and left nexus only.
Second, seems DG-R8H are not very relliable with parameters and some of them were not visible, so I changed PULSE_TOLERANCE from 100 to 200 in nexus.c to make them work.
Well… I think that everything that I do, I do it well.
I mean I download all files you linked and put all in this place
I make the env, compiled and write it on the SonOff RF.
Now it’s work for my other 433Mhz remote but I don’t see nothing from R8H.
The unique thing that I see and it’s something new string is this one:
N: Received json : {“message”:{“id”:5,“state”:“off”},“protocol”:“selectremote”,“length”:“5”,“value”:“5”,“repeats”:2,“status”:2}
check if perhaps files haven’t been altered during compilation, maybe tweak PULSE_TOLERANCE, for me with 100 I got only one device, with 200 I got all three.
Too far distance? I noticed that Sonoff RF Bridge has very little range at lest for nexus protocol, hardly reaching signal across my flat, while ESP8266 with RX470 have no problems.
N: Received json : {“message”:{“id”:107,“channel”:0,“temperature”:23.4,“humidity”:75,“battery”:1},“protocol”:“nexus”,“length”:“107”,“value”:“107”,“repeats”:2,“status”:2}
Great man !!!
Thank you so so much
Now… sorry if I take advantage of your kindness…
Witch RF module is best for this type of work and is nder 10$ please ?
Do you think RFM69HCW is ok ?
Thanks again
For the transceiver: can’t tell but general advise: whatever you pick make sure you will find strong support, maybe search forums starting from this one
I’m using probably the most popular, well known and cheap RX470 Superheterodyne 433MHz, cost single $, frequently you can get in par with transmitter still far below 10$
update from developer of ESPiLight:
ESPiLight v0.17.0 is now released and should have working nexus support. The version will soon be available in the Arduino library manager.
Greate news… thanks a lot.
Now I just study the OMG on NodeMCU with some RF module cause the SonOff is not so sensible.
The R8H work only at about 6-8 Mt with a 10 cm Wall between
Thanks a lot Florian,
I just downloaded the dev code and compile with “default_envs = esp32dev-pilight”
this time I used a just arrived STX882 module and use it with ESP32 (like marekorok tell me)
I still test it but now it’s work at 15 Mt with 2 wall between
It’s work great
I got my Sonoff RF Bridge working with Digoo DG-R8H… Which is great!
It also get the door switch sensors information correctly…
But, it do not get the motion sensor information for ([433Mhz CT60 SONOFF PIR2 sensor]) which working fine with the original Sonoff RF Bridge flashed with Tasmota… Did I missed something in my setting?
My goal is to get the info from all my RF 433 device using only one Bridge…
I have a number of PIR (Sonoff and Digoo) and I have to use two Sonoff RF bridges (Tasmota+Portisch / OMG+Pilight) in order to get all signals. Some are received by both, some on one or the other… Maybe I’ll just order a few extra units compatible with Pilight and get rid of the Portisch unit; meanwhile it provides some redundancy.
BTW, I haven’t upgraded to the latest Pilight yet, other than the R8H, any other protocols added?