How to get weather on esp using API with key?
Moderators: grovkillen, Stuntteam, TD-er
How to get weather on esp using API with key?
Hello everyone, is it possible to use Generic HTTP Advanced to get weather data using the API with a key, receive a json response and analyze its desired values on a dummy device? I forgot to say - this is an https request form "https://api.weather.........." . I guess it's possible, but I don't understand how and where to specify the API key? Then, to parse the json, I understand you need to use the MQTT import plugin? But I can't get a response from the server (404). Help me figure this out. Thank you.
Re: How to get weather on esp using API with key?
Please check out this pending pull request: #4856 where a code-change is suggested to also retrieve weather info from OpenWeatherMap (starting from this comment).
Currently, ESPEasy doesn't support this, mostly because the response from most webservers will be overloading the limited resources of specifically an ESP8266.
Currently, ESPEasy doesn't support this, mostly because the response from most webservers will be overloading the limited resources of specifically an ESP8266.
/Ton (PayPal.me)
Re: How to get weather on esp using API with key?
Ok, thanks for link. Can such a task be solved by self-creating a plugin based on arduino codes, just for my needs? I want to try, learn how to create simple plugins according to the instructions.
Re: How to get weather on esp using API with key?
Please note you cannot use HTTPS (with the S) in ESPEasy
Who is online
Users browsing this forum: Ahrefs [Bot] and 31 guests