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. MySensors & RPi?

MySensors & RPi?

Scheduled Pinned Locked Moved Domoticz
12 Posts 7 Posters 4.0k Views 5 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.
  • mfalkviddM Offline
    mfalkviddM Offline
    mfalkvidd
    Mod
    wrote on last edited by
    #2

    So far, no-one has done the work required to bring the MySensors Raspi gateway up to 2.0. It is quite a lot of work and the serial gateway works fine so the gain vs effort is not very good.

    1 Reply Last reply
    2
    • M Offline
      M Offline
      mvader
      wrote on last edited by
      #3

      https://forum.mysensors.org/topic/2759/mysensors-raspberry-port-suggestions/12

      what about that one?

      1 Reply Last reply
      1
      • T Offline
        T Offline
        tbowmo
        Admin
        wrote on last edited by
        #4

        No one in the core group use a rpi and nrf combo for their setup, so we have no possibility to develop support. We need someone to create a PR for it.

        A lot of changes went in the last month's, so something that worked 5 months ago is way behind the current state of the library.

        1 Reply Last reply
        0
        • jerseyguy1996J Offline
          jerseyguy1996J Offline
          jerseyguy1996
          wrote on last edited by
          #5

          What would be involved in getting it working with 2.0? Are we talking modifying/writing a few new methods or is it closer to a full re-write of the entire application? I can put in some work but my coding skills are somewhat limited. I can however fight my way through it. I just recently became a very happy user of the PiSerialGateway and would hate to have to abandon it.

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

            There may be more things, but these are the areas I know

            • Merge with or update to use the MySensors 2.0 code base (the current code is somewhat of a fork of MySensors 1.4 and the differences from 2.0 are unknown (at least to me))
            • Integrate getting random numbers (required for the signing feature)
            • Emulate persistent eeprom or similar (required for the signing feature and would also better handle gateway restarts, today the MySensors routing table is lost on restart I think)

            The thread references by mvader above indicates that this is already solved though.

            jerseyguy1996J 1 Reply Last reply
            1
            • mfalkviddM mfalkvidd

              There may be more things, but these are the areas I know

              • Merge with or update to use the MySensors 2.0 code base (the current code is somewhat of a fork of MySensors 1.4 and the differences from 2.0 are unknown (at least to me))
              • Integrate getting random numbers (required for the signing feature)
              • Emulate persistent eeprom or similar (required for the signing feature and would also better handle gateway restarts, today the MySensors routing table is lost on restart I think)

              The thread references by mvader above indicates that this is already solved though.

              jerseyguy1996J Offline
              jerseyguy1996J Offline
              jerseyguy1996
              wrote on last edited by
              #7

              @mfalkvidd said:

              The thread references by mvader above indicates that this is already solved though.

              Wait, you mean there may already be a working version of PiSerialGateway out there? I hope that is the case and I'll check it out.

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

                @jerseyguy1996 almost.
                There is a working version of PiGateway on https://github.com/marceloaqno/MySensors/archive/7d51087e589afb1296e71442fe2164807da399ef.zip thanks to @marceloaqno

                The last commits do not seem to work for me, but it may be a problem on my side.

                PiGateway create a gateway that can be accessed on the network, so on your controller choose 127.0.0.1 port 5003 and it works!

                Only drawbacks for now:

                • You have to add your devices again
                • No proper init script, either launch it manually or add a cron task at boot
                jerseyguy1996J 1 Reply Last reply
                0
                • E emc2

                  @jerseyguy1996 almost.
                  There is a working version of PiGateway on https://github.com/marceloaqno/MySensors/archive/7d51087e589afb1296e71442fe2164807da399ef.zip thanks to @marceloaqno

                  The last commits do not seem to work for me, but it may be a problem on my side.

                  PiGateway create a gateway that can be accessed on the network, so on your controller choose 127.0.0.1 port 5003 and it works!

                  Only drawbacks for now:

                  • You have to add your devices again
                  • No proper init script, either launch it manually or add a cron task at boot
                  jerseyguy1996J Offline
                  jerseyguy1996J Offline
                  jerseyguy1996
                  wrote on last edited by
                  #9

                  @emc2 Does this work with a serial connection? I have my radio connected directly to the SPI pins of the raspberry pi.

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

                    @jerseyguy1996 Well yes and no.

                    My radio is connected as explained in https://forum.mysensors.org/topic/2437/step-by-step-procedure-to-connect-the-nrf24l01-to-the-gpio-pins-and-use-the-raspberry-as-a-serial-gateway
                    Radio is detected, but it does not appear as a "serial" by that I mean it's not showing as "/dev/tty*" you have to set it up as as Ethernet gateway, with the IP being your Pi.

                    0_1469045409005_screenshot.png

                    1 Reply Last reply
                    0
                    • N Nexus

                      Hello Everyone!

                      I'm using a Serial Gateway Arduino Pro Mini/NRF24 on Rpi2/RPi3; is there a way to use NRF24 directly on RPi? I know that is available a porting but seems to not be updated with last release (2.0)...is it?

                      Thanks so much!

                      jerseyguy1996J Offline
                      jerseyguy1996J Offline
                      jerseyguy1996
                      wrote on last edited by
                      #11

                      @Nexus I see. I'm kinda thinking more and more that I may just switch to the arduino based serial gateway. It seems like there is more support for it in terms of keeping up with the mysensors development branch. I really liked the idea of just attaching the radio directly to the Raspi because I felt that it eliminated a potential point of failure but i'm probably wrong. Anyway this whole mysensors community is fantastic! Thanks for all of the hard work you guys do!

                      1 Reply Last reply
                      1
                      • F Offline
                        F Offline
                        flopp
                        wrote on last edited by flopp
                        #12

                        I am using 1.5.1 and it seems to be worse to have Serial GW than Ethernet GW.
                        After I changed to Serial GW I got lots of not reporting Nodes.
                        I change from Ethernet GW to Serial GW around 2016-07-27 16:00
                        I only had a few not reporting before change and after change I have much more not reporting nodes

                        Before

                        0_1469990185444_rpiserial2.png
                        After

                        0_1469989956030_rpiserial.png

                        1 Reply Last reply
                        0

                        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


                        24

                        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