# \[APP\]\[Pro\] Knmi (Dutch weather, for Homey firmware v5 or above)

**URL:** <https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228>\
**Category:** Apps\
**Created:** [August 31, 2020, 10:01pm UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228 "2020-08-31T22:01:12Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [February 16, 2021, 8:38am UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/44 "2021-02-16T08:38:25Z")

</div>

> [@Dennis\_H74](#):
>
> Can be done with your suggestion but if you have winddata that shows actual degrees instead of pieces of a pie that would be more precise ( not sure if possible with your weather distributor )
> 
> How and why do I need to make a " pull request " ??

I do not receive more precise data then I currently give. So the best I can do is translate wind direction ‘N’ into 0 degrees and ‘S’ into 180 degrees and so on. That same thing is already possible for you with the JavaScript logic app I linked earlier.

For the slightly cloudy or clear condition I already implemented something similar in the app, that condition checks if the recap to lowercase is any of [‘onbewolkt’, ‘licht bewolkt’, ‘lichtbewolkt’, ‘zonnig’].

The documentation of the API states that ‘lichtbewolkt’ and ‘zonnig’ would never occur, but I found that they actually do and that sometimes they start with uppercase and sometimes they don’t.

Anyways, you could indeed implement your flow if recap is any of [‘NO’, ‘ONO’, ‘O’, ‘OZO’, ‘ZO’, ‘ZZO’] and you would have the equivalent. I understand that it is easier if such logic is included in the app itself, and at some point I might add it, but I don’t think I will be able to finish and test [that](https://github.com/bochove/nl.bochove.knmi/pull/2) this week.

When I would implement this, I would build it so that the order of the letters is no longer relevant, two ‘z’ and one ‘o’ would then result in a correct number of degrees regardless of the order they are given and regardless of upper or lower case (since the before mentioned recap is not that strictly implemented either, I would need to compensate for that).

A pull request is for a developer to implement these changes and ask for them to be merged into the repository, so that these changes could be deployed to the Athom store.

---

<div class="post-metadata">

**Author:** ![DirkdeDraak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkdedraak/32/8620_2.png) [@DirkdeDraak](https://community.homey.app/u/DirkdeDraak)\
**Post date:** [February 18, 2021, 9:16pm UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/45 "2021-02-18T21:16:34Z")

</div>

Thanx for the App!  
Much better than my HTTP Request card implementation I used before.

I noticed that “Windkracht” is provided as 11.7 in my location. So apparently I’m in a hurricane 🙂  
I posted an issue in Github ([Mixed up API parameters · Issue #3 · bochove/nl.bochove.knmi · GitHub](https://github.com/bochove/nl.bochove.knmi/issues/3)) where I mention that the API parameters `winds` and `windk` are mixed up.

I hope you have time to make this small adjustment.

---

<div class="post-metadata">

**Author:** ![marcel\_ridder](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ridder/32/3771_2.png) [@marcel\_ridder](https://community.homey.app/u/marcel_ridder)\
**Post date:** [March 2, 2021, 10:02pm UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/46 "2021-03-02T22:02:52Z")

</div>

has someone an example to work with this app. For example if it is code rood then a message is send stay home or something else

---

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [March 3, 2021, 9:02am UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/47 "2021-03-03T09:02:38Z")

</div>

Have you not read this topic?

> [@\[APP\]\[Pro\] Knmi (Dutch weather, for Homey firmware v5 or above)](https://community.homey.app/t/knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/8):
>
> Hi If the max temp is above 23 that day… my 5 blinds are fully closed staring at 6 am for example ( keep heat put ) … below 23 … a different program to run ( in the winter its for keeping light out … so only blind 1 and 2 For example)

> [@\[APP\]\[Pro\] Knmi (Dutch weather, for Homey firmware v5 or above)](https://community.homey.app/t/knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/7):
>
> KNMI offers a reliable dutch forecast. Max temp I use to determine when and if to close shutters and open the Sun screen. A lower max temp will result in closing the shutters at night while a high one will close them for as long as the sun shines on them.

> [@\[APP\]\[Pro\] Knmi (Dutch weather, for Homey firmware v5 or above)](https://community.homey.app/t/knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/15):
>
> Sounds promising. I have a fan blowing in cold outside air at night to cool (and refresh) the room. Only when outside temp (netatmo) is lower then inside temp (netatmo) Still needed to figure out a solution not to cool down the room in winter. Expected day temperature sounds promising!

---

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [March 3, 2021, 10:29am UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/48 "2021-03-03T10:29:53Z")

</div>

The API states:

> #### Alle mogelijke windaanduidingen (16 stuks) zijn:
> 
> Noord, NNO, NO, ONO, Oost, OZO, ZO, ZZO, Zuid, ZZW, ZW, WZW, West, WNW, NW en NNW.
> 
> In de verwachtingen worden N,Z,O en W gebruikt en kan ook de weergave VAR worden gebruikt, voor weinig wind uit variabele windrichtingen.

Those 16 directions have been implemented, in case the VAR is returned then NULL will be the value for the direction.

I have published what I have to [test](https://homey.app/nl-nl/app/nl.bochove.knmi/KNMI-(Nederland)/test/), please let me know if you run into any issues with that version, like a wind direction not being converted into degrees.

---

<div class="post-metadata">

**Author:** ![Dennis\_H74](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_h74/32/11177_2.png) [@Dennis\_H74](https://community.homey.app/u/Dennis_H74)\
**Post date:** [March 3, 2021, 11:24am UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/49 "2021-03-03T11:24:51Z")

</div>

Hi man

Wel at least thanks for trying and looking into this.

For me this is the only thing missing in the knmi app. 360 wind reporting in degrees ( like dark weather )

To be honest not sure it will change much thinking of it. The source you are using is stuck at 45 degrees if i understand correctly. ( N=0 / NE=45 / E=90 etc etc )

So to me numbers are easier and more clear but it has not the precision like dark weather ( example wind from 76 degrees )

Again thanks for the app 👍👍

---

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [March 3, 2021, 11:35am UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/50 "2021-03-03T11:35:44Z")

</div>

It has a precision of 22.5 degrees (N=0 / NNE = 22.5 / NE = 45), but yes, it will not have the precision of dark weather for as far as the data they deliver is exact. The question is if a precision of 22.5 degrees is enough.

Also a direction VAR may be returned by the api for a little wind coming from any direction.

---

<div class="post-metadata">

**Author:** ![Frank\_van\_de\_Schuur](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frank_van_de_schuur/32/35882_2.png) [@Frank\_van\_de\_Schuur](https://community.homey.app/u/Frank_van_de_Schuur)\
**Post date:** [March 8, 2021, 9:51am UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/51 "2021-03-08T09:51:48Z")

</div>

Just discovered a small bug: When trying to get an API key from the link in the configuration page in the App I get an error. Apparently the link has to be secure to get an API key. So the ‘s’ is missing in the url.

---

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [March 10, 2021, 11:46am UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/52 "2021-03-10T11:46:56Z")

</div>

This will soon be fixed, the wind direction in degrees added and the correct value for wind force (windk vs winds) will be used. The next version is awaiting approval.

---

<div class="post-metadata">

**Author:** ![Dennis\_H74](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_h74/32/11177_2.png) [@Dennis\_H74](https://community.homey.app/u/Dennis_H74)\
**Post date:** [March 11, 2021, 4:29pm UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/53 "2021-03-11T16:29:29Z")

</div>

Hi

The degrees is thatvthe 22.5 scale ? Or 360 degrees ( like 16 or 279 degrees for example )

---

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [March 11, 2021, 4:48pm UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/54 "2021-03-11T16:48:26Z")

</div>

Degrees are a multiple of 22.5, so possible values are 0, 22.5, 45, 67.5, 90, …, 337.5, null.

null (nothing) when there is no direction (varying direction) given.

---

<div class="post-metadata">

**Author:** ![Dennis\_H74](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_h74/32/11177_2.png) [@Dennis\_H74](https://community.homey.app/u/Dennis_H74)\
**Post date:** [March 11, 2021, 5:12pm UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/55 "2021-03-11T17:12:18Z")

</div>

Toppie 👍

---

<div class="post-metadata">

**Author:** ![ronald-linsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronald-linsen/32/13910_2.png) [@ronald-linsen](https://community.homey.app/u/ronald-linsen)\
**Post date:** [March 11, 2021, 8:38pm UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/56 "2021-03-11T20:38:15Z")

</div>

Hallo allen, mag ik een hulpvraag stellen? No valid response from weerlive, check your API key is de melding die ik krijg bij het toevoegen van een apparaat. Homey versie 5.0.1. Heb op meteo server een account aangemaakt en krijg daar de API key te zien. Ik hoef hier toch geen betaald account te hebben? De key ingevuld bij de app in homey. Van alles geprobeerd. Wat mis ik? Ronald

---

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [March 12, 2021, 7:59am UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/57 "2021-03-12T07:59:48Z")

</div>

Dat is ook niet waar je een account moet aanmaken, dat moet op [weerlive.nl](https://weerlive.nl/api/toegang/index.php).

---

<div class="post-metadata">

**Author:** ![Fred](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fred/32/61727_2.png) [@Fred](https://community.homey.app/u/Fred)\
**Post date:** [March 16, 2021, 11:14am UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/58 "2021-03-16T11:14:24Z")

</div>

I can not create more knmi divices i have more api keys i have at darksky 6 api keys and also 6 different darksky devices to display different weather reports on a dashboard, can you make your app so that i can make more knmi divices.

---

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [March 16, 2021, 2:42pm UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/59 "2021-03-16T14:42:35Z")

</div>

I do not intend to facilitate any abuse of this api. Abuse might lead to the free api being closed down permanently. That would hurt us all.

Lets take your example of 6 devices, that would lead to a maximum of 900 daily queries that would cost you €80 per month at Meteoserver or $90 at meteomatics. The maximum permitted number of daily free queries at weerlive is 300, so one api key allows for 2 devices. I might at some point add the possibility to add a second device.

If there is a big enough interest I could also allow more locations to be queried, but not as a device. So manually query a location at a specific time, counting the total number of queries to never exceed 300 per day.

Yes, 150 a day maximum per device as there is one day in a year that has 25 hours and it fetches every 10 minutes.

---

<div class="post-metadata">

**Author:** ![Fred](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fred/32/61727_2.png) [@Fred](https://community.homey.app/u/Fred)\
**Post date:** [March 16, 2021, 4:25pm UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/60 "2021-03-16T16:25:46Z")

</div>

I’m happy with 2 devices 1 device is not working for me.

---

<div class="post-metadata">

**Author:** ![Fred](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fred/32/61727_2.png) [@Fred](https://community.homey.app/u/Fred)\
**Post date:** [March 16, 2021, 4:27pm UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/61 "2021-03-16T16:27:37Z")

</div>

Sorry maar aan 1 device heb je niks aan daar kan je niks mee als je een weerstation op een dashbord wil maken.

---

<div class="post-metadata">

**Author:** ![Gerard\_Samplonius](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gerard_samplonius/32/13013_2.png) [@Gerard\_Samplonius](https://community.homey.app/u/Gerard_Samplonius)\
**Post date:** [April 20, 2021, 1:11pm UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/62 "2021-04-20T13:11:49Z")

</div>

Ik probeer de App te installeren. Ik krijg direct de melding “De API key wordt gecontroleerd…”. Ik heb nog helemaal niet de gelegenheid gehad mijn key in te voeren. Het scherm blijft hangen.

Doe ik iets verkeerd?

---

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [April 20, 2021, 1:37pm UTC](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228/63 "2021-04-20T13:37:08Z")

</div>

In the Homey app you can go to more → apps → KNMI → configure app.  
That is where you can always enter or change your API-key.

[Previous page](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228.md?page=2)

[Next page](https://community.homey.app/t/app-pro-knmi-dutch-weather-for-homey-firmware-v5-or-above/34228.md?page=4)
