Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: timezone Fehlermeldungen #1014

Open
3 tasks done
mhuber77 opened this issue Jul 3, 2024 · 17 comments
Open
3 tasks done

[Bug]: timezone Fehlermeldungen #1014

mhuber77 opened this issue Jul 3, 2024 · 17 comments
Labels
bug Something isn't working

Comments

@mhuber77
Copy link

mhuber77 commented Jul 3, 2024

I'm sure that

  • This issue is still present in the current beta version of this adapter
  • There is no other (open) issue with the same topic (use the search!)
  • This issue is not described in the adapter documentation / FAQ (read the docs!)

Shelly device

All Shellys

Shelly firmware version

latest on all devices

Protocol

MQTT

The problem

Seid der Adapter Version 7.0 bringt der Adapter untenstehende timezone infos alle paar Sekunden im Log. Leider kann ich auf meinen Grundsystem nur Europe/Berlin einstellen, hab als Workaround alle shellys auf Europe/Berlin gestellt, bin in Österreich zu Hause und die shellys nehmen sich defaultmässig Europe/Vienna. Vielleicht kann man dieses spezielle Info log zum ein und ausschalten machen oder alle timezones die gleich sind nur im Namen anders bei dem Log ignorieren.....
Es ist egal ob die shellys über MQTT oder CoAP angesteuert werden.
danke!

iobroker.current.log (in debug mode!)

[Sys.timezone] 172.28.254.94 (shellypro3em / shellypro3em-3ce90e703544 / shellypro3em#3ce90e703544#1): Configured timezone "Europe/Vienna" and system timezone "Europe/Berlin" do not match. Please check configuration

Version of nodejs

18.17.1

Version of ioBroker js-controller

6.17.14

Version of adapter

7.0.0

@mhuber77 mhuber77 added the bug Something isn't working label Jul 3, 2024
Copy link

github-actions bot commented Jul 3, 2024

Thanks for reporting a new issue @mhuber77!

  1. Please make sure your topic is not covered in the documentation
  2. Please attach all necessary log files (in debug mode!), screenshots and other information to reproduce this issue
  3. Search for the issue topic in other/closed issues to avoid duplicates!

Otherwise this issue will be closed.

@klein0r
Copy link
Contributor

klein0r commented Jul 3, 2024

Und warum steht die Zeitzone des ioBroker Hosts dann nicht auf Europe/Vienna?

@mhuber77
Copy link
Author

mhuber77 commented Jul 3, 2024

Das wollte ich machen aber mein OS hat kein Europe/Vienna sondern für CET nur Europe/Berlin zur Auswahl, oder kann man das im iobroker irgendwo einstellen?

@klein0r
Copy link
Contributor

klein0r commented Jul 3, 2024

Welches OS ist das denn?!

@mhuber77
Copy link
Author

mhuber77 commented Jul 3, 2024

Welches OS ist das denn?!

Is ein Docker Container der nimmts vom QNAP auch nicht richtig, über ENV schon versucht, klappt aber nicht....weiß auch nicht warum. Wie gesagt wäre was wenns leicht geht sonst stell ich neue Shellys einfach immer auf Berlin.

@mhuber77
Copy link
Author

mhuber77 commented Jul 3, 2024

CET ist mitteleuropäischen Zeit u die passt auch in Österreich . Berlin u Wien haben gleiche Zeitzone.

Ok hrs erst gesehn. Da hapert an einem textiellen Vergleich. Die Zeitzone selbst wär eh ident ...

ja die Zone stimmt schon also die Zeit, is wirklich nur der Text Vergleich

@klein0r
Copy link
Contributor

klein0r commented Jul 3, 2024

über ENV schon versucht, klappt aber nicht

Dann ist es aber ein Bug im Image. Das muss als ENV-Variable funktionieren mit

TZ=Europe/Vienna

@mhuber77
Copy link
Author

mhuber77 commented Jul 3, 2024

Ja denke ich auch. Genau das hab ich rein aber geht nicht. wie gesagt ist nicht so wichtig wollte es nur melden falls leicht geht oder jemand noch probleme hat sollte man zufälligerweise vielleicht 2 Standorte über die Ländergrenzen haben, dann würds ja nicht gehen.

@chrisdu
Copy link

chrisdu commented Aug 3, 2024

Leider hab ich das Problem auch! Ununterbrochene Info im iobroker. Ich hab den iobroker als Container in Proxmox laufen.
gibt es da eine Lösung?

Besten dank

@klein0r
Copy link
Contributor

klein0r commented Aug 3, 2024

@chrisdu Die Zeitzone richtig konfigurieren. Welche Umgebungsvariable hast Du auf welchen Wert gesetzt?

PS: Ist hier aber Offtopic und hat nichts mit dem Shelly-Adapter zu tun.

@chrisdu
Copy link

chrisdu commented Aug 3, 2024

Ich Habe die Meldungen erst seit kurzem.
Fehler Meldungen sieht so aus: `

shelly.1 | 2024-08-03 12:33:24.064 | info | [Sys.timezone] 10.0.0.47 (shellyplus1 / shellyplus1-80646fcadb20 / shellyplus1#80646fcadb20#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration -- | -- | -- | -- shelly.1 | 2024-08-03 12:33:23.903 | info | [Sys.timezone] 10.0.0.38 (shellyplus1 / shellyplus1-80646fdc7284 / shellyplus1#80646fdc7284#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration shelly.0 | 2024-08-03 12:33:22.932 | info | [Sys.timezone] 10.0.0.33 (shelly1 / shelly1-E8DB84D7B4C6 / SHSW-1#E8DB84D7B4C6#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration shelly.1 | 2024-08-03 12:33:22.918 | info | [Sys.timezone] 10.0.0.42 (shellyplus1 / shellyplus1-441793ab4100 / shellyplus1#441793ab4100#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration shelly.0 | 2024-08-03 12:33:22.269 | info | [Sys.timezone] 10.0.0.34 (shellydimmer2 / shellydimmer2-F4CFA2ECA6E7 / SHDM-2#F4CFA2ECA6E7#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration shelly.1 | 2024-08-03 12:33:21.607 | info | [Sys.timezone] 10.0.0.67 (shellyplus1 / shellyplus1-441793a7f218 / shellyplus1#441793a7f218#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration shelly.0 | 2024-08-03 12:33:19.509 | info | [Sys.timezone] 10.0.0.49 (shelly1 / shelly1-C45BBE75D426 / SHSW-1#C45BBE75D426#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration shelly.0 | 2024-08-03 12:33:19.470 | info | [Sys.timezone] 10.0.0.27 (shelly1 / shelly1-E8DB84D2A4B8 / SHSW-1#E8DB84D2A4B8#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration shelly.1 | 2024-08-03 12:33:19.407 | info | [Sys.timezone] 10.0.0.37 (shellyplus1 / shellyplus1-80646fcb537c / shellyplus1#80646fcb537c#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration shelly.1 | 2024-08-03 12:33:17.766 | info | [Sys.timezone] 10.0.0.35 (shellyplus1 / shellyplus1-80646fcb0870 / shellyplus1#80646fcb0870#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration shelly.0 | 2024-08-03 12:33:17.678 | info | [Sys.timezone] 10.0.0.33 (shelly1 / shelly1-E8DB84D7B4C6 / SHSW-1#E8DB84D7B4C6#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration shelly.0 | 2024-08-03 12:33:17.166 | info | [Sys.timezone] 10.0.0.34 (shellydimmer2 / shellydimmer2-F4CFA2ECA6E7 / SHDM-2#F4CFA2ECA6E7#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration shelly.1 | 2024-08-03 12:33:15.480 | info | [Sys.timezone] 10.0.0.39 (shellyplus1 / shellyplus1-80646fcaef94 / shellyplus1#80646fcaef94#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration shelly.1 | 2024-08-03 12:33:14.760 | info | [Sys.timezone] 10.0.0.46 (shellyplus1 / shellyplus1-80646fdae0fc / shellyplus1#80646fdae0fc#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration shelly.1 | 2024-08-03 12:33:14.536 | info | [Sys.timezone] 10.0.0.77 (shelly1mini / shelly1mini-348518e0d770 / shelly1mini#348518e0d770#1): Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. Please check configuration `

Ich hab in der PVE als Server time Europa/Vienna und auch die Shellies haben diese Time Einstellung!? Seltsam...

@chrisdu
Copy link

chrisdu commented Aug 3, 2024

Jetzt hab ich wieder die v6.9.0 installiert und die Meldung kommt erst einmal nicht.
glg Christian

@Grothesk242
Copy link

Grothesk242 commented Aug 3, 2024

Configured timezone "Europe/Vienna" and system timezone "UTC" do not match. 

Offenbar ist in deinem Betriebssystem (oder im Container) keine bzw. die falsche Zeitzone gesetzt. Stell die halt gleichlautend auch auf Europe/Vienna ein.

@chrisdu
Copy link

chrisdu commented Aug 4, 2024

Ich Danke euch, genau das war's. Die Timezone im Container war auf UTC gestellt.
Abfrage: timedatectl oder ls -l /etc/localtime
timedatectl list-timezones listet alle installierten Zonen auf
sudo timedatectl set-timezone Europe/Vienna

und schon ist alles wieder Bestens. Danke glg
PS
Aber die Fehlermeldung erscheint bei mir erst seit der Shelly_Adapter Version 7.0.0

@klein0r
Copy link
Contributor

klein0r commented Aug 4, 2024

Abfrage: timedatectl oder ls -l /etc/localtime
timedatectl list-timezones listet alle installierten Zonen auf
sudo timedatectl set-timezone Europe/Vienna

Das ist nicht der richtige Weg für Docker. Dafür gibt es eine Umgebungsvariable.

@chrisdu
Copy link

chrisdu commented Aug 4, 2024

Das ist nicht der richtige Weg für Docker. Dafür gibt es eine Umgebungsvariable.

Ich hab auf Proxmox meine Container laufen. Wo finde ich die Umgebungsvariable?

@klein0r
Copy link
Contributor

klein0r commented Aug 4, 2024

@chrisdu Ah, in einem LXC unter Proxmox ist das korrekt. Hier ging es kurzzeitig um Docker - daher der Hinweis. Das war aber jemand anderes. Dann hab ich nichts gesagt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants