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. Cannot get RFM69HW connection between ESP8266GW and Pro Mini Sensor

Cannot get RFM69HW connection between ESP8266GW and Pro Mini Sensor

Scheduled Pinned Locked Moved Troubleshooting
35 Posts 4 Posters 3.3k 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.
  • E Offline
    E Offline
    elcaron
    wrote on last edited by
    #24

    Ok, I see ...

    #define DEFAULT_RFM69_IRQ_NUM                   digitalPinToInterrupt(DEFAULT_RFM69_IRQ_PIN)
    

    So it indeed has to be set separately. I don' really see why this isn't set to

    #define DEFAULT_RFM69_IRQ_NUM                   digitalPinToInterrupt(MY_RFM69_IRQ_PIN)
    

    MyConfig.h is included before, so tha should work.

    1 Reply Last reply
    0
    • mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #25

      I don't know why the code is written the way it is. When I verified the rfm69 wiring and wrote the instructions, I decided to not use the default IRQ pin, since it would interfere with boot (as you also have identified). That's why I added the define instructions to set both MY_RF69_IRQ_PIN and MY_RF69_IRQ_NUM.

      I am not familiar with the rfm69 driver code, but I think what you suggest should work. You are very welcome to create a pull request. If someone has any objections, they can always make their case during the code review.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        elcaron
        wrote on last edited by
        #26

        I have already created an issue, but you are right, I could do a pull request.

        AnticimexA 1 Reply Last reply
        0
        • E elcaron

          I have already created an issue, but you are right, I could do a pull request.

          AnticimexA Offline
          AnticimexA Offline
          Anticimex
          Contest Winner
          wrote on last edited by
          #27

          @elcaron just add a #fixes tag to your pull request commit message and reference your issue so they get chained.

          Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

          1 Reply Last reply
          1
          • E Offline
            E Offline
            elcaron
            wrote on last edited by
            #28

            @mfalkvidd said in Cannot get RFM69HW connection between ESP8266GW and Pro Mini Sensor:

            When I verified the rfm69 wiring and wrote the instructions, I decided to not use the default IRQ pin

            Maybe note this in the instructions? This cost me 1 year (in which I did not touch the stuff after i didn't work immediately) and a weekend of checking wireing and so on (because with a missing IRQ on the gateway, it looks like nothing is working, while the issue is quite easy to find on a node).

            Ok, PR is filed, I also fixed it for the RFM95, which had the same issue.

            mfalkviddM 1 Reply Last reply
            0
            • E elcaron

              @mfalkvidd said in Cannot get RFM69HW connection between ESP8266GW and Pro Mini Sensor:

              When I verified the rfm69 wiring and wrote the instructions, I decided to not use the default IRQ pin

              Maybe note this in the instructions? This cost me 1 year (in which I did not touch the stuff after i didn't work immediately) and a weekend of checking wireing and so on (because with a missing IRQ on the gateway, it looks like nothing is working, while the issue is quite easy to find on a node).

              Ok, PR is filed, I also fixed it for the RFM95, which had the same issue.

              mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #29

              @elcaron could you describe the type of note you think you would have noticed?

              Great work on the PR.

              E 1 Reply Last reply
              0
              • mfalkviddM mfalkvidd

                @elcaron could you describe the type of note you think you would have noticed?

                Great work on the PR.

                E Offline
                E Offline
                elcaron
                wrote on last edited by elcaron
                #30

                @mfalkvidd Maybe a "* Different from code default and examples"?
                You do not really expect that you have to change defaults when you get a wiring guide from the official site associated with the code, especially when running an example that is explicitly for the platform (the ESP8266 gateway sketch).

                In hindsight, this was probably stupid, but I didn't even look at the defines below the table, because I thought I was running a working example specifically for the ESP8266 and only needed to find the right pins.

                mfalkviddM 1 Reply Last reply
                0
                • E elcaron

                  @mfalkvidd Maybe a "* Different from code default and examples"?
                  You do not really expect that you have to change defaults when you get a wiring guide from the official site associated with the code, especially when running an example that is explicitly for the platform (the ESP8266 gateway sketch).

                  In hindsight, this was probably stupid, but I didn't even look at the defines below the table, because I thought I was running a working example specifically for the ESP8266 and only needed to find the right pins.

                  mfalkviddM Offline
                  mfalkviddM Offline
                  mfalkvidd
                  Mod
                  wrote on last edited by
                  #31

                  @elcaron so we've determined that a note below the table wouldn't work (since you didn't read it). Where would we place the note so you would have noticed it?

                  1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    elcaron
                    wrote on last edited by elcaron
                    #32

                    As a * that resolves to above mentioned note directly in the table:
                    D1* | DIO0 | Gray
                    ...
                    Below: * Different from code default and examples

                    As I said, one doesn't necessarily expect that defaults have to changed an ESP-specific example sketch.

                    mfalkviddM 1 Reply Last reply
                    0
                    • E elcaron

                      As a * that resolves to above mentioned note directly in the table:
                      D1* | DIO0 | Gray
                      ...
                      Below: * Different from code default and examples

                      As I said, one doesn't necessarily expect that defaults have to changed an ESP-specific example sketch.

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by
                      #33

                      @elcaron thanks. I have updated connecting the radio.

                      1 Reply Last reply
                      0
                      • mfalkviddM Offline
                        mfalkviddM Offline
                        mfalkvidd
                        Mod
                        wrote on last edited by
                        #34

                        Adding references to github:
                        https://github.com/mysensors/MySensors/issues/1075
                        https://github.com/mysensors/MySensors/pull/1076

                        1 Reply Last reply
                        0
                        • E Offline
                          E Offline
                          elcaron
                          wrote on last edited by
                          #35

                          Ok, my setup is running now (including personalization, encryption, and soft signing) and stuff is published to mqtt.
                          Thanks everyone for the help! I really like this community.

                          Now I need to resolve the issue with the OpenHAB binding but that's no topic for here.

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


                          22

                          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