Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. new RFM69 Gateway and node

new RFM69 Gateway and node

Scheduled Pinned Locked Moved Troubleshooting
14 Posts 5 Posters 5.5k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gloob
    wrote on last edited by gloob
    #4

    This is the output from the gateway:

    0;255;3;0;9;TSF:LRT:OK
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSF:WUR:MS=0
    scandone
    state: 0 -> 2 (b0)
    state: 2 -> 3 (0)
    state: 3 -> 5 (10)
    add 0
    aid 18
    cnt 
    
    connected with HasenpupsExtreme, channel 1
    dhcp client start...
    0;255;3;0;9;TSM:INIT:TSP OK
    0;255;3;0;9;TSM:INIT:GW MODE
    0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
    0;255;3;0;9;MCO:REG:NOT NEEDED
    f r0, scandone
    ip:192.168.1.35,mask:255.255.255.0,gw:192.168.1.1
    .IP: 192.168.1.35
    0;255;3;0;9;MCO:BGN:STP
    
    -- STA (client) informations --
    Hostname: MySensor-Gateway-RFM69
    Connected to: HasenpupsExtreme (80:EA:96:F0:49:F2), -73dBm
    IP address: 192.168.1.35
    Gateway address: 192.168.1.1
    Subnet mask: 255.255.255.0
    MAC STA address: 5C:CF:7F:2C:11:3D
    -- AP (server) informations --
    Soft IP address: 0.0.0.0
    MAC AP address: 5E:CF:7F:2C:11:3D
    ----
    
    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
    pm open,type:2 0
    0;255;3;0;9;Client 0 connected
    0;255;3;0;9;Client 0: 0;0;3;0;2;
    
    tekkaT 1 Reply Last reply
    0
    • G gloob

      This is the output from the gateway:

      0;255;3;0;9;TSF:LRT:OK
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSF:WUR:MS=0
      scandone
      state: 0 -> 2 (b0)
      state: 2 -> 3 (0)
      state: 3 -> 5 (10)
      add 0
      aid 18
      cnt 
      
      connected with HasenpupsExtreme, channel 1
      dhcp client start...
      0;255;3;0;9;TSM:INIT:TSP OK
      0;255;3;0;9;TSM:INIT:GW MODE
      0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
      0;255;3;0;9;MCO:REG:NOT NEEDED
      f r0, scandone
      ip:192.168.1.35,mask:255.255.255.0,gw:192.168.1.1
      .IP: 192.168.1.35
      0;255;3;0;9;MCO:BGN:STP
      
      -- STA (client) informations --
      Hostname: MySensor-Gateway-RFM69
      Connected to: HasenpupsExtreme (80:EA:96:F0:49:F2), -73dBm
      IP address: 192.168.1.35
      Gateway address: 192.168.1.1
      Subnet mask: 255.255.255.0
      MAC STA address: 5C:CF:7F:2C:11:3D
      -- AP (server) informations --
      Soft IP address: 0.0.0.0
      MAC AP address: 5E:CF:7F:2C:11:3D
      ----
      
      0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
      pm open,type:2 0
      0;255;3;0;9;Client 0 connected
      0;255;3;0;9;Client 0: 0;0;3;0;2;
      
      tekkaT Offline
      tekkaT Offline
      tekka
      Admin
      wrote on last edited by
      #5

      @gloob How did you connect the radio to the wemos board?

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gloob
        wrote on last edited by
        #6

        I use this board:

        link text

        1 Reply Last reply
        0
        • E Offline
          E Offline
          emc2
          Hardware Contributor
          wrote on last edited by
          #7

          One thing seems to be missing for your GW sketch.
          In the example sketch I provide I define some things that seems to be missing here:

          #define MY_RF69_IRQ_PIN D2  // GPIO 4
          #define MY_RF69_SPI_CS  D8  // GPIO 15
          

          Could you try with the included "MySWemosGatewayESP8266OTA.ino" sketch to see if this one is working?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gloob
            wrote on last edited by
            #8

            I now get some kind of communication but it seems that the WeMos pro mini does reset when a controller is connected and a message is received from a node.

            I will check this tomorrow.

            korttomaK 1 Reply Last reply
            0
            • G gloob

              I now get some kind of communication but it seems that the WeMos pro mini does reset when a controller is connected and a message is received from a node.

              I will check this tomorrow.

              korttomaK Offline
              korttomaK Offline
              korttoma
              Hero Member
              wrote on last edited by
              #9

              @gloob reset of ethernet modules is usually a symptom of the problem in the Arduino AVR board definition in version 1.6.12 and newer. Please try version 1.6.11. (don't remember exactly what versions vere affected but 1.6.11 works for me).

              • Tomas
              G 1 Reply Last reply
              0
              • korttomaK korttoma

                @gloob reset of ethernet modules is usually a symptom of the problem in the Arduino AVR board definition in version 1.6.12 and newer. Please try version 1.6.11. (don't remember exactly what versions vere affected but 1.6.11 works for me).

                G Offline
                G Offline
                gloob
                wrote on last edited by
                #10

                @korttoma said:

                @gloob reset of ethernet modules is usually a symptom of the problem in the Arduino AVR board definition in version 1.6.12 and newer. Please try version 1.6.11. (don't remember exactly what versions vere affected but 1.6.11 works for me).

                Thanks for this hint but is this also neccessary for the WeMos modules (ESP8266)? My gateway with an NRF24L01 chip and the same WeMos is running without any problems.

                E 1 Reply Last reply
                0
                • G gloob

                  @korttoma said:

                  @gloob reset of ethernet modules is usually a symptom of the problem in the Arduino AVR board definition in version 1.6.12 and newer. Please try version 1.6.11. (don't remember exactly what versions vere affected but 1.6.11 works for me).

                  Thanks for this hint but is this also neccessary for the WeMos modules (ESP8266)? My gateway with an NRF24L01 chip and the same WeMos is running without any problems.

                  E Offline
                  E Offline
                  emc2
                  Hardware Contributor
                  wrote on last edited by
                  #11

                  @gloob I received my RFM69 radio modules yesterday and did a quick test.
                  Same as for you, I'm unable to have a "MockSensor" talk to an esp8266 based gateway, both WeMos or NodeMCU.

                  Never used RFM69 before so I'm not sure how to go from there, will do a few more tests on evenings and this week end, let me know if you got something on your side.

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    gloob
                    wrote on last edited by
                    #12

                    I can confirm that the adapter PCB is working without any problems together with a WeMos, because I use them to receive some signals of a weather station.

                    1 Reply Last reply
                    0
                    • E Offline
                      E Offline
                      emc2
                      Hardware Contributor
                      wrote on last edited by
                      #13

                      Good to know.
                      I guess this is not a MySensors weather station, do you mind sharing the code you used, or project (I found a few on github).
                      I will have a look in the code to see if there is something obvious somewhere.

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        gloob
                        wrote on last edited by
                        #14

                        It is called "LaCrosse Gateway"
                        You can find the source code here: https://svn.fhem.de/trac/export/HEAD/trunk/fhem/contrib/arduino/36_LaCrosseGateway.zip

                        I have included this gateway in FHEM and receive a weather station sensor from "Technoline" which is sending on 868MHz.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        14

                        Online

                        11.7k

                        Users

                        11.2k

                        Topics

                        113.1k

                        Posts


                        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • MySensors
                        • OpenHardware.io
                        • Categories
                        • Recent
                        • Tags
                        • Popular