Closed jkwim closed 1 year ago
When the timezone has a minute componet: JSON dump shows two parameters but Timezone command omits the minute component and shows only the hours.
Timezone
Steps to reproduce the behavior:
1.
ubuntu@ubuntu:~/tasmota/configs$ decode-config.py -s $deviceip --ignore-warnings | jq
"timezone": 5, "timezone_minutes": 30, "toffset": [ 60, 120 ],
2.
ubuntu@ubuntu:~/tasmota/configs$ decode-config.py -s $deviceip --ignore-warnings -T command | grep -i time
Time 1 TimeDST 0,0,3,1,2,120 TimeSTD 0,0,10,1,3,60 Timezone 5
The timezone command should be:
Timezone +05.30
Please complete the following information use decode-config.py -V to retrieve the info
decode-config.py -V
decode-config.py v12.3.1.0 [728642d] by Norbert Richter nr@prsolution.eu Script: decode-config.py Version: 12.3.1.0 [728642d] Python: 3.8.10 Platform: Linux-5.4.0-1078-raspi-aarch64-with-glibc2.29 - aarch64 OS: Linux 5.4.0-1078-raspi #89-Ubuntu SMP PREEMPT Mon Dec 5 08:38:35 UTC 2022 Time: 2023-01-16 22:01:59
Append -g System to your decode-config parameter, e. g. decode-config.py -s myconfig.dmp -g System
-g System
decode-config.py -s myconfig.dmp -g System
>>> paste output here <<<
Add any other context about the problem here.
Describe the bug
When the timezone has a minute componet: JSON dump shows two parameters but
Timezone
command omits the minute component and shows only the hours.To Reproduce
Steps to reproduce the behavior:
1.
ubuntu@ubuntu:~/tasmota/configs$ decode-config.py -s $deviceip --ignore-warnings | jq
2.
ubuntu@ubuntu:~/tasmota/configs$ decode-config.py -s $deviceip --ignore-warnings -T command | grep -i time
Expected behavior
The timezone command should be:
Timezone +05.30
Version Information
Please complete the following information
use
decode-config.py -V
to retrieve the infoSystem' information of your Tasmota data
Append
-g System
to your decode-config parameter, e. g.decode-config.py -s myconfig.dmp -g System
Additional context
Add any other context about the problem here.