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 -
Unblocking loop when DHCP fails
Troubleshooting • 17 Jul 2020, 14:54 • NeoX 19 Oct 2020, 17:34 -
Unable to pair
Troubleshooting • 3 Oct 2020, 09:16 • Tomáš Mengler 13 Oct 2020, 08:03 -
Email notifications received twice
General Discussion • 6 Feb 2023, 16:15 • Jodaille 5 days ago -
No merge into master in the last 5 years, should we use development?
General Discussion • 23 Sept 2024, 17:48 • kiesel 7 days ago -
ESP-NOW
General Discussion • 22 Apr 2018, 05:58 • NeverDie 17 Feb 2025, 22:24