Author Topic: sendwithretry to gateway fails after upgrade to v9 [solved]  (Read 794 times)

sparky

  • Sr. Member
  • ****
  • Posts: 260
  • Country: us
Re: sendwithretry to gateway fails after upgrade to v9 [solved]
« Reply #30 on: August 12, 2019, 10:45:01 PM »
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.

Code: [Select]
[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!
« Last Edit: August 13, 2019, 09:16:35 PM by sparky »

loseymark

  • Jr. Member
  • **
  • Posts: 57
  • Country: us
Re: sendwithretry to gateway fails after upgrade to v9 [solved]
« Reply #31 on: August 14, 2019, 08:41:30 PM »
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.