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. HASSIO Raspberry Pi + RF-NANO. Am I doing it right?

HASSIO Raspberry Pi + RF-NANO. Am I doing it right?

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 5 Posters 474 Views 5 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.
  • M Offline
    M Offline
    mioim
    wrote on last edited by
    #1

    Hi guys. First time trying MySensors, it's not working, and I am not sure if I am following the correct approach:

    I have a working HASSIO (0.100.2) installation running on a Raspberry Pi 2+. I am trying to add a DHT-11 sensor (as the first shot with MySensors). The sensor is connected to a Keywish RF-NANO board (it's a nano clone with a NRF24 in the same board). When running a simple arduino sketch to read the DHT11 it works fine.

    On the Raspberry Pi I have connected a standalone NRF24L01 to the gpio following this: https://www.mysensors.org/build/raspberry

    Issues: First, Home Assistant should recognize the NRF24L01 and assign it to a /dev/ttyXXXX but it is not happening... I assume that this is because there is no sensor connected yet, but I'm still not sure. Maybe the whole setup is wrong.

    On the RF-NANO I load the example sketch from here: https://www.mysensors.org/build/humidity

    When started, I get this in the serial monitor:

    16:47:53.193 -> 16 MCO:BGN:INIT NODE,CP=RNNNA---,REL=255,VER=2.3.1
    16:47:53.193 -> 26 TSM:INIT
    16:47:53.193 -> 27 TSF:WUR:MS=0
    16:47:53.193 -> 33 !TSM:INIT:TSP FAIL
    16:47:53.193 -> 35 TSM:FAIL:CNT=1
    16:47:53.228 -> 37 TSM:FAIL:DIS
    16:47:53.228 -> 38 TSF:TDI:TSL

    I have NOT connected a capacitor yet (have to order it) in the NRF24L01 of the RasPi but I have placed both emitter and receptor close to each other with no difference.

    I am not sure if this is just a communication problem that will be solved with the capacitor, or the issue is with Home Assistant which is not detecting the NRF24L01, or with the NRF24L01, not being a NRF24L01+ (I have just noticed it)

    Am I doing it right? Is this the right way of connecting a mysensor to a HASSIO installation on a Raspberry Pi?

    Any help is really appreciated.

    mfalkviddM 1 Reply Last reply
    0
    • M mioim

      Hi guys. First time trying MySensors, it's not working, and I am not sure if I am following the correct approach:

      I have a working HASSIO (0.100.2) installation running on a Raspberry Pi 2+. I am trying to add a DHT-11 sensor (as the first shot with MySensors). The sensor is connected to a Keywish RF-NANO board (it's a nano clone with a NRF24 in the same board). When running a simple arduino sketch to read the DHT11 it works fine.

      On the Raspberry Pi I have connected a standalone NRF24L01 to the gpio following this: https://www.mysensors.org/build/raspberry

      Issues: First, Home Assistant should recognize the NRF24L01 and assign it to a /dev/ttyXXXX but it is not happening... I assume that this is because there is no sensor connected yet, but I'm still not sure. Maybe the whole setup is wrong.

      On the RF-NANO I load the example sketch from here: https://www.mysensors.org/build/humidity

      When started, I get this in the serial monitor:

      16:47:53.193 -> 16 MCO:BGN:INIT NODE,CP=RNNNA---,REL=255,VER=2.3.1
      16:47:53.193 -> 26 TSM:INIT
      16:47:53.193 -> 27 TSF:WUR:MS=0
      16:47:53.193 -> 33 !TSM:INIT:TSP FAIL
      16:47:53.193 -> 35 TSM:FAIL:CNT=1
      16:47:53.228 -> 37 TSM:FAIL:DIS
      16:47:53.228 -> 38 TSF:TDI:TSL

      I have NOT connected a capacitor yet (have to order it) in the NRF24L01 of the RasPi but I have placed both emitter and receptor close to each other with no difference.

      I am not sure if this is just a communication problem that will be solved with the capacitor, or the issue is with Home Assistant which is not detecting the NRF24L01, or with the NRF24L01, not being a NRF24L01+ (I have just noticed it)

      Am I doing it right? Is this the right way of connecting a mysensor to a HASSIO installation on a Raspberry Pi?

      Any help is really appreciated.

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

      Welcome to the forum @mioim !

      TSM:INIT:TSP FAIL means that the raspberry pi is unable to initialize the nrf24. The most common cause is a mistake in the wiring.

      Check the wiring again. If you don't find anything wrong, post a few photos and we'll try to help you.
      You can also try switching the nrf24, in case it is faulty.

      The tty should show up even without getting messages from the rf-nano.

      M 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        Welcome to the forum @mioim !

        TSM:INIT:TSP FAIL means that the raspberry pi is unable to initialize the nrf24. The most common cause is a mistake in the wiring.

        Check the wiring again. If you don't find anything wrong, post a few photos and we'll try to help you.
        You can also try switching the nrf24, in case it is faulty.

        The tty should show up even without getting messages from the rf-nano.

        M Offline
        M Offline
        mioim
        wrote on last edited by
        #3

        Thank you, @mfalkvidd !

        I have double-checked the wiring and seems OK to me:

        Pin 17 (Raspberry pi 2+) (3.3v) - VCC (NRF24)
        Pin 19 - MOSI
        Pin 20 - GND
        Pin 21 - MISO
        Pin 22 - CE
        Pin 23 - SCK
        Pin 24 - CSN

        I have searched further and I am not sure if the installation and configuration of the mysensors gateway is still required on the raspberry pi as described here: https://www.mysensors.org/build/raspberry. The raspberry pi is running hassio and it's not possible to use 'git' or 'make' there.

        I cannot find clear information about installing mysensors on hassio apart from a few forum posts with issues.

        mfalkviddM 1 Reply Last reply
        0
        • M mioim

          Thank you, @mfalkvidd !

          I have double-checked the wiring and seems OK to me:

          Pin 17 (Raspberry pi 2+) (3.3v) - VCC (NRF24)
          Pin 19 - MOSI
          Pin 20 - GND
          Pin 21 - MISO
          Pin 22 - CE
          Pin 23 - SCK
          Pin 24 - CSN

          I have searched further and I am not sure if the installation and configuration of the mysensors gateway is still required on the raspberry pi as described here: https://www.mysensors.org/build/raspberry. The raspberry pi is running hassio and it's not possible to use 'git' or 'make' there.

          I cannot find clear information about installing mysensors on hassio apart from a few forum posts with issues.

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

          @mioim if hassio works like any other linux flavor, the instructions provided on MySensors should be sufficient.

          But from your description it seems like hassio is too special :(

          1 Reply Last reply
          0
          • N Offline
            N Offline
            Nightbodom
            wrote on last edited by
            #5

            I think mysensors can't be installed on hassio except maybe if you know how to create addon for hassio. For me it was easier to create serial gateway on arduino NANO and connect it through USB to rPi3 with hassio.

            1 Reply Last reply
            1
            • Dave MyersD Offline
              Dave MyersD Offline
              Dave Myers
              wrote on last edited by
              #6

              Seconding @Nightbodom -- Can't currently use RPi GPIO connection for NRF radio when running HassIO. You must use a serial, ethernet, or mqtt MySensors gateway.

              And if you are going to need new hardware to set this up - you might want to look at ESP8266/32 as your gateway device as it has wifi/ethernet builtin.

              1 Reply Last reply
              1
              • M Offline
                M Offline
                mioim
                wrote on last edited by
                #7

                Thank you, @Nightbodom and @Dave-Myers

                So, it looks like getting the RN-NANO boards and the NRF wasn't the best idea...

                What do you think about to use another raspberry pi (a Zero this time, running Raspbian for example) as a mqtt broker, connecting the NRF to it? The Zero hosting the mqtt broker and also the mysensors gateway? Or they must be on different devices?

                1 Reply Last reply
                0
                • N Offline
                  N Offline
                  nikosk
                  wrote on last edited by
                  #8

                  I’m running Home Assistant with NRF24L01 with no problems at all.
                  But I have manually installed it on Raspbian for that exact reason. You could do nothing by yourself when using HASSIO.
                  It’s extremely easy to install it manually but not sure how easy it would be to migrate your existing environment.
                  It may be worth it though. You get your freedom to do whatever you want with your Raspberry, back.

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


                  14

                  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