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. Troubleshooting
  3. Error compiling mysensors in beaglebone black

Error compiling mysensors in beaglebone black

Scheduled Pinned Locked Moved Troubleshooting
15 Posts 3 Posters 108 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.
  • mfalkviddM mfalkvidd

    Maybe the info in https://forum.mysensors.org/topic/5668/mysensors-gateway-on-orangepi-zero-opi can help. I have no idea how the spidev stuff works, but I imagine it can be different on beagle compared to raspberry.

    R Offline
    R Offline
    ruben_gr
    wrote on last edited by
    #6

    @mfalkvidd Why you think that this error is related to SPI? i'm not using RF modules neither GPIO, just ethernet.

    mfalkviddM 1 Reply Last reply
    0
    • R ruben_gr

      @mfalkvidd Why you think that this error is related to SPI? i'm not using RF modules neither GPIO, just ethernet.

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

      @ruben_gr because the gateway fails to init the nrf24 radio.

      Add --my-transport=none to the configure command and go back to the make step if you don't want to use the default setting of nrf24.

      R 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @ruben_gr because the gateway fails to init the nrf24 radio.

        Add --my-transport=none to the configure command and go back to the make step if you don't want to use the default setting of nrf24.

        R Offline
        R Offline
        ruben_gr
        wrote on last edited by ruben_gr
        #8

        @mfalkvidd thank you.

        I want to connect MySensors gateway to my homeassistant. I check the ipaddress and are correct. Why do i get this error? Or how can i debug it?

        Jun 20 10:21:22 DEBUG GWT:TPS:ETH OK
        Jun 20 10:21:22 ERROR connect: Connection refused
        Jun 20 10:21:22 ERROR failed to connect
        Jun 20 10:21:22 DEBUG GWT:TPS:ETH OK
        Jun 20 10:21:22 ERROR connect: Connection refused
        Jun 20 10:21:22 ERROR failed to connect
        

        homeassistant.PNG

        mfalkviddM 1 Reply Last reply
        0
        • R ruben_gr

          @mfalkvidd thank you.

          I want to connect MySensors gateway to my homeassistant. I check the ipaddress and are correct. Why do i get this error? Or how can i debug it?

          Jun 20 10:21:22 DEBUG GWT:TPS:ETH OK
          Jun 20 10:21:22 ERROR connect: Connection refused
          Jun 20 10:21:22 ERROR failed to connect
          Jun 20 10:21:22 DEBUG GWT:TPS:ETH OK
          Jun 20 10:21:22 ERROR connect: Connection refused
          Jun 20 10:21:22 ERROR failed to connect
          

          homeassistant.PNG

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

          @ruben_gr are you still using —my-controller-ip-address in the configure command? In that case remove it, your controller will connect to the gateway.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            ruben_gr
            wrote on last edited by
            #10

            It works, thank you for your patience!!

            But just to understand it, why i don't need —my-controller-ip-address?

            Btw, i want to build my own serial modules to connect to this gateway. Can you share with me the RS485 protocol of MySensors? Can i use RS485 just as a serial port without addresses?

            Thank you again.

            mfalkviddM 1 Reply Last reply
            0
            • R ruben_gr

              It works, thank you for your patience!!

              But just to understand it, why i don't need —my-controller-ip-address?

              Btw, i want to build my own serial modules to connect to this gateway. Can you share with me the RS485 protocol of MySensors? Can i use RS485 just as a serial port without addresses?

              Thank you again.

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

              @ruben_gr the technical reason is that the default mode is that the gateway listens for incoming connections from a controller. Since you've configured your controller to connect to the gateway, the default mode is what you need.

              Some controllers accept (expect?) the gateway to connect to the controller instead. That's when my-controller-ip-address is used.

              About rs485: I don't know. I have never used rs485. But MySensors expects to talk to other Mysensors nodes, you can't add stuff that doesn't speak the mysensors protocol. Mysensors uses node ID for addressing. https://www.mysensors.org/about/overview might be useful.

              R 1 Reply Last reply
              1
              • mfalkviddM mfalkvidd

                @ruben_gr the technical reason is that the default mode is that the gateway listens for incoming connections from a controller. Since you've configured your controller to connect to the gateway, the default mode is what you need.

                Some controllers accept (expect?) the gateway to connect to the controller instead. That's when my-controller-ip-address is used.

                About rs485: I don't know. I have never used rs485. But MySensors expects to talk to other Mysensors nodes, you can't add stuff that doesn't speak the mysensors protocol. Mysensors uses node ID for addressing. https://www.mysensors.org/about/overview might be useful.

                R Offline
                R Offline
                ruben_gr
                wrote on last edited by
                #12

                @mfalkvidd Understood.

                Right, but if i use the same protocol i think that it's possible to connect both. I want to connect BeagleBone to PIC microcontroller, that is not supported by MySensors, but i will try to migrate from arduino to PIC. Thank you.

                mfalkviddM 1 Reply Last reply
                0
                • R ruben_gr

                  @mfalkvidd Understood.

                  Right, but if i use the same protocol i think that it's possible to connect both. I want to connect BeagleBone to PIC microcontroller, that is not supported by MySensors, but i will try to migrate from arduino to PIC. Thank you.

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

                  @ruben_gr thanks for explaining. Your strategy makes sense, at least to me :-) If you find migration of the entire MySensors library too cumbersome, you could probably make do with just migrating the transport protocol parts.

                  R 1 Reply Last reply
                  0
                  • mfalkviddM mfalkvidd

                    @ruben_gr thanks for explaining. Your strategy makes sense, at least to me :-) If you find migration of the entire MySensors library too cumbersome, you could probably make do with just migrating the transport protocol parts.

                    R Offline
                    R Offline
                    ruben_gr
                    wrote on last edited by
                    #14

                    @mfalkvidd Yes. Thank you!

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      JeeLet
                      wrote on last edited by
                      #15

                      http://learntohackit.com/intro/# it can be useful information ???

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


                      17

                      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