Hi
I have the exact same setup
And exact same issue as OP.
I have uncommented RF2 and rebuild. Every message I get from KAKU remote is in this format:
Pub json into:
home/mqttgw/433toMQTT
{"value":87499152,"protocol":22,"length":32,"delay":1081}
Store val
Min ind:
4
store code :
87499152/161483
Col: val/timestamp
0:87499152/88080
1:87499152/88190
2:87499152/115142
3:87499152/115212
4:87499152/161483
5:0/0
6:0/0
7:0/0
8:0/0
9:0/0
10:0/0
11:0/0
Hey I got a callback
Store str
Min ind:
5
store code :
87499152/161586
Col: val/timestamp
0:87499152/88080
1:87499152/88190
2:87499152/115142
3:87499152/115212
4:87499152/161483
5:87499152/161586
6:0/0
7:0/0
8:0/0
9:0/0
10:0/0
11:0/0
This Is my config.
/*-------------DEFINE THE MODULES YOU WANT BELOW----------------*/
//Addons and module management, comment the Z line
//#define ZgatewayRF "RF" //ESP8266, Arduino, ESP32
//#define ZgatewayIR "IR" //ESP8266, Arduino, Sonoff RF Bridge
//#define ZgatewayLORA "LORA" //ESP8266, Arduino, ESP32
//#define ZgatewayPilight "Pilight" //ESP8266, Arduino, ESP32
//#define ZgatewayBT "BT" //ESP8266, ESP32
#define ZgatewayRF2 "RF2" //ESP8266, Arduino, ESP32
//#define ZgatewaySRFB "SRFB" // Sonoff RF Bridge
//#define Zgateway2G "2G" //ESP8266, Arduino, ESP32
//#define ZgatewayRFM69 "RFM69" //ESP8266, Arduino, ESP32
//#define ZactuatorONOFF "ONOFF" //ESP8266, Arduino, ESP32, Sonoff RF Bridge
//#define ZsensorINA226 "INA226" //ESP8266, Arduino, ESP32
//#define ZsensorHCSR04 "HCSR04" //ESP8266, Arduino, ESP32
//#define ZsensorHCSR501 "HCSR501" //ESP8266, Arduino, ESP32, Sonoff RF Bridge
//#define ZsensorADC "ADC" //ESP8266, Arduino, ESP32
//#define ZsensorBH1750 "BH1750" //ESP8266, Arduino, ESP32
//#define ZsensorTSL2561 "TSL2561" //ESP8266, Arduino, ESP32
//#define ZsensorBME280 "BME280" //ESP8266, Arduino, ESP32
//#define ZsensorDHT "DHT" //ESP8266, Arduino, ESP32, Sonoff RF Bridge
//#define ZsensorGPIOKeyCode "GPIOKeyCode" //ESP8266, Arduino, ESP32
//#define ZsensorGPIOInput "GPIOInput" //ESP8266, Arduino, ESP32
#define ZmqttDiscovery "HADiscovery"//ESP8266, Arduino, ESP32, Sonoff RF Bridge
//#define ZactuatorFASTLED "FASTLED" //ESP8266, Arduino, ESP32, Sonoff RF Bridge
Then, when I change to RF2 in platformio.ini
default_envs = nodemcuv2-rf2 ← uncommented
No signal is received anymore.
Tried about everything. Changed pins. Also tried PiLight library.
Nothing works.
RF is only received if I use the ZgatewayRF , which I don’t want because it’s not compatible with KAKU.
I’m listening to the signals via SDR, and they are there. I also connected scope and headphones on the output of the receiver ( APRXB12 ) and there’s the signal too. Receiver is connected to 5V. Pins I tried: 0 (default ), 2 and 5. Transmitters are : KlikaanKlikuit APC3-2300R , COCO AYCT-102 and COCO TMT-502 ( the last users another protocol and sounds different by the way, but still no cigar ) (ps: headphone and scope are not connected during tests)
Update:
Flashed ESPilight ( https://github.com/puuu/ESPiLight/releases ) straight on the device.
And see there. Data is received:
RF signal arrived [arctech_contact][1367174] (0) {"id":1367174,"unit":1,"state":"opened"}
RF signal arrived [arctech_switch][1367174] (2) {"id":1367174,"unit":1,"state":"on"}
Valid message: [arctech_switch] {"id":1367174,"unit":1,"state":"on"}
RF signal arrived [arctech_screen][1367174] (2) {"id":1367174,"unit":1,"state":"up"}
Valid message: [arctech_screen] {"id":1367174,"unit":1,"state":"up"}
RF signal arrived [arctech_dimmer][1367174] (2) {"id":1367174,"unit":1,"state":"on"}
Valid message: [arctech_dimmer] {"id":1367174,"unit":1,"state":"on"}
RF signal arrived [arctech_contact][1367174] (2) {"id":1367174,"unit":1,"state":"opened"}
Valid message: [arctech_contact] {"id":1367174,"unit":1,"state":"opened"}
RF signal arrived [logilink_switch][] (0) {"systemcode":885052,"unitcode":1,"state":"off"}
RF signal arrived [kerui_D026][] (0) {"unitcode":247835,"state":"tamped"}
RF signal arrived [ev1527][] (0) {"unitcode":394276,"state":"closed"}
RF signal arrived [ehome][1] (0) {"id":1,"state":"off"}
RF signal arrived [daycom][54] (0) {"id":54,"systemcode":284,"unit":1,"state":"on"}
So it’s definitely not the receiver, nor the NodeMcu V3.
Update Solved
Ok , here is how I solved it. ( but maybe not all steps are needed, cause I’m an idiot and did it all at once… )
- I deleted all files in .pio/build
- I deleted all libraries in .pio/libdeps, expect the two folders nodemcuv2-all and nodemcu2-pilight
- I deleted all folders and files in nodemcu2-pilight/ESPiLight_ID996
- I downloaded the latest release op ESPilight ( https://github.com/puuu/ESPiLight/releases )
- I unpacked the zip into ESPiLight_ID996
- I ran compile again
- Changed to pin 0 (D3)