-->
Page 5 of 5

Re: using ESP8266 with two DHT22's to switch fan on/off?

PostPosted: Thu Jul 30, 2015 7:24 pm
by user1829
brilliant, thanks!

i will give it a go - that thingspeak actually seems much more powerful than i realised!

Re: using ESP8266 with two DHT22's to switch fan on/off?

PostPosted: Wed Jan 20, 2016 6:20 pm
by JuanG
Hello !
I am on a project very much the same as yours.
I am already reading my DHT22´s and uploadint to ThingSpeak with ESP8266-12 boards. That is working fine.

But I need help with the other side: I don´t know how to write the task for Tasker to download a specific channel´s field, and read THE LAST value available. How to write the http request for tasker, and then parse the result. Can you post the task you have used in Tasker?

By the way, I am also noob at coding, just enough to copy-modify-adapt-and-go. :)

*** EDIT: I have just made it work ***

Thank you !
Juan.

Re: using ESP8266 with two DHT22's to switch fan on/off?

PostPosted: Wed Jan 20, 2016 10:43 pm
by user1829
Hi juan,

I'm doing all my 'tasks' in my code using if/else statements ... Only using thingspeak.com for data logging...

Re: using ESP8266 with two DHT22's to switch fan on/off?

PostPosted: Wed Jan 20, 2016 10:52 pm
by user1829
Probably should also add that I ditched LUA in favour of arduino code.

If you're just a code hacker like me, forgot LUA and get learning the Arduino code :-)