Ok… bu in this case I don’t understand how platform.io understand that I want PiLight
I program it with default_envs = rfbridge and now I can see in my MQTT broker some topics:
home/OpenMQTTGateway_SRFB/SYStoMQTT
home/OpenMQTTGateway_SRFB/LWT
home/OpenMQTTGateway_SRFB/version
But if I push some rf433 remote from my alarm there is no updates in the MQTT.
Maybe it’s work… but I don’t know ?
I think I’m missing something… cause in this blog page you tell us to uncomment the: #define ZgatewayPilight “Pilight”
in the user_config.h file.
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
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.
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
So it’s like it’s work
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
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
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?
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.
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.