Hi guys,
first of all thank you for your great work. I am using the gateway in combination with Openhab and it works great!
Unfortunately I have a problem that I could not solve, although I tried different things and studied all the instructions on git.
I also checked the transmitter on a raspberry pi it it is working fine.
My board is a NodeMCU V3. Receiving a signal is no problem. My pin configuration in configRF.h is as follows:
#ifdef ESP8266
#define RF_RECEIVER_PIN 4 // D3 on nodemcu
#define RF_EMITTER_PIN 16 // RX on nodemcu if it doesn't work with 3, try with 4 (D2)
I also tried pin 3 (RX) but that didn´t work either.
I want to switch some plugs of different brands.If I press the button on the remote I receive the following code:
Are there only certain protocols available? Or should resending the received signal work (like in Pilight raw)?
Maybe that is the reason why the plugs not switch.
No but I can try this tomorrow. Thanks in advance for you help.
Do you have an explanation what the values mean after the /?
One short OT question: Which channel do I have to subscribe if I want to get data from a DHT sensor? I uncommented the DHT sensor and plugged it to the NodeMcu but do not see any data.
you have to uncomment zsensordht, verify the pins & dht model in config_DHT.h, and if you subscribe to : mosquitto_sub -t +/# -v
you should see the values.
Sorry to bump an old thread but I’m having the same problem as the original post, I am unable to send RF at all and receive the same message as the OP.
I’m revisiting this great project after a few months as I have a new setup I need to integrate it with.
But all I in the serial monitor get when trying to send is…
Hey I got a callback
MQTTtoRF dflt
Ack pub.
Receiving is all fine I just can’t send.
I have tried the 0.9 .bin release, the 0.8 bin compiling the latest .ino release in IDE. all the same problem. I have changed pins, I’ve run it on a Wemos D1 mini and on a NodeMCU 1.0.
I have tested the transmitter module by plugging it into an Arduino and running the rc-switch send demo and it works fine.
I had another go this morning compiling it from the latest .ino release in IDE and it is now working
Before that I flashed the .bin file and it all went fine I opened up the AP and added my wifi credentials and my broker ip.
Oddly enough even tho I added my broker ip as 192.168.0.31 which it is, every time I flashed the .bin file it was trying to connect to 192.168.0.37 even tho I have never added those details or even had an MQTT broker on that ip
Thanks for all your help and keep up the good work!