Where does the fail in the debug output come from ?



  • Recently started with mysensors with Domoticz as controller. It's great stuf, I use a serial gateway connected to a USB port on the raspberry pi running domotics. It works, the gateway is registered in domotics, i have build a simple input sensor on an Arduino UNO that toggles every 5 seconds. Status is shown correctly in domoticz so all looks good. Until I look at the the serial debug output on the sensor, I see frequent fails, like this -
    send: 10-10-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:1
    send: 10-10-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
    send: 10-10-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:1
    send: 10-10-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
    send: 10-10-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:1
    send: 10-10-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
    send: 10-10-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:1
    send: 10-10-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:0
    send: 10-10-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:1

    My question is where does this fail come from ? Is it from the controller ? the gateway ? or the sensor itself ?
    I have caps on the radio, tried getting closer to the gateway but no change.

    Thanks !


    Log in to reply
     

  • Hardware Contributor

    Hi @Rolo6442u - welcome!

    st=fail means the radiotraffic between the node and gateway fails in some way.
    Sometimes it can reach the gw, but some more skilled in the code need to present you with the details.

    If you use a nrf radio and you dont use a 4.7uF cap on VCC-GND thats a good advice.


Log in to reply
 

2 out of 2

Suggested Topics


  • Troubleshooting   19 Oct 2020, 17:34

    10

  • Bug Reports   24 Mar 2014, 22:52

    4

  • Troubleshooting   13 Oct 2020, 08:03

    4

  • General Discussion   23 Feb 2025, 14:57

    9
  • 23

  • General Discussion   28 days ago

    95

1
Online

11.5k
Users

11.1k
Topics

112.8k
Posts