W ustawieniach konta ustawiasz strefę czasową. Jeśli to nie działa to musisz dokonfigurować mysql-a
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql mysql
Czas, zegar, clock w SuplaDevice
-
lukfud
- Posts: 2480
- Joined: Thu Nov 23, 2017 11:33 pm
- Location: Warszawa
- Has thanked: 13 times
- Been thanked: 11 times
Strefa czasowa jest ustawiona na właściwą.pzygmunt wrote: Sun Oct 18, 2020 8:12 pm W ustawieniach konta ustawiasz strefę czasową. Jeśli to nie działa to musisz dokonfigurować mysql-a
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql mysql
Dzięki za podpowiedź.
https://www.facebook.com/groups/supladiy
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
-
klew
- Posts: 13907
- Joined: Thu Jun 27, 2019 12:16 pm
- Location: Wrocław
- Has thanked: 134 times
- Been thanked: 137 times
U mnie działa
Sprawdź proszę najnowsze źródła biblioteki. Brakowało mi return'ów w jednej funkcji, a to generuje "underfined behavior" w C++, więc może to pomoże
Najlepsze suple dla Twojego domu 
-
lukfud
- Posts: 2480
- Joined: Thu Nov 23, 2017 11:33 pm
- Location: Warszawa
- Has thanked: 13 times
- Been thanked: 11 times
Niestety coś mi nie idzie..
aczkolwiek po tym zabiegu czas z serwera pobiera się właściwy
Code: Select all
root@d79411d7cdea:/# mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql
Enter password:
Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.Code: Select all
root@d79411d7cdea:/# mysql_tzinfo_to_sql /usr/share/zoneinfo/Poland | mysql -u root -p mysql
There were fatal errors during processing of zoneinfo directory
Enter password:
root@d79411d7cdea:/# date
Sun Oct 18 22:54:27 CEST 2020
root@d79411d7cdea:/# mysql_tzinfo_to_sql /usr/share/zoneinfo/Europe/Warsaw | mysql -u root -p mysql
There were fatal errors during processing of zoneinfo directory
Enter password:
root@d79411d7cdea:/# https://www.facebook.com/groups/supladiy
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
-
lukfud
- Posts: 2480
- Joined: Thu Nov 23, 2017 11:33 pm
- Location: Warszawa
- Has thanked: 13 times
- Been thanked: 11 times
A widzisz, u mnie już teżklew wrote: Sun Oct 18, 2020 8:51 pm U mnie działa
Sprawdź proszę najnowsze źródła biblioteki. Brakowało mi return'ów w jednej funkcji, a to generuje "underfined behavior" w C++, więc może to pomoże
Code: Select all
RollerShutter[0] new value from server: STOP
Received: [53 55 50 4C 41 C 6 0 0 0 6E 0 0 0 11 0 0 0 1 0 0 0 0 32 0 32 0 6E 0 0 0 0 0 0 0 53 55 50 4C 41 ]
RollerShutter[0] new value from server: 100
Channel(0) value changed to 1
Sending: [53 55 50 4C 41 C 5 0 0 0 64 0 0 0 9 0 0 0 0 1 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 2
Sending: [53 55 50 4C 41 C 6 0 0 0 64 0 0 0 9 0 0 0 0 2 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 3
Channel(0) value changed to 4
Sending: [53 55 50 4C 41 C 7 0 0 0 64 0 0 0 9 0 0 0 0 4 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 5
Channel(0) value changed to 6
Sending: [53 55 50 4C 41 C 8 0 0 0 64 0 0 0 9 0 0 0 0 6 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 7
Channel(0) value changed to 8
Sending: [53 55 50 4C 41 C 9 0 0 0 64 0 0 0 9 0 0 0 0 8 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 9
Channel(0) value changed to 10
Sending: [53 55 50 4C 41 C A 0 0 0 64 0 0 0 9 0 0 0 0 A 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 11
Channel(0) value changed to 12
Sending: [53 55 50 4C 41 C B 0 0 0 64 0 0 0 9 0 0 0 0 C 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 13
Channel(0) value changed to 14
Sending: [53 55 50 4C 41 C C 0 0 0 64 0 0 0 9 0 0 0 0 E 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 15
Channel(0) value changed to 16
Sending: [53 55 50 4C 41 C D 0 0 0 64 0 0 0 9 0 0 0 0 10 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 17
Channel(0) value changed to 18
Sending: [53 55 50 4C 41 C E 0 0 0 64 0 0 0 9 0 0 0 0 12 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 19
Channel(0) value changed to 20
Channel(0) value changed to 21
Sending: [53 55 50 4C 41 C F 0 0 0 64 0 0 0 9 0 0 0 0 15 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 22
Channel(0) value changed to 23
Sending: [53 55 50 4C 41 C 10 0 0 0 64 0 0 0 9 0 0 0 0 17 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 24
Channel(0) value changed to 25
Sending: [53 55 50 4C 41 C 11 0 0 0 64 0 0 0 9 0 0 0 0 19 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 26
Channel(0) value changed to 27
Sending: [53 55 50 4C 41 C 12 0 0 0 64 0 0 0 9 0 0 0 0 1B 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 28
Channel(0) value changed to 29
Sending: [53 55 50 4C 41 C 13 0 0 0 64 0 0 0 9 0 0 0 0 1D 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]
Channel(0) value changed to 30
Received: [53 55 50 4C 41 C 7 0 0 0 6E 0 0 0 11 0 0 0 1 0 0 0 0 32 0 32 0 0 0 0 0 0 0 0 0 53 55 50 4C 41 ]
RollerShutter[0] new value from server: STOP
Sending: [53 55 50 4C 41 C 14 0 0 0 64 0 0 0 9 0 0 0 0 1E 0 0 0 0 0 0 0 ]
Sending: [53 55 50 4C 41 ]https://www.facebook.com/groups/supladiy
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
-
lukfud
- Posts: 2480
- Joined: Thu Nov 23, 2017 11:33 pm
- Location: Warszawa
- Has thanked: 13 times
- Been thanked: 11 times
Przemku, czas na supla-cloud i supla-server nie zmienił się automatycznie. Prawdopodobnie coś popsułem.pzygmunt wrote: Sun Oct 18, 2020 8:12 pm W ustawieniach konta ustawiasz strefę czasową. Jeśli to nie działa to musisz dokonfigurować mysql-a
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql mysql
Masz może pomysł, jakie ustawienie popsuło automatyczną zmianę czasu?
https://www.facebook.com/groups/supladiy
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
-
lukfud
- Posts: 2480
- Joined: Thu Nov 23, 2017 11:33 pm
- Location: Warszawa
- Has thanked: 13 times
- Been thanked: 11 times
Ok, w Cloud nie ma problemu, ale nie za bardzo wiem jak zaktualizować sql'a do aktualnego czasu.
https://www.facebook.com/groups/supladiy
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
-
lukfud
- Posts: 2480
- Joined: Thu Nov 23, 2017 11:33 pm
- Location: Warszawa
- Has thanked: 13 times
- Been thanked: 11 times
No dobrze, a podpowiesz jak to zrobić. Pisząc w systemie, masz na myśli raspberry czy kontenery?
https://www.facebook.com/groups/supladiy
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
