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. Development
  3. Help needed in getting Gateway and nodes working with Openhab on a Raspberry pi

Help needed in getting Gateway and nodes working with Openhab on a Raspberry pi

Scheduled Pinned Locked Moved Development
13 Posts 2 Posters 2.6k Views 3 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.
  • gohanG Offline
    gohanG Offline
    gohan
    Mod
    wrote on last edited by
    #2

    When gateway running as ethernet, can you connect to it with myscontroller?

    G 1 Reply Last reply
    0
    • gohanG gohan

      When gateway running as ethernet, can you connect to it with myscontroller?

      G Offline
      G Offline
      GreyLinux
      wrote on last edited by GreyLinux
      #3

      @gohan when I try running ./bin/mysgw -d it crashes and constantly repeats failed to connect and I have to exit the ssh session.
      Also what is myscontroller?

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

        Can you try another Linux image? I'm very happy with DIETPI. What options did you set in the ./configure? What raspberry version are you using?
        Search forum for myscontroller

        1 Reply Last reply
        0
        • G Offline
          G Offline
          GreyLinux
          wrote on last edited by
          #5

          This is a different image I recently renewed my entire openhab setup on a fresh image to try and get rid of all the problems I've had with openhab. This has worked for openhab and I'm happy with the setup finally. Its Rasbian Jessie, kernal: 4.9.13-v7+ .
          For serial I did

          ./configure --my-transport=nrf24 --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyAMA020
          

          For Ethernet I did

          ./configure --my-transport=nrf24 --my-gateway=ethernet --my-controller-ip-address=127.0.0.1  --my-port=5003  
          

          Tim

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

            What raspberry version are you using?
            --my-controller-ip-address=127.0.0.1 is not necessary
            are you using latest mysensors library from development branch?

            1 Reply Last reply
            0
            • G Offline
              G Offline
              GreyLinux
              wrote on last edited by
              #7

              Oh sorry.... its a raspberry pi 3.
              Yeah I git cloned the development version from the link in the guide not the master.

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

                it is quite odd that it crashes... I'd still suggest to try another image to do a comparison (i hope you have a spare microsd for the job)

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  GreyLinux
                  wrote on last edited by
                  #9

                  I have a few so this is definitely something I can look at to compare and see if it changes the outcome.

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    GreyLinux
                    wrote on last edited by GreyLinux
                    #10

                    Good news I deleted everything from the Mysensors gitclone including the file in /usr/local/bin/.

                    re-cloned the developement branch and ./configure for Ethernet without IP
                    address and after configuring the Ethernet gateway in paper UI its now showing as online
                    Thanks for your help @gohan

                    also I like the look of myscontroller but its only for windows I only have a linux machine.

                    Tim

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

                      there is an android app that does similar job, search play store for "mysgw".

                      G 1 Reply Last reply
                      0
                      • gohanG gohan

                        there is an android app that does similar job, search play store for "mysgw".

                        G Offline
                        G Offline
                        GreyLinux
                        wrote on last edited by
                        #12

                        @gohan brilliant ! Ive downloaded the app. Out of interest it asks for an IP address to set up.
                        When setting up the Ethernet gateway on the paper-UI I set the IP as local host 127.0.0.1 to make it work.

                        Do I just put the IP for the raspberry pi on the LAN, for the android app ?

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

                          yes, it requires the ip of the device running the ethernet gateway

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


                          13

                          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