unwanted data whw sending readings to thingspeak
Mckenzie Gibson
on 10 Nov 2023
Latest activity Reply by Christopher Stapels
on 11 Nov 2023
when I examine the data stream on an arduino ide I get a lot of "stuff" which I dont understand.
1 what does it mean?
2 how do I prevent it?
4 Comments
Time DescendingIs the problem that unwanted data shows up in your channel?
The only think I see in what you shared that seems ThingSpoeak related is this line:
ThingSpeak.setField(n+2, soilMoistureValue);
but that line doesnt write any data to ThingSpeak without the .writeFields command.
Tell us more about your hardware, and show the relevant parts of your code that interact with ThingSpeak. Then show us what you are observing (I think you have that here) then tell us what you would like to see.
I should have added an example
08:34:18.136 -> :wr 1 0
08:34:18.136 -> :wrc 1 1 0
08:34:18.136 -> :wr 2 0
08:34:18.136 -> :wrc 2 2 0
08:34:18.136 -> :wr 14 0
08:34:18.136 -> :wrc 14 14 0
08:34:18.263 -> :ack 23
08:34:18.357 -> :ack 201
08:34:18.404 -> :rn 308
08:34:18.404 -> :c0 1, 308
08:34:18.404 -> :close
08:34:18.404 -> Channel update successful.
08:34:18.404 -> ThingSpeak.setField(n+2, soilMoistureValue); 273
08:34:18.404 -> 2 soilmoisturepercent = 142%
Sign in to participate