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. Announcements
  3. 💬 Building a Raspberry Pi Gateway

💬 Building a Raspberry Pi Gateway

Scheduled Pinned Locked Moved Announcements
1.1k Posts 173 Posters 423.1k Views 131 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.
  • Richard van der PlasR Richard van der Plas

    hi there, somehow my gateway seems to stop receiving data after a day or so from my sensors,
    restarting the service seems to solve it for a time, how can i troubleshoot this issue ?

    Carl HC Offline
    Carl HC Offline
    Carl H
    wrote on last edited by
    #614

    @Richard-van-der-Plas

    Same trouble for me. I use mySensors since 2 years and I have no problem with my Arduino Gateway. But from now 2 weeks, I try to use a pi gateway. It's working well but sometime, don't no why, my nrf24 stop to receive messages. Just restarting mygw service and re-work again. I don't see nothing anormal in my log, stop randomlly after 1 or 2 days.

    Maybe a power issue to nrf24, I will try to add capacitor just for testing if can resolve this problem.

    1 Reply Last reply
    0
    • skywatchS Offline
      skywatchS Offline
      skywatch
      wrote on last edited by
      #615

      Same here too. With Rpi3 gateway. Would stop for hours, maybe start agian for a hour or two and then stop.
      Have been running debug mode for last day, no idea what happened, but been stable so perhaps something in the update/upgrade made a problem and has now been fixed.
      Will keep an eye on here and let you know if I find anything.

      1 Reply Last reply
      0
      • Richard van der PlasR Offline
        Richard van der PlasR Offline
        Richard van der Plas
        wrote on last edited by
        #616

        Looks as if it happened after updating Home Assistant, but that should be 2 different things right ?

        1 Reply Last reply
        0
        • Richard van der PlasR Richard van der Plas

          hi there, somehow my gateway seems to stop receiving data after a day or so from my sensors,
          restarting the service seems to solve it for a time, how can i troubleshoot this issue ?

          gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #617

          @Richard-van-der-Plas what version are you using?

          Carl HC Richard van der PlasR 2 Replies Last reply
          0
          • gohanG gohan

            @Richard-van-der-Plas what version are you using?

            Carl HC Offline
            Carl HC Offline
            Carl H
            wrote on last edited by
            #618

            @gohan for me version dev (2.2)

            1 Reply Last reply
            0
            • skywatchS Offline
              skywatchS Offline
              skywatch
              wrote on last edited by
              #619

              dev 2.2.0 beta

              1 Reply Last reply
              0
              • gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #620

                Have you tried both ethernet or mqtt?

                1 Reply Last reply
                0
                • gohanG gohan

                  @Richard-van-der-Plas what version are you using?

                  Richard van der PlasR Offline
                  Richard van der PlasR Offline
                  Richard van der Plas
                  wrote on last edited by
                  #621

                  @gohan the latest stable version i guess. Where can i check?

                  gohanG 1 Reply Last reply
                  0
                  • Richard van der PlasR Richard van der Plas

                    @gohan the latest stable version i guess. Where can i check?

                    gohanG Offline
                    gohanG Offline
                    gohan
                    Mod
                    wrote on last edited by
                    #622

                    @Richard-van-der-Plas try the 2.2 beta, it usually works better

                    Richard van der PlasR 1 Reply Last reply
                    0
                    • gohanG gohan

                      @Richard-van-der-Plas try the 2.2 beta, it usually works better

                      Richard van der PlasR Offline
                      Richard van der PlasR Offline
                      Richard van der Plas
                      wrote on last edited by
                      #623

                      @gohan just checked it's 2.1.1, is it easy to upgrade?

                      gohanG 1 Reply Last reply
                      0
                      • Richard van der PlasR Richard van der Plas

                        @gohan just checked it's 2.1.1, is it easy to upgrade?

                        gohanG Offline
                        gohanG Offline
                        gohan
                        Mod
                        wrote on last edited by
                        #624

                        @Richard-van-der-Plas just clone the 2.2 dev instead of the stable, the rest is the same

                        Richard van der PlasR 1 Reply Last reply
                        0
                        • gohanG gohan

                          @Richard-van-der-Plas just clone the 2.2 dev instead of the stable, the rest is the same

                          Richard van der PlasR Offline
                          Richard van der PlasR Offline
                          Richard van der Plas
                          wrote on last edited by
                          #625

                          @gohan fatal: destination path 'MySensors' already exists and is not an empty directory. It goes wrong with the first command, could you please give me some pointers ?

                          1 Reply Last reply
                          0
                          • gohanG Offline
                            gohanG Offline
                            gohan
                            Mod
                            wrote on last edited by
                            #626

                            you need to either delete or rename the Mysensors folder :)

                            Richard van der PlasR 1 Reply Last reply
                            2
                            • llegoffL Offline
                              llegoffL Offline
                              llegoff
                              wrote on last edited by
                              #627

                              Hello,
                              I designed a PCB for rfm or nrf -> raspberry pi
                              https://www.openhardware.io/view/470/MySensors-Gateway-for-Raspberry-PI

                              1 Reply Last reply
                              1
                              • gohanG Offline
                                gohanG Offline
                                gohan
                                Mod
                                wrote on last edited by
                                #628

                                I am trying to get the gateway to run the RFM69W radio but when I issue the "make" command I get this

                                In file included from ./MySensors.h:318:0,
                                                 from examples_linux/mysgw.cpp:83:
                                ./drivers/RFM69/new/RFM69_new.cpp:658:12: warning: ‘void RFM69_ATCmode(bool, int16_t)’ defined but not used [-Wunused-function]
                                 LOCAL void RFM69_ATCmode(const bool onOff, const int16_t targetRSSI)
                                            ^
                                

                                It is latest beta.

                                mfalkviddM 1 Reply Last reply
                                0
                                • gohanG gohan

                                  I am trying to get the gateway to run the RFM69W radio but when I issue the "make" command I get this

                                  In file included from ./MySensors.h:318:0,
                                                   from examples_linux/mysgw.cpp:83:
                                  ./drivers/RFM69/new/RFM69_new.cpp:658:12: warning: ‘void RFM69_ATCmode(bool, int16_t)’ defined but not used [-Wunused-function]
                                   LOCAL void RFM69_ATCmode(const bool onOff, const int16_t targetRSSI)
                                              ^
                                  

                                  It is latest beta.

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

                                  @gohan what configure command did you use? Knowing that would make it easier to reproduce the problem...
                                  Does this warning cause any problem?

                                  1 Reply Last reply
                                  0
                                  • gohanG Offline
                                    gohanG Offline
                                    gohan
                                    Mod
                                    wrote on last edited by
                                    #630

                                    Just simple rfm69w 433 with default options. It compiles but I get no communication with nodes and 100% processor, but maybe I did a bad wiring

                                    mfalkviddM 1 Reply Last reply
                                    0
                                    • gohanG gohan

                                      Just simple rfm69w 433 with default options. It compiles but I get no communication with nodes and 100% processor, but maybe I did a bad wiring

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

                                      @gohan debug output could be useful ;-)

                                      1 Reply Last reply
                                      0
                                      • gohanG Offline
                                        gohanG Offline
                                        gohan
                                        Mod
                                        wrote on last edited by gohan
                                        #632

                                        I would have posted it but it just shows as no nodes are trying to connect and nodes are unable to find a parent of course. I'm using the rfm2nrf pcb in order to have the pins to connect to the raspberry.

                                        PS here is the log of the startup

                                         __  __       ____
                                        |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
                                        | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
                                        | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
                                        |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
                                                |___/                      2.2.0-beta
                                        
                                        mysgw: MCO:BGN:INIT GW,CP=RPNG----,VER=2.2.0-beta
                                        mysgw: TSF:LRT:OK
                                        mysgw: TSM:INIT
                                        mysgw: TSF:WUR:MS=0
                                        mysgw: TSM:INIT:TSP OK
                                        mysgw: TSM:INIT:GW MODE
                                        mysgw: TSM:READY:ID=0,PAR=0,DIS=0
                                        mysgw: MCO:REG:NOT NEEDED
                                        mysgw: Listening for connections on 0.0.0.0:5003
                                        mysgw: MCO:BGN:STP
                                        mysgw: MCO:BGN:INIT OK,TSP=1
                                        mysgw: New connection from 127.0.0.1
                                        mysgw: Client 0 connected
                                        mysgw: Client 0: 0;0;3;0;2;
                                        mysgw: Client 0: 0;0;3;0;2;Get Version
                                        mysgw: Client 0: 0;0;3;0;18;PING
                                        mysgw: Client 0: 0;0;3;0;18;PING
                                        
                                        1 Reply Last reply
                                        0
                                        • gohanG Offline
                                          gohanG Offline
                                          gohan
                                          Mod
                                          wrote on last edited by
                                          #633

                                          On my test RPI3 it is working.... I have to double check the other one.

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


                                          18

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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