Seite 1 von 1

Item Zahlenformat Problem (, / .)

Verfasst: 22. Jan 2022 09:42
von MonsterMic
Hallo.
Bei einer Installation werden die Numbers mit punkt
und bei einer anderen Installation mit Komma dargestellt.
Beide OH 3.2 (de_DE)
(1) openhabian (linux11)
(2) buster + oh

Wie kann ich das entweder bei (1) oder (2) ändern. Ich benutzte immer das
"serverseitige Format".

Beispiel: beide channel und Items gleich parametriert (mit defaults, ohne transform, . über UI)
format_punkt_komma_1.png

Re: Item Zahlenformat Problem (, / .)

Verfasst: 22. Jan 2022 11:21
von udo1toni
Prüfe mal die locales für den User openhab.

Code: Alles auswählen

openhabian@openhabian:~$ sudo -u openhab locale
[sudo] Passwort für openhabian:
LANG=de_DE.UTF-8
LANGUAGE=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=de_DE.UTF-8
openhabian@openhabian:~$

Re: Item Zahlenformat Problem (, / .)

Verfasst: 22. Jan 2022 13:12
von MonsterMic
Das ging super schnell.
Vielen Dank. Das wars.

Re: Item Zahlenformat Problem (, / .)

Verfasst: 22. Jan 2022 14:41
von udo1toni
:)