Search found 8 matches

by sanc0
22 Jan 2024, 08:12
Forum: ESP Easy: Software
Topic: Get value from reply of a http request to thingspeak
Replies: 18
Views: 3162

Re: Get value from reply of a http request to thingspeak

chromo23 wrote: 21 Jan 2024, 23:46 Here you go :)
Work fine, thanks. ;)
TD-er wrote: 22 Jan 2024, 00:37 I strongly suggest you'd also look into replacing that 1M flash chip if possible for a 4M flash chip.
That will save you a lot of problems updating the build later
It's a simple ESP01 Relay Switch, hopefully it won't need to be updated.
by sanc0
21 Jan 2024, 23:21
Forum: ESP Easy: Software
Topic: Get value from reply of a http request to thingspeak
Replies: 18
Views: 3162

Re: Get value from reply of a http request to thingspeak

Hi chromo23. I have a problem with the ESP8266_1M version because it does not return EVENT: ThingspeakReply, return only EVENT: http#api.thingspeak.com=200. I tested it on the ESP01 and on the Wemos D1 mini with the same result. Can you please compile a new working ESP8266_1M.bin for me? (ESP8266_4M...
by sanc0
21 Jan 2024, 21:33
Forum: ESP Easy: Software
Topic: Get value from reply of a http request to thingspeak
Replies: 18
Views: 3162

Re: Get value from reply of a http request to thingspeak

chromo23 wrote: 21 Jan 2024, 16:49 I get it. It was the second post you looked at.
(i changed it now...)
Now everything is clear and understandable. Thanks again, great job. ;)
Sanc0
by sanc0
21 Jan 2024, 14:25
Forum: ESP Easy: Software
Topic: Get value from reply of a http request to thingspeak
Replies: 18
Views: 3162

Re: Get value from reply of a http request to thingspeak

Thanks a lot, I'm testing it now. Edit: I messed around a bit, but it works now. :) In the Github example you have: EVENT: reply#api.thingspeak.com The real is: EVENT: ThingspeakReply Since i was already in a branch where thinkspeak and openweather events are integrated you have them both. Thank you...
by sanc0
21 Jan 2024, 08:06
Forum: ESP Easy: Software
Topic: Get value from reply of a http request to thingspeak
Replies: 18
Views: 3162

Re: Get value from reply of a http request to thingspeak

Thank you very much. I need Thingspeakreply mod, ESP8266_4M1M for tests and ESP8266_1M for ESP01 relay. (I don't know Openweather, I'll check it out, thanks for the tip.)
by sanc0
20 Jan 2024, 22:15
Forum: ESP Easy: Software
Topic: Get value from reply of a http request to thingspeak
Replies: 18
Views: 3162

Re: Get value from reply of a http request to thingspeak

Thank you for your response. Would it be possible to implement Mathworks' Thingspeak Library in the future? https://github.com/mathworks/thingspeak-arduino Using this library, a few lines of code can read field values ​​from Thingspeak. I've been using ESP Easy for many years and it's a great produc...
by sanc0
20 Jan 2024, 20:57
Forum: ESP Easy: Software
Topic: Get value from reply of a http request to thingspeak
Replies: 18
Views: 3162

Re: Get value from reply of a http request to thingspeak

I tried the HTTP Advanced plugin. HTTP GET reads the value of the field, but I don't know how to use the value as DummyDevice.

Log report:

Code: Select all

HTTP : C011 GET... HTTP code: 200 0
HTTP : C011 GET... HTTP code: 200 1
(field value is 0 and 1)

Can anyone help?
Sanc0
by sanc0
20 Jan 2024, 15:23
Forum: ESP Easy: Software
Topic: Get value from reply of a http request to thingspeak
Replies: 18
Views: 3162

Re: Get value from reply of a http request to thingspeak

I also advocate for the introduction of a reading function. I need it to control the switch over Internet.
Many simple arduino applications use it commonly.

"api.thingspeak.com/channels/xxxxxx/fields/x/last"
return 0=switch off
return 1=switch on

Thanks, Sanc0