sendwithretry to gateway fails after upgrade to v9 [solved]

Started by loseymark, July 25, 2019, 06:29:47 PM

sparky

Thats great you got it to work!  Some things going on in the family recently and have not had much time but I will definitely try it out.

Thanks for your time!  :)

edit;
Well it don't like me I guess.. only B0 came on.

[08-13-19_14:35:57.857] [LOG]    **** RUNNING SCHEDULED EVENT - nodeId:5 event:switchMoteBothON_PM...
[08-13-19_14:35:57.862] [LOG]    NODEACTION: {"nodeId":5,"action":"BTN1:1"}
[08-13-19_14:35:57.864] [LOG]    **** SCHEDULING EVENT - nodeId:5 event:switchMoteBothON_PM to run in ~23h59m
[08-13-19_14:35:57.878] [LOG]       [5] DB-Updates:1
[08-13-19_14:35:57.901] [LOG]    >: ACK:OK
[08-13-19_14:35:58.862] [LOG]    NODEACTION: {"nodeId":5,"action":"BTN0:1"}
[08-13-19_14:35:58.909] [LOG]    >: ACK:OK
[08-13-19_14:35:59.933] [LOG]    >: [5] BTN0:1 mptyString   [RSSI:-59][ACK-sent]
[08-13-19_14:35:59.937] [LOG]    post: /home/pi/gateway/data/db/0005_RSSI.bin[1565721359,-59]
[08-13-19_14:35:59.947] [LOG]       [5] DB-Updates:1


edit;
I increased the delay to 3 seconds and now it appears to be working.  Thanks again loseymark!

loseymark

That's great. One potential problem might be with multiple switchmotes all doing sendMessageToNode at the same time. I have two and it seemed to work OK.

I'm using httpendpoint for some RF Outlets and am having trouble with collisions, but I think it may be in the codesend code, not the gateway. I resolve it with delays in between the codesend calls.