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. Raspberry Pi with openHAB and nRF24L01

Raspberry Pi with openHAB and nRF24L01

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 2 Posters 2.3k Views 2 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.
  • Z Offline
    Z Offline
    zombiee77
    wrote on last edited by
    #1

    Hello Forum,

    I am using the latest openHAB ( 2.2.0-1) and Arduino IDE 1.8.5!
    I installed the openHABian on the RPi and attached the NRF24 (with this description: https://www.mysensors.org/build/raspberry). I also installed the MySensors ans described in the link.

    I also installed a programm to the arduino (https://www.mysensors.org/build/binary). The Arduino has also a NRF24 attached.

    I have started the serial monitor in the Arduino IDE to see, what's happening in the Arduino:


    | / |_ / | ___ _ __ ___ ___ _ __ ___
    | |/| | | | _
    \ / _ \ _ \/ __|/ _ \|
    _/ __|
    | | | | |
    | || | / | | _ \ _ | | _
    |
    | |
    |_
    , |/ ___|| ||/_/|| |/
    |
    __/ 2.2.0

    16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
    26 TSM:INIT
    28 TSF:WUR:MS=0
    34 TSM:INIT:TSP OK
    36 TSM:FPAR
    40 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    249 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    256 TSF:MSG:FPAR OK,ID=0,D=1
    2048 TSM:FPAR:OK
    2048 TSM:ID
    2050 TSM:ID:REQ
    2054 TSF:MSG:SEND,255-255-0-0,s=2,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    4061 TSM:ID
    4061 TSM:ID:REQ
    4065 TSF:MSG:SEND,255-255-0-0,s=221,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    6072 TSM:ID
    6072 TSM:ID:REQ
    6076 TSF:MSG:SEND,255-255-0-0,s=184,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    8083 TSM:ID
    8083 TSM:ID:REQ
    8087 TSF:MSG:SEND,255-255-0-0,s=147,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    10094 !TSM:ID:FAIL
    10096 TSM:FAIL:CNT=1
    10098 TSM:FAIL:DIS
    10100 TSF:TDI:TSL

    This looks for me OK, but I am not pretty sure.
    Now I would like to anyhow see on the RPi, that there is a connection. But since I am total newbie, I would like to ask the forum for help.

    First question:
    How can I see on th RPi, that there is a connection between the Arduino node and the RPi?

    Second question:
    How can I bring this into openHAB?

    I would love to read meaningful answers.

    Thank you
    z

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

      you forgot to add node id to the node

      1 Reply Last reply
      1
      • Z Offline
        Z Offline
        zombiee77
        wrote on last edited by
        #3

        Hi Gohan,

        Thank you for the fast reply.
        I thought, I gave an ID:

        #define CHILD_ID 3

        BY the way, Do the Gateway also needs an ID?
        And where to Define?

        Kind regs from germany
        Z

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

          You have to use MY_NODE_ID, child ID is for the sensors. Gateway is always 0, no need to specify it.

          Z 1 Reply Last reply
          1
          • gohanG gohan

            You have to use MY_NODE_ID, child ID is for the sensors. Gateway is always 0, no need to specify it.

            Z Offline
            Z Offline
            zombiee77
            wrote on last edited by
            #5

            @gohan said in Raspberry Pi with openHAB and nRF24L01:

            MY_NODE_ID

            with

            #define MY_NODE_ID 1

            it works now!!!

            Thank you so much gohan.

            Which FAQ or HowTo I have missed to know this?

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

              https://www.mysensors.org/download/sensor_api_20

              Z 1 Reply Last reply
              1
              • gohanG gohan

                https://www.mysensors.org/download/sensor_api_20

                Z Offline
                Z Offline
                zombiee77
                wrote on last edited by
                #7

                @gohan THANX!!!

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


                30

                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