Hi,
I am using ESP Easy with an DHT22, BMP085 and and two resitors to measure VCC with the ADC. All those values should be posted to thingspeak. For this my setup is working well, but the data is posted by a connection for each of the 3 sensors independendly. I can see this in the channel data on thingspeak.
created_at,entry_id,field1,field2,field3,field4,field5
2017-03-18 00:53:55 +0100,2636,,,,,3.60 (ADC Value)
2017-03-18 01:03:43 +0100,2637,9.60,70.60,,, (Values of DHT22)
2017-03-18 01:03:59 +0100,2638,,,9.38,997.86, (Values of BMP085)
2017-03-18 01:04:16 +0100,2639,,,,,3.59
2017-03-18 01:14:03 +0100,2640,9.60,70.60,,,
2017-03-18 01:14:20 +0100,2641,,,9.32,997.89,
2017-03-18 01:14:36 +0100,2642,,,,,3.38
2017-03-18 01:24:24 +0100,2643,9.60,70.50,,,
2017-03-18 01:24:40 +0100,2644,,,9.31,997.88,
2017-03-18 01:24:56 +0100,2645,,,,,3.59
2017-03-18 01:34:45 +0100,2646,9.60,70.40,,,
2017-03-18 01:35:01 +0100,2647,,,9.31,997.57,
2017-03-18 01:35:17 +0100,2648,,,,,3.59
is it possible to combine all values in one post to thingspeak? Am I missing some setting for it?
This would be great, because number of posts to thingspeak is limited per month and because the battery live should be better as well.
Thanks
Andreas
Combine posts of multiple values to thingspeak into one ape-request
Moderators: grovkillen, Stuntteam, TD-er
Re: Combine posts of multiple values to thingspeak into one ape-request
1. enable NTP
2. enable Rules (both under advanced settings)
3. add a "dummy device" with Simulate Data Type set to what you want...
4. ad a rule like this on
4 is the tasknumber of the dummy device, the part between [] are the name of the sensor and the value name of the sensor
5. enable the dummy device to send data to controller
...this should do the job
see here for more info:
https://www.letscontrolit.com/wiki/inde ... rial_Rules
https://www.letscontrolit.com/wiki/inde ... mmy_Device
2. enable Rules (both under advanced settings)
3. add a "dummy device" with Simulate Data Type set to what you want...
4. ad a rule like this on
Code: Select all
On Clock#Time do // this event comes in every minute
TaskValueSet 4,1,[Luchtdruk#Temperature]
TaskValueSet 4,2,[Temp/hum#RH]
TaskValueSet 4,3,[Luchtdruk#Pressure]
endon
5. enable the dummy device to send data to controller
...this should do the job
see here for more info:
https://www.letscontrolit.com/wiki/inde ... rial_Rules
https://www.letscontrolit.com/wiki/inde ... mmy_Device
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 17 guests