SOLVED: ESP8266 RFM69H Gateway

  • Hey,

    I got a little question regarding my ESP RFM gateway. I think the PCB should be oke.
    I got the ESP working, i can connect to it though MYSController but Sensors dont report to it.
    So I think, I may messed up my sketch or the connections between the ESP and the RFM.

    Is there someone who can Judge this?

    I cleaned up the Diagram. I should have plenty of caps for the ESP and RFM to work, 100Uf for the chips, some 100nf for and after the regulators.
    The question is, are the connections oke?

    The second is my Gateway sketch.

    #ifdef ESP8266
    #define MY_RADIO_RFM69
    #define MY_RFM69_FREQUENCY RF69_868MHZ // Set your frequency here
    #define MY_IS_RFM69HW // Omit if your RFM is not "H"
    #define MY_RF69_IRQ_PIN 5 // GPIO5
    #define MY_RF69_IRQ_NUM MY_RF69_IRQ_PIN
    #define MY_RF69_SPI_CS 15 // NSS

    I got this working on my NODEMCU but not on this PCB.

    If your willing to help out, that would be great!.

    If I got it working, ill upload it to

    13-7-2017: GPIO 4 & 5 are switched on the ESP12. changing the IRQ from 5 to 4 did the trick.

  • Hardware Contributor


    would be easier if you could post your gw logs ;)

  • This post is deleted!

  • Here it is:

    Last line is when connecting MYScontroller

    when I boot up the sensor (with new uploaded sketches..) it stays silent.

    When I connect my other gateway a couple of minutes later, it start showing up at my other controllers

    0;255;3;0;9;TSM:INIT:TSP OK
    0;255;3;0;9;TSM:INIT:GW MODE
    0;255;3;0;9;MCO:REG:NOT NEEDED
    f 0, scandone
    state: 0 -> 2 (b0)
    state: 2 -> 3 (0)
    state: 3 -> 5 (10)
    add 0
    aid 4
    connected with ***************, channel 3
    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
    pm open,type:2 0
    0;255;3;0;9;Client 0 connected

  • Seems like the ESP-12 switches GPIO5 and GPIO4.

    Changing the the GPIO 5 => 4 did the trick:

    #define MY_RF69_IRQ_PIN 4 // GPIO5```

Log in to reply

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.