ST=FAIL?!
-
Compiled the humidity sketch. Looking at the output of serial monitor i see messages as
send: 11-11-0-0 s=0,c=1,t=1,pt=7,l=5,sg=0,st=fail:53.1 H: 53.10
So everything seems working except the string st=fail:53.1
As i understood from the API - it's the submessage type which gives the fail? What might have went wrong?
-
Hi @moskovskiy82!
st=fail" means the receiving node or gateway has problems sending ack back to the sending node.
Try adding a capacitor to the receiving radio, change powersource, move reciever/sender closer to eachother or build a repeater.
-
The only thing i have changed from the stock sketch is this as i'm using openhab and wifi mqtt client gateway
gw.begin(NULL,11,true);
-
@moskovskiy82
It has probably nothing with the sketch to do - its hardware (Range/Power issues).
If you think its a software issue, try clearing the eeprom http://www.mysensors.org/build/debug#clearing-eeprom and reupload your sketch.
-
You know that your node is also acting as a repeater? If that's not what you want, you need to do
gw.begin(NULL,11,false);
-
i Know it's in repeater mode.
I couldn't find any downsides in turning it on except that the sleep function had to be disabled. It still acts as a sensor node