# \[App\]\[Pro\] OpenWeather

**URL:** <https://community.homey.app/t/app-pro-openweather/61482>\
**Category:** Apps\
**Tags:** app, tools, weather, homey-pro\
**Created:** [March 8, 2022, 5:55pm UTC](https://community.homey.app/t/app-pro-openweather/61482 "2022-03-08T17:55:16Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [March 30, 2022, 10:45am UTC](https://community.homey.app/t/app-pro-openweather/61482/21 "2022-03-30T10:45:44Z")

</div>

@RonnyW, this is today’s precipitation forecast. That sounds funny via TTS through a speaker. 😂

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/4/347d774b8b59513857c675553ca9c624f3928e2e.png)

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [March 30, 2022, 10:56am UTC](https://community.homey.app/t/app-pro-openweather/61482/22 "2022-03-30T10:56:44Z")

</div>

Hm, seems JavaScript can’t calculate x100 😄  
I’ll convert it to a integer value.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [March 31, 2022, 5:58pm UTC](https://community.homey.app/t/app-pro-openweather/61482/23 "2022-03-31T17:58:48Z")

</div>

OpenWeather has a free air pollution API, too. So I just included a current **AQI (air quality index) device and a hourly forecast** (up to 96 hours).  
It’s working the same way like the weather devices. First add a current AirQuality device for your location. Then you can add depending hourly forecast devices.

Testversion (currently) 1.1.0:

> **[OpenWeather](https://homey.app/en-us/app/nu.baretta.openweathermap/OpenWeather/)**
>
> Get current weather data and forecasts from openweathermap.org

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/9/c902372db3eb21e9fa47a96ea07890f956d5c226.png)

OWM has no icons or graphics, so I just made a simple b/w icon. Probably I will add some color in future 🙂

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 1, 2022, 2:07pm UTC](https://community.homey.app/t/app-pro-openweather/61482/24 "2022-04-01T14:07:02Z")

</div>

The new testversion only includes some description updates and new device images for the app store.

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/a/4a62cfe545ae16b064bb2ac550f8236acccf2d56.png)

---

<div class="post-metadata">

**Author:** ![Undertaker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/undertaker/32/53278_2.png) [@Undertaker](https://community.homey.app/u/Undertaker)\
**Post date:** [April 1, 2022, 2:40pm UTC](https://community.homey.app/t/app-pro-openweather/61482/25 "2022-04-01T14:40:55Z")

</div>

Great, I’m making myself a dashboard right now

 ![Screenshot_20220401-164040_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/5/05c57006d3fd632a096f1d2a9431e16fe9917458.jpeg)

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 1, 2022, 4:04pm UTC](https://community.homey.app/t/app-pro-openweather/61482/26 "2022-04-01T16:04:23Z")

</div>

Hi Uwe,  
you could try the custom HACS frontend “Bar Card”

> **[GitHub - custom-cards/bar-card: Customizable Animated Bar card for Home...](https://github.com/custom-cards/bar-card)**
>
> Customizable Animated Bar card for Home Assistant Lovelace - GitHub - custom-cards/bar-card: Customizable Animated Bar card for Home Assistant Lovelace

That saves a lot of space using horizontal bars in a grid layout (horizontal stack).  
In addition you can set different colors for value ranges.

I use it for my pollen data and warnings.  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/7/97e9afb00a6eda8a972c3d318cf1d46ddd8d2931.png)

```auto
type: custom:bar-card
entities:
  - entity: sensor.XXXX_hochste_warnstufe
    direction: right
    name: ' '
    icon: mdi:weather-lightning-rainy
    min: '0'
    max: '5'
    severity:
      - from: '0'
        to: '0'
        color: teal
      - from: '1'
        to: '1'
        color: goldenrod
      - from: '2'
        to: '2'
        color: orange
      - from: '3'
        to: '3'
        color: darkorange
      - from: '4'
        to: '4'
        color: OrangeRed
      - from: '5'
        to: '5'
        color: Red

```

---

<div class="post-metadata">

**Author:** ![Martin\_von\_Rotz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_von_rotz/32/48286_2.png) [@Martin\_von\_Rotz](https://community.homey.app/u/Martin_von_Rotz)\
**Post date:** [April 3, 2022, 10:13am UTC](https://community.homey.app/t/app-pro-openweather/61482/27 "2022-04-03T10:13:11Z")

</div>

Great App! If possible I would like to use it to retract some sunshades in case of a hailstorm. Is it somehow possible to filter the events for a flow?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 3, 2022, 10:24am UTC](https://community.homey.app/t/app-pro-openweather/61482/28 "2022-04-03T10:24:11Z")

</div>

> [@Martin\_von\_Rotz](#):
>
> If possible I would like to use it to retract some sunshades in case of a hailstorm. I

Hi,  
you can use the weather condition or detail condition as trigger (The main weathercondition has changed / The specific weathercondition has changed).  
In the AND part of the flow you can use the conditions to filter a conditions you like to react on (The weather is/isn’t / The weather in detail is/isn’t). Just select the calue in the combobox.  
There you can select the possible conditions provided by OWM. Just check the conditions, if something fits your needs (e.g. thundersturm/extreme as weather condition).

All OWM conditions you can find here as list:  
[https://openweathermap.org/weather-conditions#Weather-Condition-Codes-2](https://openweathermap.org/weather-conditions#Weather-Condition-Codes-2)

---

<div class="post-metadata">

**Author:** ![Martin\_von\_Rotz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_von_rotz/32/48286_2.png) [@Martin\_von\_Rotz](https://community.homey.app/u/Martin_von_Rotz)\
**Post date:** [April 3, 2022, 11:36am UTC](https://community.homey.app/t/app-pro-openweather/61482/29 "2022-04-03T11:36:16Z")

</div>

Thanks for the fast response. Unfortunately there is no equivalent tag for hail. I found some info where there used to be a 900 code group where hail was one of the conditions (906).

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [April 3, 2022, 11:38am UTC](https://community.homey.app/t/app-pro-openweather/61482/30 "2022-04-03T11:38:32Z")

</div>

I have installed the OpenWeather about 3 weeks ago and used the new API.  
The app is updating but when I have installed a location and I use the interval 5 minutes, I choose 5 minutes by installation, why is the last update of “Neerslag” 1 day ago? Neerslag means Regen i think? And it is raining now.  
Buienradar say it is starting to rain in about 15 minutes, and that was correct.  
I have also installed a location with a interval of 3 hours and the last update of “Neerslag” was 16 minutes aga and said 0,18mm.

Or am I something doing wrong?

And a flow card like this, is that correct?  
IF Neerslag veranderd  
EN neerslag is meer dan 1 (logc card)  
THEN push message, Het gaat regenen.?

Thanks.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 3, 2022, 12:56pm UTC](https://community.homey.app/t/app-pro-openweather/61482/31 "2022-04-03T12:56:16Z")

</div>

> [@Martin\_von\_Rotz](#):
>
> I found some info where there used to be a 900 code group where hail was one of the conditions (906)

Is OWN using this code group, too? Or only other weather services.  
Could you please share a link where you fond this information? If the documentation is only outdated, I could add these codes. But we have to wait until hail to know OWN is really poroviding these codes in the API 😄

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 3, 2022, 1:06pm UTC](https://community.homey.app/t/app-pro-openweather/61482/32 "2022-04-03T13:06:45Z")

</div>

Hi Mike,

the API documentation says:  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/2/426631425150a40fc129bc2aa048aca1ef6f2206.png)

> **[One Call API: weather data for any geographical coordinate - OpenWeatherMap](https://openweathermap.org/api/one-call-api)**
>
> Make only one API call and get all essential weather data for some specific location with our new OpenWeather One Call API. Current weather
> Minute forecast, Hourly forecast for 48 hours, Daily forecast for 7 days, Government weather alerts,...

So the current weather device (location) is shoiwing the amount of the last hour.  
The forecast device is showing the estimated amount of rain in that hour. The forecast tiem you can see in the device details. Even if the forecast time stays the same, the forecast data can change.  
For hourly forecast, the rain ist the estimated amount for that hour.  
For daily forecast it’s the estimated amount for that day.  
These values can be used to calculate the amount to check if need to water the garden 🙂

To know if it’s starting to rain at the moment (or the next minutes), the best aproach would be to react ont the weather change:  
WHEN weather has changed  
AND weather is “Raining” (select the condition from the combobox in the condition card).  
That way you shold get a really good alert if it’s starting to rain.

I hope I could answer your question or help with your target.  
If not, just ask again 😉

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 3, 2022, 1:33pm UTC](https://community.homey.app/t/app-pro-openweather/61482/33 "2022-04-03T13:33:15Z")

</div>

> [@Martin\_von\_Rotz](#):
>
> Unfortunately there is no equivalent tag for hail.

How about

> ![Screenshot_20220403-153239_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/d/fd8489db95d2d415fcf3da9c6d91a81140ab4a2a.jpeg)

It’s a weird description for hail, but in the end hail = frozen rain, isn’t it?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 3, 2022, 1:43pm UTC](https://community.homey.app/t/app-pro-openweather/61482/34 "2022-04-03T13:43:58Z")

</div>

> [@Peter\_Kawa](#):
>
> It’s a weird description for hail, but in the end hail = frozen rain, isn’t it?

Isn’t it a “warning” for rain that is freezing on the street?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 3, 2022, 1:50pm UTC](https://community.homey.app/t/app-pro-openweather/61482/35 "2022-04-03T13:50:40Z")

</div>

Edit: I requested this list @ OWM one day, and the Dutch description is

> [@Vraag over de ingebouwde weer data](https://community.homey.app/t/vraag-over-de-ingebouwde-weer-data/35248/13):
>
> 511: koude buien

which is translated als “cold showers”…  
I never heard anyone use the phrase “koude buien” though.  
But it matches better with “hail” than “frozen streets” imho

* * *

That could be the case also.  
In Dutch that phenomenon is called ‘ijzel’. Ggl translate = black ice.

It’s a bit odd the ‘hail’ condition is not in the list 😬

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [April 3, 2022, 2:49pm UTC](https://community.homey.app/t/app-pro-openweather/61482/36 "2022-04-03T14:49:27Z")

</div>

@RonnyW thank you for youre explanation.  
I think I will figure it out.  
If I have more questions I will ask here,

---

<div class="post-metadata">

**Author:** ![Martin\_von\_Rotz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_von_rotz/32/48286_2.png) [@Martin\_von\_Rotz](https://community.homey.app/u/Martin_von_Rotz)\
**Post date:** [April 3, 2022, 2:50pm UTC](https://community.homey.app/t/app-pro-openweather/61482/37 "2022-04-03T14:50:48Z")

</div>

For some freezing rain could maybe be hail, for me it would be rain that freezes immediately on extremely cold surfaces. The “american” term would be black ice I think. 😊

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 3, 2022, 3:35pm UTC](https://community.homey.app/t/app-pro-openweather/61482/38 "2022-04-03T15:35:36Z")

</div>

What you could do is (theoretical);  
Find out where it’s (about to be) hailing.  
Change your location to that location (…More\>Settings\>location).  
Look up the weather description in the OW device tiles

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 3, 2022, 11:25pm UTC](https://community.homey.app/t/app-pro-openweather/61482/39 "2022-04-03T23:25:19Z")

</div>

> [@Mike1233](#):
>
> why is the last update of “Neerslag” 1 day ago

In theory, this might be an explanation: if the forecast doesn’t change, the indicator doesn’t get updated.  
Here’s a part of my 1h forecast device:  
(6 mins, 5 hr, 18 days, 1 month)

 ![Screenshot_20220404-011709_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/2/92d220c5e3a3ae9813d0d15f21ce35553362d8d9.jpeg)

**But** , overhere it snowed quite a bit the other day, but it is not reflected in the 1h forecast…

The “current weather” device however, did show snow (and rain) updates 3 days ago:

 ![Screenshot_20220404-012918_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/3/b3df6f7dcd42ddd20eea7add679e61c5b3f765b4.jpeg)

.  
Further comparisons  
24h forecast  
(Rain: 41mins - Snow: 1 month)

 ![Screenshot_20220404-014256_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/d/1dfc5a8370b1fdb17332b63c846eb22af512b408.jpeg)

5 days forecast  
(Rain & snow updated 2hrs ago)

 ![Screenshot_20220404-014206_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/7/b7549ea7e6a2d85068bd946ac4fc8386bdc1ad8b.jpeg)

.  
I made virtual weather devices for my dash, they get recorded in Insights as a side effect.  
But, for Rain, the current- and 1h forecasts don’t reflect reality

 ![Screenshot_20220404-011415_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/7/378fad0957c4def1c43b3fab5fdfe3f138e3fe79.jpeg)

.  
I know with the ‘old’ API, the current rain status did not get any updates.  
Can this be related?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 4, 2022, 6:22am UTC](https://community.homey.app/t/app-pro-openweather/61482/40 "2022-04-04T06:22:58Z")

</div>

If you need a “real” rain sensor you can build something like this:

> [@Anfänger in Homey \> Überläufer von Homee](https://community.homey.app/t/anfanger-in-homey-uberlaufer-von-homee/24267/117):
>
> Hier noch ein DIY, Aqara-Fenstersensor+Regenplatine. Funktioniert super +1 Die unten angebrachte Folie dient als “Ableiter” für Tropfen, die sonst an der Kante hängen bleiben und für Kontakt sorgen. Für das aktuelle Wetter kann man aktuell noch die DarkSky-App nehmen. Bei der OpenweatherMap-App funktioniert aktuell nur das aktuelle Wetter. Vorhersagen gehen nicht mehr, weil OWM die API für Free-Accounts gesperrt hat. Bei aktuellen Wetter kann man aber auch ganz gut mit Fl…

You only need a rain board and a binary sensor (Aqara window sensor with soldered wires at the reed contact).

I use this to get a voice alert from Alexa if it’s starting to rain and a roof window is still open.

[Previous page](https://community.homey.app/t/app-pro-openweather/61482.md?page=1)

[Next page](https://community.homey.app/t/app-pro-openweather/61482.md?page=3)
