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. Controllers
  3. Domoticz
  4. Problems getting a RFM69HW gateway to work in domoticz

Problems getting a RFM69HW gateway to work in domoticz

Scheduled Pinned Locked Moved Domoticz
16 Posts 4 Posters 4.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.
  • Cliff KarlssonC Offline
    Cliff KarlssonC Offline
    Cliff Karlsson
    wrote on last edited by
    #1

    Have anyone had any difficulties getting an gateway using RFM69HW radio to work in domoticz?

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      The radio driver shouldn't matter. Domoticz isn't aware of how data is transported.

      1 Reply Last reply
      0
      • Cliff KarlssonC Offline
        Cliff KarlssonC Offline
        Cliff Karlsson
        wrote on last edited by
        #3

        Ok, any ideas of what my problem can be?

        I have tried using 3.3v mini pros+ RFM69H+W.
        I used serial monitor on both gateway and node and all seems to start up and send/recieve data.
        I have used MYScontroller and Gateway starts up and recieves data.
        I have flashed RFM gateway/node sketches from lowpowerlab and everything seems to transfer/recieve correctly.

        I have tried both stable and beta of domoticz and even formatted/reinstalled my rpi controller.
        I am using a powered usb-hub to connect to the gateways to the rpi.
        I have connected the mini pro gateway to the controller using both 3.3v ftdi clone and a genuine arduino ftdi 3.3v
        I have tried several versions of Arduino IDE from 1.6.6 to nightly.
        I have tried mysensors stable 1.5.1, beta 1.6 and beta 2.0
        I have both NRF01 gateway and Rf-link gateway connected and both works perfectly.

        But as soon as I connect a nano/mini pro with RFM radio it never works. A few times I get "gateway ready" and "gateway version 1.6-beta etc."
        Often when I get gateway ready and version to show up correctly, as soon as I start up a sensor with RFM radio I get 5-6 "gateway ready" and "gateway version 1.6-beta etc." repeats in the log.

        But most of the time I get only "gateway ready" and no verison id in the log. And under hardware I only get a "?" in the gateway version info.

        What can I do to troubleshoot my setup?

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4

          @Cliff-Karlsson said:

          I used serial monitor on both gateway and node and all seems to start up and send/recieve data.

          So, data from your sensors is received by gateway?

          1 Reply Last reply
          0
          • Cliff KarlssonC Offline
            Cliff KarlssonC Offline
            Cliff Karlsson
            wrote on last edited by
            #5

            Yes If I use mysensors controller sketch on a mini pro with RFM69HW and a random sensor sketch on another mini pro + RFM69H I recieve data when the gateway is connected to the computer and I use the serial monitor in the arduino IDE.

            I have also tried the same thing with the lowpowerlab sketches and I also recieve data in that way.

            1 Reply Last reply
            0
            • Cliff KarlssonC Offline
              Cliff KarlssonC Offline
              Cliff Karlsson
              wrote on last edited by Cliff Karlsson
              #6

              Can it be something that domotics does not like that I connect 3.3v mini pro's using FTDI->USB adapters supplying 3.3v instead of 5v?
              I forgot to say that often when everything seams to detect correctly, as soon as I power up a sensor I often get some error in domotics complaining of "serial lost" or something like that.

              martinhjelmareM 1 Reply Last reply
              0
              • Cliff KarlssonC Cliff Karlsson

                Can it be something that domotics does not like that I connect 3.3v mini pro's using FTDI->USB adapters supplying 3.3v instead of 5v?
                I forgot to say that often when everything seams to detect correctly, as soon as I power up a sensor I often get some error in domotics complaining of "serial lost" or something like that.

                martinhjelmareM Offline
                martinhjelmareM Offline
                martinhjelmare
                Plugin Developer
                wrote on last edited by
                #7

                @Cliff-Karlsson

                Can you adjust the baud rate in domoticz for the serial connection?

                1 Reply Last reply
                0
                • hekH Offline
                  hekH Offline
                  hek
                  Admin
                  wrote on last edited by
                  #8

                  Yeah, lowering baudrate could help.

                  1 Reply Last reply
                  0
                  • Cliff KarlssonC Offline
                    Cliff KarlssonC Offline
                    Cliff Karlsson
                    wrote on last edited by
                    #9

                    In the beta it defaults to 115000 or something witch I believe is correct. It is also possible to change to 4800 baud /mini pro/sensbender or something like that. But I have never got anything to show up when changing that setting.

                    martinhjelmareM 1 Reply Last reply
                    0
                    • Cliff KarlssonC Cliff Karlsson

                      In the beta it defaults to 115000 or something witch I believe is correct. It is also possible to change to 4800 baud /mini pro/sensbender or something like that. But I have never got anything to show up when changing that setting.

                      martinhjelmareM Offline
                      martinhjelmareM Offline
                      martinhjelmare
                      Plugin Developer
                      wrote on last edited by
                      #10

                      @Cliff-Karlsson

                      An arduino at 8 MHz will not be able to communicate reliably at 115200 bps with a computer over serial.

                      38400 or perhaps 57600 at the highest should work.

                      1 Reply Last reply
                      0
                      • Cliff KarlssonC Offline
                        Cliff KarlssonC Offline
                        Cliff Karlsson
                        wrote on last edited by
                        #11

                        i have used RFM69HW adapter on all the recent tries witch should be ok, right?
                        I have also used 868Mhz antennas that I have got from ebay. Could faulty antennas cause something like that?

                        1 Reply Last reply
                        0
                        • hekH Offline
                          hekH Offline
                          hek
                          Admin
                          wrote on last edited by
                          #12

                          You'll also have to lower the baudrate in MyConfig.h before compiling/uploading the gateway. No need to touch the sensor node.

                          1 Reply Last reply
                          0
                          • Cliff KarlssonC Offline
                            Cliff KarlssonC Offline
                            Cliff Karlsson
                            wrote on last edited by
                            #13
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • Cliff KarlssonC Offline
                              Cliff KarlssonC Offline
                              Cliff Karlsson
                              wrote on last edited by
                              #14

                              Ahhhhhhh!!!!!!!!!!!!, thank you!!!!!! It finally works. 38400 was the other selectable baudrate specified in domoticz and it started working rightaway after selecting the right settings.

                              martinhjelmareM 1 Reply Last reply
                              1
                              • Cliff KarlssonC Cliff Karlsson

                                Ahhhhhhh!!!!!!!!!!!!, thank you!!!!!! It finally works. 38400 was the other selectable baudrate specified in domoticz and it started working rightaway after selecting the right settings.

                                martinhjelmareM Offline
                                martinhjelmareM Offline
                                martinhjelmare
                                Plugin Developer
                                wrote on last edited by
                                #15

                                @Cliff-Karlsson

                                :thumbsup:

                                1 Reply Last reply
                                0
                                • John TolJ Offline
                                  John TolJ Offline
                                  John Tol
                                  wrote on last edited by John Tol
                                  #16

                                  Hi Cliff, could you be so kind to share the full sketch with us? I'm also having trouble getting this RFM69HW to work.

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


                                  21

                                  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