Skip to content

Language setting #30

@janpep

Description

@janpep

Thanks for the update of this plugin. (I was still on 0.7.3, having issues to do settings from Domoticz).
Now used the plugin.py from #27
I use it in combination with the temperature from EVOhome plugin,

I found out that using the plugin changed the language from Dutch to English in the MELcloud app.
This can be solved by adding the wanted language=12 (for Dutch) to the login arguments like this:

def melcloud_login(self):
data = "AppVersion=1.9.3.0&Language=12&Email={0}&Password={1}".format(Parameters["Username"], Parameters["Password"])
self.melcloud_send_data(self.melcloud_urls["login"], data, "LOGIN")
return True

May be it can be included?

For completeness here a list with Language codes that I have found earlier.
Language codes:
0 = en English
1 = bg Български
2 = cs Čeština
3 = da Dansk
4 = de Deutsch
5 = et Eesti
6 = es Español
7 = fr Français
8 = hy Հայերեն
9 = lv Latviešu
10 = lt Lietuvių
11 = hu Magyar
12 = nl Nederlands
13 = no Norwegian
14 = pl Polski
15 = pt Português
16 = ru Русский
17 = fi Suomi
18 = sv Svenska
19 = it Italiano
20 = uk Українська
21 = tr Türkçe
22 = el Ελληνικά
23 = hr Hrvatski
24 = ro Română
25 = sl Slovenščina

Best regards
Jan Peppink, https://ict.peppink.nl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions