Im actually trying to do the same thing with a few different RF remotes myself. I have both the Broadlink RM Pro and the sonoff rf bridge (no custom firmware yet). Figured its nice that my broadlink can control my fan and etekcity outlets, but would also be nice if Home Assistant could listen for RF remotes so that if the fan or outlets would interacted with through the remotes, then HA would receive those same signals and be able to keep track of state. At least thats my idea. I do like the idea of using the extra remotes though for doing other things as well.
Hi again, I believe you meant to comment all except those, I now have the following and with switch at S2 still nothing on the serial or over MQTT other than the start up message…
Cheers
/*-------------DEFINE THE MODULES YOU WANT BELOW----------------*/
//Addons and module management, comment the Z line and the config file if you don't use
#ifdef ESP8266 // for nodemcu, weemos and esp8266
// #define ZgatewayRF
// #include "config_RF.h"
//#define ZgatewayRF2
#define ZgatewaySRFB // for the RF bridge
#include "config_SRFB.h"
//#define ZgatewayIR
// #include "config_IR.h"
// #define ZgatewayBT
// #include "config_BT.h"
//#define ZsensorINA226
//#include "config_INA226.h"
//#define ZsensorHCSR501
//#include "config_HCSR501.h"
//#define ZsensorADC
//#include "config_ADC.h"
//#define ZsensorBH1750
//#include "config_BH1750.h"
//#define ZsensorBME280
//#include "config_BME280.h"
//#define ZsensorDHT // If you uncomment this you can't use I2C due to the fact that I2C use also D1
//#include "config_DHT.h"
//#define ZgatewayRFM69 // If you uncomment this you can't use RF and BT due to the fact that RF use also D8 and BT use also D6/D7
//#include "config_RFM69.h"
//#else // for arduino + W5100
// #define ZgatewayRF
// #include "config_RF.h"
//#define ZgatewayRF2 // too big for UNO
//#define ZgatewayRFM69 not tested
//#include "config_RFM69.h"
// #define ZgatewayIR
// #include "config_IR.h"
// #define ZgatewayBT
// #include "config_BT.h"
//#define ZsensorINA226
//#include "config_INA226.h"
//#define ZsensorDHT
//#include "config_DHT.h"
//#define ZsensorBH1750
//#include "config_BH1750.h"
//#define ZsensorBME280
//#include "config_BME280.h"
//#define ZsensorHCSR501
//#include "config_HCSR501.h"
//#define ZsensorADC
//#include "config_ADC.h"
//#define ZgatewayRFM69 not tested
//#include "config_RFM69.h"
//#define ZsensorINA226
//#include "config_INA226.h"
#endif
Did you switch on the little dip button after flashing the firmware ?
And could you publish what you see on your MQTT broker?
what is the brand/model of your remote?
Are you sure it is compatible?
It is by TekNet and I previously used it successfully here and with the ESP8266. Therefore I am pretty confident the problem is not with the remote.
Cheers
indeed if the doorbell is compatible with rcswitch it should work.
Did you try pressing several seconds the remote?
I pressed it the same way I always did, which is a short press. Like a said I see the red LRD on the sonoff light up when I press the remote so I am pretty confident it is receiving the signal. I should at leas be able to read over the serial however, perhaps that’s where my settings are incorrect…?
what are the settings you are using for the board in arduino ide tool menu?
If you want to exchange with other user here is a chat system to get better reactivity:
https://gitter.im/OpenMQTTGateway/Questions_support
juan11perez already set it up and can give you some advise also
is this different from Broadlink rm pro?
hmm yes of course
In which functionality… I don’t understand
this can both receive and send commands.
the broadlink can only send commands. It has very limited functionality for listening to codes. it only listens for a code in “learn” mode. otherwise it can’t receive any codes and pass them to HA.
The question is then, how do you get the sonoff rf bridge to act simply as a receiver. I have both of them.
try looking here:
And here is the associated Home Assistant Community thread:
I haven’t gotten started on implementing it yet but plan on it pretty soon.
Any advice opening it without completely destroy the box ?
Basically you can use this to receive PUSH messages from 433mhz sensors
Which other use?
can it be integrated in HASS without opening it and/or flashing?
Yes one side comes off easy, in my case it was the bottom side, but I only discovered that after I destroyed the top.
Please note that as of now I’ve been unable to get the sonoff RF bridge working with the custom firmware. Am working with @1technophile to get it going