# Nederlandse vertaling voor weericonen van Homeyduino e-paper screen

**URL:** <https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647>\
**Category:** Apps\
**Tags:** homey-pro\
**Created:** [January 27, 2023, 10:17am UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647 "2023-01-27T10:17:31Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [January 27, 2023, 10:17am UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/1 "2023-01-27T10:17:31Z")

</div>

Voor de Nederlandstalige gebruikers van de Homeyduino e-paper screen ([[Homeyduino] E-paper for Homey](https://community.homey.app/t/homeyduino-e-paper-for-homey/74640) ) wil ik de Nederlandse vertaling van de weer omschrijvingen inventariseren zodat ik dit aan de ontwikkelaar kan aanleveren. Hij wil dit dan voor ons toevoegen aan de code. Daardoor toont het scherm het juiste weer icoontje bij het weer. 🌦

Zelf heb ik dit al werkend voor de omschrijvingen van de KNMI weather app (zie hieronder, kun je zelf ook toevoegen in functions.ino).

Zijn hier gebruikers van andere Homey weer apps met nog afwijkende Nederlandse (korte) omschrijvingen van de weersomstandigheden? Geef ze dan hieronder door (graag met verwijzing naar de bron waar je de omschrijvingen vandaan hebt), dan maak ik er een mooi geheel van en lever het aan bij de ontwikkelaar. Ook suggesties voor aanpassingen in de toewijzing van de icoontjes zijn natuurlijk welkom.

> //DUTCH (for KNMI Weather app based on [Weer API KNMI live en verwachtingen | Het Weer in Nederland - Weerlive.nl](http://weerlive.nl/delen.php) for capabilities recap (weerbeeld) and expected\_today\_recap (verw. weerbeeld vandaag))  
> //  
> if (weather == “Onbewolkt”) weatherIcon = 1; //clear  
> if (weather == “zonnig”) weatherIcon = 1; //clear  
> if (weather == “helderenacht”) weatherIcon = 2; //clear night  
> if (weather == “Geheel bewolkt”) weatherIcon = 3; //cloudy  
> if (weather == “Overwegend bewolkt”) weatherIcon = 3; //cloudy  
> if (weather == “bewolkt”) weatherIcon = 3; //cloudy  
> if (weather == “nachtbewolkt”) weatherIcon = 3; //cloudy  
> if (weather == “mist”) weatherIcon = 4; //fog  
> if (weather == “nachtmist”) weatherIcon = 4; //fog  
> if (weather == “hagel”) weatherIcon = 5; //hail  
> if (weather == “Licht bewolkt”) weatherIcon = 6; //partly cloudy  
> if (weather == “lichtbewolkt”) weatherIcon = 6; //partly cloudy  
> if (weather == “Half bewolkt”) weatherIcon = 6; //partly cloudy  
> if (weather == “halfbewolkt”) weatherIcon = 6; //partly cloudy  
> if (weather == “Regen”) weatherIcon = 7; //rainy  
> if (weather == “regen”) weatherIcon = 7; //rainy  
> if (weather == “Motregen”) weatherIcon = 7; //rainy  
> if (weather == “Motregen en regen”) weatherIcon = 7; //rainy  
> if (weather == “Dichte motregen”) weatherIcon = 7; //rainy  
> if (weather == “Lichte regen”) weatherIcon = 8; //rainy cloudy  
> if (weather == “halfbewolkt\_regen”) weatherIcon = 8; //rainy cloudy  
> if (weather == “buien”) weatherIcon = 8; //rainy cloudy  
> if (weather == “Lichte motregen”) weatherIcon = 8; //rainy cloudy  
> if (weather == “Lichte motregen en regen”) weatherIcon = 8; //rainy cloudy  
> if (weather == “Af en toe lichte regen”) weatherIcon = 8; //rainy cloudy  
> if (weather == “Droog na motregen”) weatherIcon = 8; //rainy cloudy  
> if (weather == “Droog na regen”) weatherIcon = 8; //rainy cloudy  
> if (weather == “sneeuw”) weatherIcon = 9; //snowy  
> if (weather == “Storm”) weatherIcon = 10; //storm  
> if (weather == “Storm”) weatherIcon = 11; //storm rainy  
> if (weather == “Zwaar bewolkt”) weatherIcon = 12; //two clouds  
> if (weather == “zwaarbewolkt”) weatherIcon = 12; //two clouds  
> if (weather == “Harde wind”) weatherIcon = 13; //windy

---

<div class="post-metadata">

**Author:** ![Arnold\_vd\_Linden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold_vd_linden/32/19336_2.png) [@Arnold\_vd\_Linden](https://community.homey.app/u/Arnold_vd_Linden)\
**Post date:** [January 28, 2023, 3:23pm UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/2 "2023-01-28T15:23:25Z")

</div>

Hoi,  
Ik heb die vertaling geplakt in functions.ino maar bij het compilen krijg ik de volgende fouten:

```auto
error: 'Harde' was not declared in this scope
   if (weather == “Harde wind”) weatherIcon = 13; //windy
   
error: expected ')' before 'wind'
   if (weather == “Harde wind”) weatherIcon = 13; //windy

```

En dat is dan uiteraard voor elke regel.  
Enig idee wat er fout kan gaan?

---

<div class="post-metadata">

**Author:** ![Arnold\_vd\_Linden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold_vd_linden/32/19336_2.png) [@Arnold\_vd\_Linden](https://community.homey.app/u/Arnold_vd_Linden)\
**Post date:** [January 28, 2023, 3:28pm UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/3 "2023-01-28T15:28:34Z")

</div>

Gevonden al.  
Het was een copy-paste fout vanuit de browser met de " karakter.

```auto
//DUTCH (for KNMI Weather app based on Weer API KNMI live en verwachtingen | Het Weer in Nederland 1 for capabilities recap (weerbeeld) and expected_today_recap (verw. weerbeeld vandaag))
//
if (weather == "Onbewolkt") weatherIcon = 1; //clear
if (weather == "zonnig") weatherIcon = 1; //clear
if (weather == "helderenacht") weatherIcon = 2; //clear night
if (weather == "Geheel bewolkt") weatherIcon = 3; //cloudy
if (weather == "Overwegend bewolkt") weatherIcon = 3; //cloudy
if (weather == "bewolkt") weatherIcon = 3; //cloudy
if (weather == "nachtbewolkt") weatherIcon = 3; //cloudy
if (weather == "mist") weatherIcon = 4; //fog
if (weather == "nachtmist") weatherIcon = 4; //fog
if (weather == "hagel") weatherIcon = 5; //hail
if (weather == "Licht bewolkt") weatherIcon = 6; //partly cloudy
if (weather == "lichtbewolkt") weatherIcon = 6; //partly cloudy
if (weather == "Half bewolkt") weatherIcon = 6; //partly cloudy
if (weather == "halfbewolkt") weatherIcon = 6; //partly cloudy
if (weather == "Regen") weatherIcon = 7; //rainy
if (weather == "regen") weatherIcon = 7; //rainy
if (weather == "Motregen") weatherIcon = 7; //rainy
if (weather == "Motregen en regen") weatherIcon = 7; //rainy
if (weather == "Dichte motregen") weatherIcon = 7; //rainy
if (weather == "Lichte regen") weatherIcon = 8; //rainy cloudy
if (weather == "halfbewolkt_regen") weatherIcon = 8; //rainy cloudy
if (weather == "buien") weatherIcon = 8; //rainy cloudy
if (weather == "Lichte motregen") weatherIcon = 8; //rainy cloudy
if (weather == "Lichte motregen en regen") weatherIcon = 8; //rainy cloudy
if (weather == "Af en toe lichte regen") weatherIcon = 8; //rainy cloudy
if (weather == "Droog na motregen") weatherIcon = 8; //rainy cloudy
if (weather == "Droog na regen") weatherIcon = 8; //rainy cloudy
if (weather == "sneeuw") weatherIcon = 9; //snowy
if (weather == "Storm") weatherIcon = 10; //storm
if (weather == "Storm") weatherIcon = 11; //storm rainy
if (weather == "Zwaar bewolkt") weatherIcon = 12; //two clouds
if (weather == "zwaarbewolkt") weatherIcon = 12; //two clouds
if (weather == "Harde wind") weatherIcon = 13; //windy

```

---

<div class="post-metadata">

**Author:** ![Arnold\_vd\_Linden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold_vd_linden/32/19336_2.png) [@Arnold\_vd\_Linden](https://community.homey.app/u/Arnold_vd_Linden)\
**Post date:** [February 1, 2023, 12:22pm UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/4 "2023-02-01T12:22:28Z")

</div>

“Droog na neerslag” is nog niet opgenomen.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/2/a2722d58b611aa1583220384e9efc6493dd15f8c.jpeg)

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [February 1, 2023, 1:18pm UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/5 "2023-02-01T13:18:12Z")

</div>

Ja, dank voor het melden, was mij ook opgevallen. Een ongedocumenteerde waarde 🙄  
Heb hem toegevoegd aan de lijst.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [February 1, 2023, 1:33pm UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/6 "2023-02-01T13:33:24Z")

</div>

Deze iconen had je waarschijnlijk ook al gevonden, maar voor de volledigheid:

> **[GitHub - jackd248/weather-iconic: An open source weather icon set.](https://github.com/jackd248/weather-iconic)**
>
> An open source weather icon set. Contribute to jackd248/weather-iconic development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [February 1, 2023, 5:16pm UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/7 "2023-02-01T17:16:46Z")

</div>

Uh, nee. Gebruik jij deze dan bij het e-paper display? Zo ja, hoe?

Mijn lijst is gekoppeld aan de door sebyldino gebruikte weerinconen in de code voor de header regel.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [February 1, 2023, 5:22pm UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/8 "2023-02-01T17:22:41Z")

</div>

Nee, niet gebruikt, de huidig gebruikte iconen staan in .hex files, geen idee of er converteer programma’s zijn voor “plaatjes” te converteren naar .hex files?

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [February 1, 2023, 5:29pm UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/9 "2023-02-01T17:29:35Z")

</div>

Ja, dat vroeg ik me ook al af, dat geeft een mogelijkheid om zelf iconen aan te passen 🤪

---

<div class="post-metadata">

**Author:** ![Arnold\_vd\_Linden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold_vd_linden/32/19336_2.png) [@Arnold\_vd\_Linden](https://community.homey.app/u/Arnold_vd_Linden)\
**Post date:** [February 1, 2023, 7:09pm UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/10 "2023-02-01T19:09:06Z")

</div>

LilyGo biedt een Python script aan om png files om te zetten.

> <https://github.com/Xinyuan-LilyGO/LilyGo-EPD47/blob/master/scripts/imgconvert.py>

---

<div class="post-metadata">

**Author:** ![sebyldino](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebyldino/32/20067_2.png) [@sebyldino](https://community.homey.app/u/sebyldino)\
**Post date:** [February 3, 2023, 6:16am UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/11 "2023-02-03T06:16:29Z")

</div>

Hello, i added your NL weather description in the next release (i will publish soon).

You have a conflict:

```auto
if (weather == "Storm") weatherIcon = 10; //storm
if (weather == "Storm") weatherIcon = 11; //storm rainy

```

If you want, you can translate the code below and i add it too.

Thanks

```auto
  //================== ENGLISH ==================
  if (lang == "EN") {

    ERROR_WIFI = "Wifi connection failed. Please check your SSID and PASSWORD!";
    ERROR_CONNECT_HOMEY = "Failed to connect with Homey!";
    ERROR_TIME_TO_SLEEP = "Deep Sleep hasn't been activated, must be at least 60 seconds!";
    ERROR_TIME_TO_SLEEP_2 = "Change 'Time_Deep_Sleep'. 0 disable Deep Sleep.";
    ERROR_TIME_TO_SLEEP_3 = "You defined: " + String(timeToSleep) + " seconds.";

    if (displayMode == "horizontal 4") {
      ERROR_COUNTER = String(counter) + "/15 sended from Homey. Check your flow!";
    }
    if (displayMode == "horizontal 6") {
      ERROR_COUNTER = String(counter) + " /21 sended from Homey. Check your flow!";
    }

    LIGHT_ON = "ON";
    LIGHT_OFF = "OFF";
    OPEN = "Open";
    CLOSE = "Close";
    LOCK = "Lock";
    UNLOCK = "Unlock";
    ON = "On";
    OFF = "Off";
    ARMED = "Armed";
    PARTIALLY_ARMED = "Night";
    DISARMED = "Disarmed";
    VALUE_Z1 = "Value Zone 1";
    VALUE_Z2 = "Value Zone 2";
    VALUE_Z3 = "Value Zone 3";
    VALUE_Z4 = "Value Zone 4";
    VALUE_Z5 = "Value Zone 5";
    VALUE_Z6 = "Value Zone 6";
    NAME_Z1 = "Name Zone 1";
    NAME_Z2 = "Name Zone 2";
    NAME_Z3 = "Name Zone 3";
    NAME_Z4 = "Name Zone 4";
    NAME_Z5 = "Name Zone 5";
    NAME_Z6 = "Name Zone 6";
    WEATHER = "Actual Weather";
    HEATER_ON = "On";
    HEATER_OFF = "Off";
    WET = "Wet";
    DRY = "Dry";
    DETECTOR_ON = "Alert!";
    DETECTOR_OFF = "No alert";
    PRESENT = "Present";
    ABSENT = "Absent";
  }
}//end

```

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [February 3, 2023, 7:32am UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/12 "2023-02-03T07:32:43Z")

</div>

@sebyldino that is great,  
Could you add also:

> if (weather == “Af en toe neerslag”) weatherIcon = 8; //rainy cloudy  
> if (weather == “Droog na neerslag”) weatherIcon = 8; //rainy cloudy

> [@sebyldino](#):
>
> You have a conflict:

Yes you’re right, can you change the second one to “Storm en regen”?

> [@sebyldino](#):
>
> If you want, you can translate the code below and i add it too.

Yes, I will look into that this evening.

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [February 3, 2023, 9:43am UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/13 "2023-02-03T09:43:03Z")

</div>

> [@sebyldino](#):
>
> If you want, you can translate the code below and i add it too.

@sebyldino here we go:

```auto
  //================== DUTCH ==================
  if (lang == "NL") {

    ERROR_WIFI = "Niet verbonden met WiFi. Controleer SSID en WACHTWOORD!";
    ERROR_CONNECT_HOMEY = "Geen verbinding met Homey!";
    ERROR_TIME_TO_SLEEP = "'Deep Sleep' niet geactiveerd, minimale instelling is 60 seconden!";
    ERROR_TIME_TO_SLEEP_2 = "Wijzig 'Time_Deep_Sleep'. 0 voor uitschakelen 'Deep Sleep'.";
    ERROR_TIME_TO_SLEEP_3 = "Nu opgegeven: " + String(timeToSleep) + " seconden.";

    if (displayMode == "horizontal 4") {
      ERROR_COUNTER = String(counter) + "/15 verzonden vanaf Homey. Controleer je flow!";
    }
    if (displayMode == "horizontal 6") {
      ERROR_COUNTER = String(counter) + " /21 verzonden vanaf Homey. Controleer je flow!";
    }

    LIGHT_ON = "AAN";
    LIGHT_OFF = "UIT";
    OPEN = "Open";
    CLOSE = "Dicht";
    LOCK = "Gesloten";
    UNLOCK = "Open";
    ON = "Aan";
    OFF = "Uit";
    ARMED = "Ingeschakeld";
    PARTIALLY_ARMED = "Nacht";
    DISARMED = "Uitgeschakeld";
    VALUE_Z1 = "Waarde Zone 1";
    VALUE_Z2 = "Waarde Zone 2";
    VALUE_Z3 = "Waarde Zone 3";
    VALUE_Z4 = "Waarde Zone 4";
    VALUE_Z5 = "Waarde Zone 5";
    VALUE_Z6 = "Waarde Zone 6";
    NAME_Z1 = "Naam Zone 1";
    NAME_Z2 = "Naam Zone 2";
    NAME_Z3 = "Naam Zone 3";
    NAME_Z4 = "Naam Zone 4";
    NAME_Z5 = "Naam Zone 5";
    NAME_Z6 = "Naam Zone 6";
    WEATHER = "Huidige weer";
    HEATER_ON = "Aan";
    HEATER_OFF = "Uit";
    WET = "Nat";
    DRY = "Droog";
    DETECTOR_ON = "Alarm!";
    DETECTOR_OFF = "Geen alarm";
    PRESENT = "Aanwezig";
    ABSENT = "Afwezig";
  }
}//end

```

EDIT: changed DU to NL

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [February 3, 2023, 10:17am UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/14 "2023-02-03T10:17:17Z")

</div>

> [@Torch1969](#):
>
> `lang == "DU"`

This should be NL, DU is a weird naming that doesn’t exist for any language.

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [February 3, 2023, 11:46am UTC](https://community.homey.app/t/nederlandse-vertaling-voor-weericonen-van-homeyduino-e-paper-screen/75647/15 "2023-02-03T11:46:25Z")

</div>

Yes of course. NL  
Changed it
