Github Devices Community Docs Blog

IR+RFM69 does not work

Good afternoon, assembled the gateway. I use nodemcu v3 rfm69, IR. Separately, it works great, but together I can’t get it to work. I ask for your help. OMG v 0.9.3, lib nodemcu_v2_all

mounted file system
*WM: [3] allocating params bytes: 20
*WM: [2] Added Parameter: server
*WM: [2] Added Parameter: port
*WM: [2] Added Parameter: user
*WM: [2] Added Parameter: pass
*WM: [2] Added Parameter: name
*WM: [3] Updated _max_params: 10
*WM: [3] re-allocating params bytes: 40
*WM: [2] Added Parameter: topic
*WM: [1] AutoConnect 
*WM: [2] Connecting as wifi client... 
*WM: [1] STA static IP:
*WM: [2] setSTAConfig static ip not set 
*WM: [3] WIFI station disconnect 
*WM: [1] Connecting to saved AP: (^.^)(^.^)(^.^)
*WM: [3] Using Password: 09313712
*WM: [3] WiFi station enable 
*WM: [3] enableSTA PERSISTENT ON 
*WM: [2] 5000 ms connectTimeout set
*WM: [2] 5000 ms timeout, waiting for connect...
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] . 
*WM: [2] Connection result: WL_CONNECTED
*WM: [3] lastconxresult: WL_CONNECTED
*WM: [1] AutoConnect: SUCCESS 
*WM: [1] STA IP Address: 172.20.20.107
connected...yeey :)
saving config
{"mqtt_server":"172.20.20.104","mqtt_port":"1883","mqtt_user":"server","mqtt_pass":"Sfhkljgd1988","mqtt_topic":"home/","gateway_name":"OpenMQTTGateway"}OpenMQTTGateway mac: 
DC:4F:22:75:84:A1
OpenMQTTGateway ip: 
172.20.20.107
1883
Connecting to MQTT by IP adress
172.20.20.104
IR_EMITTER_PIN 
16
IR_RECEIVER_PIN 
2
ZgatewayIR setup done 
ZgatewayRFM69 Listening and transmitting at
433
MQTT_MAX_PACKET_SIZE
128
WRONG PUBSUBCLIENT LIBRARY USED PLEASE INSTALL THE ONE FROM RELEASE PAGE
Setup OpenMQTTGateway end
Trigger button Pressed
Button Held
Erasing ESP Config, restarting
Formatting requested, result:
1
я
 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
vbb28d4a3
~ld
mounting FS...

 ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
vbb28d4a3
~ld
mounting FS...
mounted file system

tried to install MQTT_MAX_PACKET_SIZE 256, 512, 1024 but without successfully.
IDE arduino v.1.8.12, version board esp8266 2.6.3.
any ideas?

Hello,

Could you try to remove the non necessary modules and gateways into your platformio.ini definition of nodemcu_v2_all first?

I advise you also to do an erase all command from platformio

IDE arduino v.1.8.12, version board esp8266 2.6.3.

I noticed that pin 14 was used in user_config. I changed it to pin 4 grio D2

#ifndef TRIGGER_PIN
    #ifdef ESP8266
        #define TRIGGER_PIN 4 // pin D2 as full reset button (long press> 10s)
    #elif ESP32
        #define TRIGGER_PIN 0 // boot button as full reset button (long press> 10s)
    #endif
#endif

Now it works.

Thanks for the feedback!