Restricting Node Output Data to the Gateway
-
Hi Everyone,
I have a gateway that requests data from one node at a time. Each node streams data readings from analog inputs 1 through 8. Including my request, the code looks like this:
1;0;2;1;17;
0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:418
1;0;1;0;17;418
0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:406
1;0;1;0;17;406
0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:476
1;0;1;0;17;476
0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:520
1;0;1;0;17;520
0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:526
1;0;1;0;17;526
0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:350
1;0;1;0;17;350
0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:487
1;0;1;0;17;487
0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:343
1;0;1;0;17;343My question is, can I "mute" the node from sending lines that look like:
"0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:343" while sending lines that look like:
"1;0;1;0;17;343"? The information that I need is redundant and eliminating a line would result in less information to have to decode on my gateway side and would increase speed, as well. Another way of saying it is that I am only interested in the node ID and the payload, as I know the sensor ID base upon the data stream (0 - 7).Thank you for any suggestions - Baran
-
Disable debug in the configuration file..
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login