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 428.6k 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.
  • G ghiglie

    @sineverba said in 💬 Building a Raspberry Pi Gateway:

    Hi to all,
    I'm testing an ethernet gateway on RPI3, with nrf24 + 1 node with a relay.

    I want introduce security and signing. On Arduino gateway / node no problem at all, but, how to do on the RPI3 as gateway?

    I would get / create / set a software serial on PI itself and whitelisting it on the node, after I will introduce the AES Key and signing.

    Cannot find in documentation how do it on PI3. Thank you very much!

    Earlier in this forum... https://forum.mysensors.org/topic/4803/building-a-raspberry-pi-gateway/350

    S Offline
    S Offline
    sineverba
    Hardware Contributor
    wrote on last edited by
    #742

    @ghiglie Thank you, I did see that was for 2.1.1. Just playing with them!

    1 Reply Last reply
    0
    • alowhumA Offline
      alowhumA Offline
      alowhum
      Plugin Developer
      wrote on last edited by
      #743

      Does the Pi Gateway support the MY_SIGNING_SIMPLE_PASSWD option? I couldn't find anything about that. I've been gearing up to use that feature in my network, but I've also been playing with moving my gateway onto my Pi Zero W.

      gohanG M 2 Replies Last reply
      0
      • alowhumA alowhum

        Does the Pi Gateway support the MY_SIGNING_SIMPLE_PASSWD option? I couldn't find anything about that. I've been gearing up to use that feature in my network, but I've also been playing with moving my gateway onto my Pi Zero W.

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

        @alowhum If you want to just encrypt data, just add the encryption key in the myconfig.h file and compile it

        MasMatM 1 Reply Last reply
        1
        • gohanG gohan

          @alowhum If you want to just encrypt data, just add the encryption key in the myconfig.h file and compile it

          MasMatM Offline
          MasMatM Offline
          MasMat
          wrote on last edited by
          #745

          @gohan N00b question, but which steps from the step-by-step need to be redone to "compile it" after altering myconfig.h? Or can you just post the command lines? :flushed:

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

            As soon as you do the changes in myconfig.h before the MAKE, you are fine

            1 Reply Last reply
            3
            • S Offline
              S Offline
              sentur
              wrote on last edited by
              #747

              Anyone tried using the new Pi Zero WH as a Raspberry Pi Gateway. Presumably by MQTT and using NRF24 radio?

              @alowhum Have you been able to setup a gateway with your Raspberry Pi Zero?

              MasMatM 1 Reply Last reply
              0
              • S sentur

                Anyone tried using the new Pi Zero WH as a Raspberry Pi Gateway. Presumably by MQTT and using NRF24 radio?

                @alowhum Have you been able to setup a gateway with your Raspberry Pi Zero?

                MasMatM Offline
                MasMatM Offline
                MasMat
                wrote on last edited by
                #748

                @sentur That's what I'm doing now. Except mine is Zero W. Soldered the pins on myself.

                1 Reply Last reply
                0
                • alowhumA alowhum

                  Does the Pi Gateway support the MY_SIGNING_SIMPLE_PASSWD option? I couldn't find anything about that. I've been gearing up to use that feature in my network, but I've also been playing with moving my gateway onto my Pi Zero W.

                  M Offline
                  M Offline
                  marceloaqno
                  Code Contributor
                  wrote on last edited by
                  #749

                  @alowhum yes, to use MY_SIGNING_SIMPLE_PASSWD feature, add the following to your list of configure options:

                  ... --my-signing=password --my-signing-password=<PASSWORD>
                  
                  1 Reply Last reply
                  2
                  • Richard van der PlasR Offline
                    Richard van der PlasR Offline
                    Richard van der Plas
                    wrote on last edited by
                    #750

                    Is there anyway where i can see if i have IRQ configured ?
                    ive build it a long time ago, but now upgraded to a nrf24 PA/LNA and have more an more sensors.

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

                      look inside makefile.inc in mysensors folder, that should contain the parameters you set in ./configure

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

                        look inside makefile.inc in mysensors folder, that should contain the parameters you set in ./configure

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

                        @gohanm, as it seems not ?, can i rebuild it easily? ```

                        SOC=BCM2837
                        CPPFLAGS=-march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_PORT=5003
                        LDFLAGS=-pthread
                        PREFIX=/usr/local
                        CC=gcc
                        CXX=g++
                        BUILDDIR=build
                        BINDIR=bin
                        GATEWAY_DIR=/usr/local/bin
                        INIT_SYSTEM=systemd
                        SPI_DRIVER=BCM```

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

                          make a copy of it and make a ./configure with the IRQ enabled and see what you get

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

                            make a copy of it and make a ./configure with the IRQ enabled and see what you get

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

                            @gohan make a copy of the makefile.inc and restart the ./configure command again you mean ?
                            ill try it tomorrow, too afraid to break things late in the evening ;)

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

                              as far as you don't execute the MAKE command you are ok. Also make a copy of the mysgw executable just as backup if you never did it

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

                                but ill have to do it sometime , just ./configure with all the options, build , test and install ?

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

                                  if you only want to check if irq is enabled, otherwise you could just build it fresh with irq enabled and you can go back by replacing the mysgw executable

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

                                    if you only want to check if irq is enabled, otherwise you could just build it fresh with irq enabled and you can go back by replacing the mysgw executable

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

                                    @gohan ty

                                    1 Reply Last reply
                                    0
                                    • Richard van der PlasR Offline
                                      Richard van der PlasR Offline
                                      Richard van der Plas
                                      wrote on last edited by
                                      #759
                                      This post is deleted!
                                      1 Reply Last reply
                                      0
                                      • gohanG gohan

                                        if you only want to check if irq is enabled, otherwise you could just build it fresh with irq enabled and you can go back by replacing the mysgw executable

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

                                        Moved to normal troubleshooting forum

                                        1 Reply Last reply
                                        1
                                        • Richard van der PlasR Offline
                                          Richard van der PlasR Offline
                                          Richard van der Plas
                                          wrote on last edited by
                                          #761
                                          This post is deleted!
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          20

                                          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