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. Please help to build Raspberry Pi Gateway

Please help to build Raspberry Pi Gateway

Scheduled Pinned Locked Moved Troubleshooting
23 Posts 5 Posters 2.7k Views 4 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.
  • B Offline
    B Offline
    bigvlad
    wrote on last edited by
    #1

    Hello everybody!
    Please help to build Raspberry Pi Gateway.

    There is Raspberry Pi 3 model B.

    I do everything according to the instructions:
    https://www.mysensors.org/build/raspberry

    The compound NRF24L01 +

    Configuration:
    ./configure --my-transport = nrf24 --my-rf24-irq-pin = 15 --my-gateway = serial --my-serial-is-pty --my-serial-pty = / dev / ttyMySensorsGateway - -my-leds-err-pin = 12 --my-leds-rx-pin = 16 --my-leds-tx-pin = 18

    When you install branch master - I get an error
    "mysgw: Starting gateway ...
    mysgw: Protocol version - 2.2.0-beta
    mysgw: MCO: BGN: INIT GW, CP = RNNG ---, VER = 2.2.0-beta
    mysgw: TSM: INIT
    mysgw: TSF: WUR: MS = 0
    mysgw:! TSM: INIT: TSP FAIL
    mysgw: TSM: FAIL: CNT = 1
    mysgw: TSM: FAIL: PDT "

    If I install --branch development that all does not work.

    For Domoticz, I install the port / dev / ttyUSB20.

    Perhaps there is another instruction?

    mfalkviddM dbemowskD 2 Replies Last reply
    0
    • B bigvlad

      Hello everybody!
      Please help to build Raspberry Pi Gateway.

      There is Raspberry Pi 3 model B.

      I do everything according to the instructions:
      https://www.mysensors.org/build/raspberry

      The compound NRF24L01 +

      Configuration:
      ./configure --my-transport = nrf24 --my-rf24-irq-pin = 15 --my-gateway = serial --my-serial-is-pty --my-serial-pty = / dev / ttyMySensorsGateway - -my-leds-err-pin = 12 --my-leds-rx-pin = 16 --my-leds-tx-pin = 18

      When you install branch master - I get an error
      "mysgw: Starting gateway ...
      mysgw: Protocol version - 2.2.0-beta
      mysgw: MCO: BGN: INIT GW, CP = RNNG ---, VER = 2.2.0-beta
      mysgw: TSM: INIT
      mysgw: TSF: WUR: MS = 0
      mysgw:! TSM: INIT: TSP FAIL
      mysgw: TSM: FAIL: CNT = 1
      mysgw: TSM: FAIL: PDT "

      If I install --branch development that all does not work.

      For Domoticz, I install the port / dev / ttyUSB20.

      Perhaps there is another instruction?

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

      Welcome to the MySensors community @bigvlad

      mysgw:! TSM: INIT: TSP FAIL
      

      means the Raspberry Pi is unable to communicate with the nrf24 radio. The most common cause is wrong wiring. Double-check the wiring. If you can't find any fault, post photos. Getting a new pair of eyes often helps to discover mistakes.

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

        BTW, why are you using the beta version?

        1 Reply Last reply
        0
        • B bigvlad

          Hello everybody!
          Please help to build Raspberry Pi Gateway.

          There is Raspberry Pi 3 model B.

          I do everything according to the instructions:
          https://www.mysensors.org/build/raspberry

          The compound NRF24L01 +

          Configuration:
          ./configure --my-transport = nrf24 --my-rf24-irq-pin = 15 --my-gateway = serial --my-serial-is-pty --my-serial-pty = / dev / ttyMySensorsGateway - -my-leds-err-pin = 12 --my-leds-rx-pin = 16 --my-leds-tx-pin = 18

          When you install branch master - I get an error
          "mysgw: Starting gateway ...
          mysgw: Protocol version - 2.2.0-beta
          mysgw: MCO: BGN: INIT GW, CP = RNNG ---, VER = 2.2.0-beta
          mysgw: TSM: INIT
          mysgw: TSF: WUR: MS = 0
          mysgw:! TSM: INIT: TSP FAIL
          mysgw: TSM: FAIL: CNT = 1
          mysgw: TSM: FAIL: PDT "

          If I install --branch development that all does not work.

          For Domoticz, I install the port / dev / ttyUSB20.

          Perhaps there is another instruction?

          dbemowskD Offline
          dbemowskD Offline
          dbemowsk
          wrote on last edited by
          #4

          @bigvlad Make sure when you are wiring to the GPIO port on the Pi, that you are using the pin number and NOT the GPIO number for the column labeled raspberry.
          0_1522794052224_9f90570f-fdd3-4796-99d0-0b7e503ee36a-image.png
          This is stated right in the docs for building the gateway.
          0_1522793754737_0f3a1d28-fe19-4fac-9d1d-e09353b1fbfb-image.png

          Don't sweat it though. If that was your mistake, it is a common one.

          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

          1 Reply Last reply
          1
          • F Offline
            F Offline
            fals3illusion
            wrote on last edited by
            #5

            @mfalkvidd said in Please help to build Raspberry Pi Gateway:

            Welcome to the MySensors community @bigvlad

            mysgw:! TSM: INIT: TSP FAIL
            

            means the Raspberry Pi is unable to communicate with the nrf24 radio. The most common cause is wrong wiring. Double-check the wiring. If you can't find any fault, post photos. Getting a new pair of eyes often helps to discover mistakes.

            i am having this same problem. I have tried so many different radios/multiple RPI's with openhabian on them. When running the test it always says.. Checked the wiring 100x and i know i have the wiring correct. have tried it with and without a 10uf capacitor across VCC and GND. I did verify I am getting 3.3v across GND and VCC.

            I've tried both
            git clone https://github.com/mysensors/MySensors.git --branch master
            AND
            git clone https://github.com/mysensors/MySensors.git --branch development

            [09:52:00] openhabian@openHABianPi:~/MySensors$ sudo ./bin/mysgw
            Apr 19 09:52:02 INFO Starting gateway...
            Apr 19 09:52:02 INFO Protocol version - 2.3.0-alpha
            Apr 19 09:52:02 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,VER=2.3.0-alpha
            Apr 19 09:52:02 DEBUG TSF:LRT:OK
            Apr 19 09:52:02 DEBUG TSM:INIT
            Apr 19 09:52:02 DEBUG TSF:WUR:MS=0
            Apr 19 09:52:02 DEBUG !TSM:INIT:TSP FAIL
            Apr 19 09:52:02 DEBUG TSM:FAIL:CNT=1
            Apr 19 09:52:02 DEBUG TSM:FAIL:DIS
            Apr 19 09:52:02 DEBUG TSF:TDI:TSL

            Any ideas guys i'm going crazy trying to get this up and running?

            mfalkviddM gohanG 2 Replies Last reply
            0
            • F fals3illusion

              @mfalkvidd said in Please help to build Raspberry Pi Gateway:

              Welcome to the MySensors community @bigvlad

              mysgw:! TSM: INIT: TSP FAIL
              

              means the Raspberry Pi is unable to communicate with the nrf24 radio. The most common cause is wrong wiring. Double-check the wiring. If you can't find any fault, post photos. Getting a new pair of eyes often helps to discover mistakes.

              i am having this same problem. I have tried so many different radios/multiple RPI's with openhabian on them. When running the test it always says.. Checked the wiring 100x and i know i have the wiring correct. have tried it with and without a 10uf capacitor across VCC and GND. I did verify I am getting 3.3v across GND and VCC.

              I've tried both
              git clone https://github.com/mysensors/MySensors.git --branch master
              AND
              git clone https://github.com/mysensors/MySensors.git --branch development

              [09:52:00] openhabian@openHABianPi:~/MySensors$ sudo ./bin/mysgw
              Apr 19 09:52:02 INFO Starting gateway...
              Apr 19 09:52:02 INFO Protocol version - 2.3.0-alpha
              Apr 19 09:52:02 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,VER=2.3.0-alpha
              Apr 19 09:52:02 DEBUG TSF:LRT:OK
              Apr 19 09:52:02 DEBUG TSM:INIT
              Apr 19 09:52:02 DEBUG TSF:WUR:MS=0
              Apr 19 09:52:02 DEBUG !TSM:INIT:TSP FAIL
              Apr 19 09:52:02 DEBUG TSM:FAIL:CNT=1
              Apr 19 09:52:02 DEBUG TSM:FAIL:DIS
              Apr 19 09:52:02 DEBUG TSF:TDI:TSL

              Any ideas guys i'm going crazy trying to get this up and running?

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

              Welcome to the MySensors forums @fals3illusion !
              Could you post photos of your wiring? Maybe we can help spot something.
              Could you also post the full ./configure command you used?
              Were there any warnings or errors when running make?

              F 1 Reply Last reply
              0
              • F fals3illusion

                @mfalkvidd said in Please help to build Raspberry Pi Gateway:

                Welcome to the MySensors community @bigvlad

                mysgw:! TSM: INIT: TSP FAIL
                

                means the Raspberry Pi is unable to communicate with the nrf24 radio. The most common cause is wrong wiring. Double-check the wiring. If you can't find any fault, post photos. Getting a new pair of eyes often helps to discover mistakes.

                i am having this same problem. I have tried so many different radios/multiple RPI's with openhabian on them. When running the test it always says.. Checked the wiring 100x and i know i have the wiring correct. have tried it with and without a 10uf capacitor across VCC and GND. I did verify I am getting 3.3v across GND and VCC.

                I've tried both
                git clone https://github.com/mysensors/MySensors.git --branch master
                AND
                git clone https://github.com/mysensors/MySensors.git --branch development

                [09:52:00] openhabian@openHABianPi:~/MySensors$ sudo ./bin/mysgw
                Apr 19 09:52:02 INFO Starting gateway...
                Apr 19 09:52:02 INFO Protocol version - 2.3.0-alpha
                Apr 19 09:52:02 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,VER=2.3.0-alpha
                Apr 19 09:52:02 DEBUG TSF:LRT:OK
                Apr 19 09:52:02 DEBUG TSM:INIT
                Apr 19 09:52:02 DEBUG TSF:WUR:MS=0
                Apr 19 09:52:02 DEBUG !TSM:INIT:TSP FAIL
                Apr 19 09:52:02 DEBUG TSM:FAIL:CNT=1
                Apr 19 09:52:02 DEBUG TSM:FAIL:DIS
                Apr 19 09:52:02 DEBUG TSF:TDI:TSL

                Any ideas guys i'm going crazy trying to get this up and running?

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

                @fals3illusion did you try another image for raspberry like plain raspian or dietpi?

                1 Reply Last reply
                0
                • mfalkviddM mfalkvidd

                  Welcome to the MySensors community @bigvlad

                  mysgw:! TSM: INIT: TSP FAIL
                  

                  means the Raspberry Pi is unable to communicate with the nrf24 radio. The most common cause is wrong wiring. Double-check the wiring. If you can't find any fault, post photos. Getting a new pair of eyes often helps to discover mistakes.

                  F Offline
                  F Offline
                  fals3illusion
                  wrote on last edited by
                  #8
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • mfalkviddM mfalkvidd

                    Welcome to the MySensors forums @fals3illusion !
                    Could you post photos of your wiring? Maybe we can help spot something.
                    Could you also post the full ./configure command you used?
                    Were there any warnings or errors when running make?

                    F Offline
                    F Offline
                    fals3illusion
                    wrote on last edited by
                    #9

                    @mfalkvidd

                    sudo ./configure --my-transport=nrf24 --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1

                    I did not see any warnings, maybe i am missing something.... here is full code that posts after make

                    [13:42:36] openhabian@openHABianPi:~/MySensors$ make
                    gcc -MT build/drivers/Linux/log.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GA TEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_ CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_ MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c dri vers/Linux/log.c -o build/drivers/Linux/log.o
                    gcc -MT build/drivers/Linux/config.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/config.c -o build/drivers/Linux/config.o
                    g++ -MT build/drivers/Linux/StdInOutStream.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/StdInOutStream.cpp -o build/drivers/Linux/StdInOutStream.o
                    g++ -MT build/drivers/Linux/IPAddress.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/IPAddress.cpp -o build/drivers/Linux/IPAddress.o
                    g++ -MT build/drivers/Linux/noniso.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/noniso.cpp -o build/drivers/Linux/noniso.o
                    g++ -MT build/drivers/Linux/GPIO.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/GPIO.cpp -o build/drivers/Linux/GPIO.o
                    g++ -MT build/drivers/Linux/SPIDEV.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/SPIDEV.cpp -o build/drivers/Linux/SPIDEV.o
                    g++ -MT build/drivers/Linux/Print.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/Print.cpp -o build/drivers/Linux/Print.o
                    g++ -MT build/drivers/Linux/EthernetClient.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/EthernetClient.cpp -o build/drivers/Linux/EthernetClient.o
                    g++ -MT build/drivers/Linux/compatibility.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/compatibility.cpp -o build/drivers/Linux/compatibility.o
                    g++ -MT build/drivers/Linux/SerialPort.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/SerialPort.cpp -o build/drivers/Linux/SerialPort.o
                    g++ -MT build/drivers/Linux/Stream.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/Stream.cpp -o build/drivers/Linux/Stream.o
                    g++ -MT build/drivers/Linux/interrupt.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/interrupt.cpp -o build/drivers/Linux/interrupt.o
                    g++ -MT build/drivers/Linux/SoftEeprom.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/SoftEeprom.cpp -o build/drivers/Linux/SoftEeprom.o
                    g++ -MT build/drivers/Linux/EthernetServer.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/EthernetServer.cpp -o build/drivers/Linux/EthernetServer.o
                    g++ -MT build/examples_linux/mysgw.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c examples_linux/mysgw.cpp -o build/examples_linux/mysgw.o
                    gcc -MT build/drivers/BCM/bcm2835.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/BCM/bcm2835.c -o build/drivers/BCM/bcm2835.o
                    g++ -MT build/drivers/BCM/BCM.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/BCM/BCM.cpp -o build/drivers/BCM/BCM.o
                    g++ -MT build/drivers/BCM/SPIBCM.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/BCM/SPIBCM.cpp -o build/drivers/BCM/SPIBCM.o
                    g++ -MT build/drivers/BCM/Wire.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/BCM/Wire.cpp -o build/drivers/BCM/Wire.o
                    g++ -MT build/drivers/BCM/RPi.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=127,0,0,1 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/BCM/RPi.cpp -o build/drivers/BCM/RPi.o
                    g++ -pthread -o bin/mysgw build/drivers/Linux/log.o build/drivers/Linux/config.o build/drivers/Linux/StdInOutStream.o build/drivers/Linux/IPAddress.o build/drivers/Linux/noniso.o build/drivers/Linux/GPIO.o build/drivers/Linux/SPIDEV.o build/drivers/Linux/Print.o build/drivers/Linux/EthernetClient.o build/drivers/Linux/compatibility.o build/drivers/Linux/SerialPort.o build/drivers/Linux/Stream.o build/drivers/Linux/interrupt.o build/drivers/Linux/SoftEeprom.o build/drivers/Linux/EthernetServer.o build/examples_linux/mysgw.o build/drivers/BCM/bcm2835.o build/drivers/BCM/BCM.o build/drivers/BCM/SPIBCM.o build/drivers/BCM/Wire.o build/drivers/BCM/RPi.o

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

                      Try to compile it as ethernet just as test

                      F 1 Reply Last reply
                      0
                      • gohanG gohan

                        Try to compile it as ethernet just as test

                        F Offline
                        F Offline
                        fals3illusion
                        wrote on last edited by
                        #11

                        @gohan

                        sorry im fairly new.. just this command correct?
                        sudo ./configure --my-gateway=ethernet --my-port=5003

                        F 1 Reply Last reply
                        0
                        • F fals3illusion

                          @gohan

                          sorry im fairly new.. just this command correct?
                          sudo ./configure --my-gateway=ethernet --my-port=5003

                          F Offline
                          F Offline
                          fals3illusion
                          wrote on last edited by
                          #12

                          @fals3illusion said in Please help to build Raspberry Pi Gateway:

                          @gohan

                          sorry im fairly new.. just this command correct?
                          sudo ./configure --my-gateway=ethernet --my-port=5003

                          if this is correct... still the same thing...

                          [14:03:59] openhabian@openHABianPi:~/MySensors$ sudo ./bin/mysgw
                          Apr 19 14:04:02 INFO Starting gateway...
                          Apr 19 14:04:02 INFO Protocol version - 2.3.0-alpha
                          Apr 19 14:04:02 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,VER=2.3.0-alpha
                          Apr 19 14:04:02 DEBUG TSF:LRT:OK
                          Apr 19 14:04:02 DEBUG TSM:INIT
                          Apr 19 14:04:02 DEBUG TSF:WUR:MS=0
                          Apr 19 14:04:02 DEBUG !TSM:INIT:TSP FAIL
                          Apr 19 14:04:02 DEBUG TSM:FAIL:CNT=1
                          Apr 19 14:04:02 DEBUG TSM:FAIL:DIS
                          Apr 19 14:04:02 DEBUG TSF:TDI:TSL

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

                            Use master branch pls and post a photo of your setup. Did you try other Linux images other than openhabian?

                            F 2 Replies Last reply
                            0
                            • gohanG gohan

                              Use master branch pls and post a photo of your setup. Did you try other Linux images other than openhabian?

                              F Offline
                              F Offline
                              fals3illusion
                              wrote on last edited by
                              #14

                              @gohan

                              sorry, whats master branch? :see_no_evil:

                              I have yet to try any other images besides openhabian with MySensors. I'm at work now and in the process of installing rasbian on my test PI, once i get the rasbian configured, openhab and MQTT installed. I'll start to test and post updates.

                              Thanks for all the help! I try not to post unless I've researched for at least a whole day and ran out of all options!

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

                                The mysensors master branch from github that is version 2.2

                                Just install raspian, enable spi and compile the ethernet gateway, skip Openhab and mqtt for now so we keep fewer variables into play.

                                F 1 Reply Last reply
                                0
                                • gohanG gohan

                                  The mysensors master branch from github that is version 2.2

                                  Just install raspian, enable spi and compile the ethernet gateway, skip Openhab and mqtt for now so we keep fewer variables into play.

                                  F Offline
                                  F Offline
                                  fals3illusion
                                  wrote on last edited by fals3illusion
                                  #16

                                  @gohan
                                  duh, sorry had a brain fart.

                                  Still got the same thing...
                                  pi@raspberrypi:~/MySensors $ sudo ./bin/mysgw -d
                                  mysgw: Starting gateway...
                                  mysgw: Protocol version - 2.2.0
                                  mysgw: MCO:BGN:INIT GW,CP=RNNGL---,VER=2.2.0
                                  mysgw: TSF:LRT:OK
                                  mysgw: TSM:INIT
                                  mysgw: TSF:WUR:MS=0
                                  mysgw: !TSM:INIT:TSP FAIL
                                  mysgw: TSM:FAIL:CNT=1
                                  mysgw: TSM:FAIL:DIS
                                  mysgw: TSF:TDI:TSL

                                  Could it be that all of my radio's are bad?

                                  1 Reply Last reply
                                  0
                                  • gohanG gohan

                                    Use master branch pls and post a photo of your setup. Did you try other Linux images other than openhabian?

                                    F Offline
                                    F Offline
                                    fals3illusion
                                    wrote on last edited by fals3illusion
                                    #17

                                    @gohan :

                                    Use master branch pls and post a photo of your setup. Did you try other Linux images other than openhabian?
                                    Here are pictures ...
                                    https://www.use.com/editset.pl?set=4a4cfdfdbf7a504cf3c0
                                    https://www.use.com/supersize.pl?set=b59559d26af25f54aca6&p=1
                                    https://www.use.com/supersize.pl?set=6c01364aef48f2db2854&p=1
                                    https://www.use.com/supersize.pl?set=6c01364aef48f2db2854&p=2

                                    mfalkviddM 1 Reply Last reply
                                    1
                                    • F Offline
                                      F Offline
                                      fals3illusion
                                      wrote on last edited by
                                      #18

                                      Sorry for long post. This is what reads on SSH

                                      pi@raspberrypi:~/MySensors $ sudo ./configure --my-gateway=ethernet --my-port=5003
                                      [SECTION] Detecting target machine.
                                      [OK] machine detected: SoC=BCM2837, Type=rpi3, CPU=armv7l.
                                      [SECTION] Detecting SPI driver.
                                      [OK] SPI driver detected:BCM.
                                      [SECTION] Detecting init system.
                                      [OK] init system detected: systemd.
                                      [SECTION] Saving configuration.
                                      [SECTION] Cleaning previous builds.
                                      [OK] Finished.

                                      pi@raspberrypi:~/MySensors $ make
                                      gcc -MT build/drivers/Linux/log.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/log.c -o build/drivers/Linux/log.o
                                      g++ -MT build/drivers/Linux/noniso.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/noniso.cpp -o build/drivers/Linux/noniso.o
                                      g++ -MT build/drivers/Linux/GPIO.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/GPIO.cpp -o build/drivers/Linux/GPIO.o
                                      g++ -MT build/drivers/Linux/SPIDEV.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/SPIDEV.cpp -o build/drivers/Linux/SPIDEV.o
                                      g++ -MT build/drivers/Linux/Print.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/Print.cpp -o build/drivers/Linux/Print.o
                                      g++ -MT build/drivers/Linux/EthernetClient.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/EthernetClient.cpp -o build/drivers/Linux/EthernetClient.o
                                      g++ -MT build/drivers/Linux/SerialPort.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/SerialPort.cpp -o build/drivers/Linux/SerialPort.o
                                      g++ -MT build/drivers/Linux/Stream.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/Stream.cpp -o build/drivers/Linux/Stream.o
                                      g++ -MT build/drivers/Linux/IPAddress.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/IPAddress.cpp -o build/drivers/Linux/IPAddress.o
                                      g++ -MT build/drivers/Linux/compatibility.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/compatibility.cpp -o build/drivers/Linux/compatibility.o
                                      g++ -MT build/drivers/Linux/interrupt.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/interrupt.cpp -o build/drivers/Linux/interrupt.o
                                      g++ -MT build/drivers/Linux/SerialSimulator.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/SerialSimulator.cpp -o build/drivers/Linux/SerialSimulator.o
                                      g++ -MT build/drivers/Linux/SoftEeprom.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/SoftEeprom.cpp -o build/drivers/Linux/SoftEeprom.o
                                      g++ -MT build/drivers/Linux/EthernetServer.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/Linux/EthernetServer.cpp -o build/drivers/Linux/EthernetServer.o
                                      g++ -MT build/examples_linux/mysgw.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c examples_linux/mysgw.cpp -o build/examples_linux/mysgw.o
                                      gcc -MT build/drivers/BCM/bcm2835.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/BCM/bcm2835.c -o build/drivers/BCM/bcm2835.o
                                      g++ -MT build/drivers/BCM/BCM.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/BCM/BCM.cpp -o build/drivers/BCM/BCM.o
                                      g++ -MT build/drivers/BCM/SPIBCM.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/BCM/SPIBCM.cpp -o build/drivers/BCM/SPIBCM.o
                                      g++ -MT build/drivers/BCM/Wire.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/BCM/Wire.cpp -o build/drivers/BCM/Wire.o
                                      g++ -MT build/drivers/BCM/RPi.o -MMD -MP -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 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/BCM/RPi.cpp -o build/drivers/BCM/RPi.o
                                      g++ -pthread -o bin/mysgw build/drivers/Linux/log.o build/drivers/Linux/noniso.o build/drivers/Linux/GPIO.o build/drivers/Linux/SPIDEV.o build/drivers/Linux/Print.o build/drivers/Linux/EthernetClient.o build/drivers/Linux/SerialPort.o build/drivers/Linux/Stream.o build/drivers/Linux/IPAddress.o build/drivers/Linux/compatibility.o build/drivers/Linux/interrupt.o build/drivers/Linux/SerialSimulator.o build/drivers/Linux/SoftEeprom.o build/drivers/Linux/EthernetServer.o build/examples_linux/mysgw.o build/drivers/BCM/bcm2835.o build/drivers/BCM/BCM.o build/drivers/BCM/SPIBCM.o build/drivers/BCM/Wire.o build/drivers/BCM/RPi.o

                                      1 Reply Last reply
                                      0
                                      • F fals3illusion

                                        @gohan :

                                        Use master branch pls and post a photo of your setup. Did you try other Linux images other than openhabian?
                                        Here are pictures ...
                                        https://www.use.com/editset.pl?set=4a4cfdfdbf7a504cf3c0
                                        https://www.use.com/supersize.pl?set=b59559d26af25f54aca6&p=1
                                        https://www.use.com/supersize.pl?set=6c01364aef48f2db2854&p=1
                                        https://www.use.com/supersize.pl?set=6c01364aef48f2db2854&p=2

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

                                        @fals3illusion the wiring looks good to me.

                                        1 Reply Last reply
                                        0
                                        • F Offline
                                          F Offline
                                          fals3illusion
                                          wrote on last edited by
                                          #20

                                          @gohan

                                          So, turns out that i had a pack of 10 sensors and just my luck the three that i happened to grab first to try and use were DOA. The other 7 work like a charm...

                                          Thanks for all of the help, will try not and use MQTT and openhab on it

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


                                          15

                                          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