Github Boards Devices Community Docs Blog

Sonoff RF Bridge 433 + Digoo DG-R8H 433MHz

Here is an evironment description that you should add to your .ini file:

[env:rfbridge-pilight]
platform = ${com.esp8266_platform}
board = esp8285
lib_deps =
  ${com-esp.lib_deps}
  ${libraries.esppilight}
  ${libraries.esp8266_mdns}
build_flags =
  ${com-esp.build_flags}
  '-DZgatewayPilight="Pilight"'
  '-DGateway_Name="OpenMQTTGateway_SRFB_PIL"'
board_build.flash_mode = dout

Once done you can add also the call at the begining of the ini file:
default_envs = rfbridge-pilight

These are the instructions for Arduino IDE not for platformio.

At final, and to come back to this thread subject I don’t know yet if I’m going to add the R8H to Pilight or RCSwitch or with another way. So you may load Pilight but you would have to reload a different version later.

This is not a problem… the first time is more difficult :slight_smile:

Thanks a lot for the piece of source code.
I modified, build and upload the code… and everything was ok until I test it.
But I think my Sonoff RF now it’s broke.
Cause is not work anymore. Not MQTT topics, no WiFi link (cause no ping)
No WiFi manager… nothing.
I’ll need more time to test and understand what’s wrong.
And if I can’t make it work I think I’ll make a new OMG using NodeMcu (cause I have some boards at home)

In your opinion… is better SonoffRF or NodeMCU + radio please ?
And in the mean time… witch radio hardware is best quality in order to linked to the NodeMcu please ?
I’ll buy it and wait to arrive the shipping.

Thanks a lot again
Denis

:frowning_face:
If you are able to upload the ESP is still alive, did you try to erase the flash memory?

NodeMCU are easier to upload and update but you will need a box.
RFBridge as a box but is limited by its internal decoder if you don’t modify it.

You can take the superheterodyne ones linked below (affiliated links) :

IT’S WORK !!! :slight_smile:
…it was “pio run --target erase”

Now in my MQTT broker I receive:
{"message":{"unit":65034,"battery":1,"state":"closed"},"protocol":"iwds07","length":"","repeats":2,"status":2}
…from a remote that I have at home alarm
I receive all the dor sensor, and I received also in Node-Red node test :slight_smile:
So it’s like it’s work :slight_smile:

The olnly think that I don’t receive is the car gate remote… and I know it’s 433mHz
…but is not the right place here in this thread.

So now I’ll wait that R8H will arrive and I think then I will watch this thread in order
to try to make it work

Thanks a lot for all help… and the future one :slight_smile:

Denis

Great!

It is normal, most of the time car gate use a rolling code system (at each press the code is different) to avoid hacking. It should feel you safer also :wink:

Hello guys

I have 2 Digoo DG-R8H. I can get the proper information using nexus433 on RaspberryPi…
Client mosqsub|30542-paul-Insp received PUBLISH (d0, q0, r0, m0, ‘nexus433/sensor/da01/state’, … (72 bytes))
nexus433/sensor/da01/state { “temperature”: 22.7, “humidity”: 75, “battery”: “100”, “quality”: 66 }

But as denisj, I would prefer to use Open MQTT Gateway with Sonoff RF Bridge.

So, I followed your the instructions in this tread (thanks a lot) and I got my RF Bridge working receiving door sensors but I am not getting the Digoo DG-R8H information…

Did I missed something?
1technophile asking to test code on an esp8266 (PrologueDecoder)
Is this something I should use?

Thanks!

Hi Paul,
1tecnophile promise me that when will find some time in order to test OMG with DG-R8H,
and develope it, he will tell us how to update the firmware of RF Bridge.

Maybe we can help him… but I’m Cobol programmer and I don’t know how to make test.

Thanks
Denis

1 Like

Hi Denis,

I will be please to help also!
I am DBA and doing a lot of Perl programming for automation…
I am looking forward to learn Python.

The code that 1tecnophile putted for testing, where should it be putted?

Any news? I think the R8S is already working on OMG with PiLight but the the R8H :confused:

On my todo for this summer

1 Like

Watching =)
I have the hacked Sonoff +OMG working with the R8S but also have some R8H waiting for OMG compatibility.
I can provide testing assistance.
Enjoy the summer and keep us posted. Cheers.

Sorry for my stupid question … I so e new release mail…
so it’s there also the new version
in order to make work the DIGOO R8H please ?
Thanks a lot.

Not yet, we will need to have it integrated into ESPilight first

Ok … I’ll wait the new ESPilight version
Thanks a lot.

ESPilight hasn’t been updated for last 13 months, hope it’s not abandoned :frowning:

No no… technophile tell us that will update it… so it’s like a promise :slight_smile:

2 Likes

In the worst case I will fork it and do the update…

1 Like

Looks like it’s close, magic is happening as we speak :champagne:

2 Likes

Thanks a lot for the greate news :slight_smile:

But… what happen now please ? I mean What we can do in order to make the R8H work please ?

Thanks again
Denis

Now we wait… work in progress

1 Like