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. Adafruit RFM69HCW Raspberry Gateway issue

Adafruit RFM69HCW Raspberry Gateway issue

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 1 Posters 741 Views 1 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.
  • T Offline
    T Offline
    tchoblond59
    wrote on last edited by tchoblond59
    #1

    Hi guys,

    I buy several things from adafruit
    RFM69HCW
    Feather 32u4 RFM

    Both in 915Mhz.
    I can run RelayActuator example from MySensors with this define

    #define MY_RADIO_RFM69
    #define MY_RFM69_FREQUENCY RFM69_915MHZ // Set your frequency here
    #define MY_IS_RFM69HW // Omit if your RFM is not "H"
    #define MY_RFM69_CS_PIN 8
    #define MY_RFM69_IRQ_PIN 7
    #define MY_RFM69_IRQ_NUM 4
    #define MY_NODE_ID 55
    

    But it only works with the serial gateway on another feather 32u4.
    I try to run mqtt gateway on rpi but it doesn't works.
    RST pin on afadruit RFM69HCW is wiring to GND
    G0 (Di0) is on pin 22
    I compile mysgw with

    ./configure --my-transport=rfm69 --my-rfm69-frequency=915 --my-is-rfm69hw --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1
    

    Here is the debus log when i launch mysgw

    Jan 09 10:29:12 INFO  Starting gateway...
    Jan 09 10:29:12 INFO  Protocol version - 2.3.1
    Jan 09 10:29:12 DEBUG MCO:BGN:INIT GW,CP=RPNGL---,REL=255,VER=2.3.1
    Jan 09 10:29:12 DEBUG TSF:LRT:OK
    Jan 09 10:29:12 DEBUG TSM:INIT
    Jan 09 10:29:12 DEBUG TSF:WUR:MS=0
    Jan 09 10:29:12 DEBUG TSM:INIT:TSP OK
    Jan 09 10:29:12 DEBUG TSM:INIT:GW MODE
    Jan 09 10:29:12 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
    Jan 09 10:29:12 DEBUG MCO:REG:NOT NEEDED
    Jan 09 10:29:12 DEBUG MCO:BGN:STP
    Jan 09 10:29:12 DEBUG MCO:BGN:INIT OK,TSP=1
    Jan 09 10:29:12 DEBUG GWT:RMQ:MQTT RECONNECT
    Jan 09 10:29:12 DEBUG connected to 127.0.0.1
    Jan 09 10:29:12 DEBUG GWT:RMQ:MQTT CONNECTED
    Jan 09 10:29:12 DEBUG GWT:TPS:TOPIC=mysensors-out/0/255/0/0/18,MSG SENT
    Jan 09 10:29:12 DEBUG TSM:READY:NWD REQ
    Jan 09 10:29:12 DEBUG TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    Jan 09 10:29:36 DEBUG GWT:IMQ:TOPIC=mysensors-in/55/1/1/0/2, MSG RECEIVED
    Jan 09 10:29:36 DEBUG !TSF:RTE:55 UNKNOWN
    Jan 09 10:29:37 DEBUG !TSF:MSG:SEND,0-0-55-55,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:1
    

    I try to send via mqtt but always get NACK.

    Can someone help here ?

    T 1 Reply Last reply
    0
    • T tchoblond59

      Hi guys,

      I buy several things from adafruit
      RFM69HCW
      Feather 32u4 RFM

      Both in 915Mhz.
      I can run RelayActuator example from MySensors with this define

      #define MY_RADIO_RFM69
      #define MY_RFM69_FREQUENCY RFM69_915MHZ // Set your frequency here
      #define MY_IS_RFM69HW // Omit if your RFM is not "H"
      #define MY_RFM69_CS_PIN 8
      #define MY_RFM69_IRQ_PIN 7
      #define MY_RFM69_IRQ_NUM 4
      #define MY_NODE_ID 55
      

      But it only works with the serial gateway on another feather 32u4.
      I try to run mqtt gateway on rpi but it doesn't works.
      RST pin on afadruit RFM69HCW is wiring to GND
      G0 (Di0) is on pin 22
      I compile mysgw with

      ./configure --my-transport=rfm69 --my-rfm69-frequency=915 --my-is-rfm69hw --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1
      

      Here is the debus log when i launch mysgw

      Jan 09 10:29:12 INFO  Starting gateway...
      Jan 09 10:29:12 INFO  Protocol version - 2.3.1
      Jan 09 10:29:12 DEBUG MCO:BGN:INIT GW,CP=RPNGL---,REL=255,VER=2.3.1
      Jan 09 10:29:12 DEBUG TSF:LRT:OK
      Jan 09 10:29:12 DEBUG TSM:INIT
      Jan 09 10:29:12 DEBUG TSF:WUR:MS=0
      Jan 09 10:29:12 DEBUG TSM:INIT:TSP OK
      Jan 09 10:29:12 DEBUG TSM:INIT:GW MODE
      Jan 09 10:29:12 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
      Jan 09 10:29:12 DEBUG MCO:REG:NOT NEEDED
      Jan 09 10:29:12 DEBUG MCO:BGN:STP
      Jan 09 10:29:12 DEBUG MCO:BGN:INIT OK,TSP=1
      Jan 09 10:29:12 DEBUG GWT:RMQ:MQTT RECONNECT
      Jan 09 10:29:12 DEBUG connected to 127.0.0.1
      Jan 09 10:29:12 DEBUG GWT:RMQ:MQTT CONNECTED
      Jan 09 10:29:12 DEBUG GWT:TPS:TOPIC=mysensors-out/0/255/0/0/18,MSG SENT
      Jan 09 10:29:12 DEBUG TSM:READY:NWD REQ
      Jan 09 10:29:12 DEBUG TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      Jan 09 10:29:36 DEBUG GWT:IMQ:TOPIC=mysensors-in/55/1/1/0/2, MSG RECEIVED
      Jan 09 10:29:36 DEBUG !TSF:RTE:55 UNKNOWN
      Jan 09 10:29:37 DEBUG !TSF:MSG:SEND,0-0-55-55,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:1
      

      I try to send via mqtt but always get NACK.

      Can someone help here ?

      T Offline
      T Offline
      tchoblond59
      wrote on last edited by
      #2

      I finally solve it !

      I forget to add #define MY_RFM69_NEW_DRIVER on the arduino node side ! Now it seems working fine

      1 Reply Last reply
      1

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      11

      Online

      12.0k

      Users

      11.2k

      Topics

      113.4k

      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