How to get weather on esp using API with key?

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
TD-er
Core team member
Posts: 9581
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to get weather on esp using API with key?

#101 Post by TD-er » 17 Jan 2025, 19:46

String operations are still very preliminary.
Typically those can only be used to send to somewhere, like formatting an URL in rules, writing to a display, used in MQTT topics, logs, email.
You cannot store them in a dummy task, or in a variable.
The only 'dynamic' use with strings is as an eventvalue to hand them over when generating and handling an event.

cccp79
Normal user
Posts: 33
Joined: 06 Nov 2023, 10:24
Location: RU

Re: How to get weather on esp using API with key?

#102 Post by cccp79 » 17 Jan 2025, 20:02

OK. Thanks. I've already figured it out from the forum posts.

cccp79
Normal user
Posts: 33
Joined: 06 Nov 2023, 10:24
Location: RU

Re: How to get weather on esp using API with key?

#103 Post by cccp79 » 17 Jan 2025, 20:13

Сan add this "%c_dew_th%" to documentation here https://www.letscontrolit.com/wiki/inde ... asyFormula , for the formula for calculating the dew point temperature

TD-er
Core team member
Posts: 9581
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How to get weather on esp using API with key?

#104 Post by TD-er » 17 Jan 2025, 20:15

Do not use the wiki as that's completely outdated.

Use the Read-the-docs instead: https://espeasy.readthedocs.io/en/latest/

Also all variables are available (including their current values) on the system variables page (see tools page)

User avatar
Ath
Normal user
Posts: 4151
Joined: 10 Jun 2018, 12:06
Location: NL

Re: How to get weather on esp using API with key?

#105 Post by Ath » 17 Jan 2025, 20:17

cccp79 wrote: 17 Jan 2025, 20:13 Сan add this "%c_dew_th%" to documentation here https://www.letscontrolit.com/wiki/inde ... asyFormula , for the formula for calculating the dew point temperature
The wiki is very outdated. What you're looking for is documented here
/Ton (PayPal.me)

cccp79
Normal user
Posts: 33
Joined: 06 Nov 2023, 10:24
Location: RU

Re: How to get weather on esp using API with key?

#106 Post by cccp79 » 17 Jan 2025, 20:23

Ath wrote: 17 Jan 2025, 20:17
cccp79 wrote: 17 Jan 2025, 20:13 Сan add this "%c_dew_th%" to documentation here https://www.letscontrolit.com/wiki/inde ... asyFormula , for the formula for calculating the dew point temperature
The wiki is very outdated. What you're looking for is documented here
Thanks. I found it difficult to find it, perhaps because of the translation difficulties(

marexsc
New user
Posts: 1
Joined: 05 Feb 2025, 08:06

Re: How to get weather on esp using API with key?

#107 Post by marexsc » 05 Feb 2025, 08:12

Is it possible to add support for the ST7796 display? Esp32 30pin, "easyesp display" + parser would be perfect, there is already ST7796

User avatar
Ath
Normal user
Posts: 4151
Joined: 10 Jun 2018, 12:06
Location: NL

Re: How to get weather on esp using API with key?

#108 Post by Ath » 05 Feb 2025, 14:21

marexsc wrote: 05 Feb 2025, 08:12 Is it possible to add support for the ST7796 display? Esp32 30pin, "easyesp display" + parser would be perfect, there is already ST7796
Not sure if I understand your question completely.
This Weather API feature is available in the MAX builds by default, and can be enabled for Custom builds. The documentation for how to create a Custom build of ESPEasy is here.
MAX builds include all plugins, and 99.9% of available features, but are only available for ESP32 units with 8MB or 16MB Flash memory.
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests