Getting started with MySensors

  • Hi!

    Thanks to great help from the community I've managed to set up an ethernet gateway using Arduino UNO and a W5100 ethernet shield.

    Now I'm building my first sensor node based on Arduino Pro Mini but I have no idea on how to proceed. I'm using Home Assistant as my controller.

    I've made a sample sensor assembled with dupont cables to test different sensors before building real nodes. I am able to program it with the FTDI adapter but have no idea on how to present it to Home Assistant or even know if its communicating with the gateway.

    I couldn't find a tutorial online on how to integrate MySensors and Home Assistant, please help.

    Here's a picture of my POC sensor node (a cap to the radio module will be soldered today after I visit the local electronics store to resupply my stock).

  • Mod

    @Misna have you seen the "Plugin and install instructions" at ?

  • Yes I have. When I upload the sample scetch from HA site I get this from serial monitor:

    3 TSM:INIT
    4 TSF:WUR:MS=0
    15 TSF:SID:OK,ID=1
    17 TSM:FPAR
    53 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2062 TSM:FPAR
    2098 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4108 TSM:FPAR
    4144 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6154 TSM:FPAR
    6190 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8198 !TSM:FPAR:FAIL
    8199 TSM:FAIL:CNT=1
    8201 TSM:FAIL:PDT
    18204 TSM:FAIL:RE-INIT
    18206 TSM:INIT
    18213 TSM:INIT:TSP OK
    18215 TSM:INIT:STATID=1
    18217 TSF:SID:OK,ID=1

    Now I have no idea where to start debugging this. In the scetch there is some lines that should print status messages to serial line but I can't see any of those.

    What should I check next? I don't know if the node even has radio access to the gateway.

  • Mod

    I don't see any capacitor on the vcc of the nrf24 radio

  • Hi!

    This project has been on hold since I burned my FTDI adapter. Back to you in a few weeks when a new one arrives from China 🙂

Log in to reply

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.