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:1My 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 !
-
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.
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Unable to pair
Troubleshooting • 3 Oct 2020, 09:16 • Tomáš Mengler 13 Oct 2020, 08:03 -
Unblocking loop when DHCP fails
Troubleshooting • 17 Jul 2020, 14:54 • NeoX 19 Oct 2020, 17:34 -
ESP32 with LoRa
General Discussion • 31 Jan 2023, 11:06 • dhanushmh 8 days ago -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 4 Mar 2025, 00:29 -
Why is the output of ACS712 current measurement module unchanged?
General Discussion • 19 Jul 2021, 09:09 • Tessie T 12 days ago