-2

I am trying to read data from thingspeak for esp8266 but I couldn't do that. There is a link: GET https://api.thingspeak.com/channels/123456/fields/1.json?api_key=***********&results=2 But how can I use it?

8
  • are you able to connect to some other website like stackexchange.com?
    – jsotola
    Commented May 24, 2020 at 7:12
  • I don't know. But probably I can.
    – Ege
    Commented May 24, 2020 at 7:47
  • I believe Thingspeak supports MQTT. That would be preferable in my opinion.
    – StarCat
    Commented May 24, 2020 at 9:34
  • How are you doing that? Please post your code
    – Zaffresky
    Commented May 24, 2020 at 10:19
  • @StarCat What is MQTT.
    – Ege
    Commented May 24, 2020 at 10:24

1 Answer 1

1

I directly code the esp8266 with thingSpeak library. Anyone who is interested look here:How to read data from thingspeak. And it worked. Thanks for your replies.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.