Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

wrong time on eq3 thermostat (wrong time zone?) #239

Open
renarena opened this issue Nov 24, 2021 · 1 comment
Open

wrong time on eq3 thermostat (wrong time zone?) #239

renarena opened this issue Nov 24, 2021 · 1 comment

Comments

@renarena
Copy link

I've read the Troubleshooting Wiki, my problem is not described there and I am already using the specified minimum bluez version.

Describe the bug
as soon as i start bt-mqtt-gateway my thermostats time is off 1 hour.
if i stop it, the time stays correct after changing it.

Expected behavior
thermostats use correct time

Config

/home/pi/.config/bt-mqtt-gateway/config.yaml   [B---]  0 L:[  1+ 0   1/ 41] *(0   /2197b) 0109 0x06D                                        [*][X]
  workers:
    thermostat:
      args:
        devices:
          kitchen: 
            mac: xxxxxxxxxxxxxxxxx
            discovery_temperature_topic: kitchen/temperature       
            discovery_temperature_template: "{{ value_json.temperature }}"  
        topic_prefix: thermostat
      topic_subscription: thermostat/+/+/set
      update_interval: 60

Debug gateway logs
run gateway.py with -d switch and paste formatted output log

Server (please complete the following information):

  • OS: [Linux]
  • Distro: [ Raspbian]
  • Version [latest docker]

Additional context
this may cause the problem - it does not consider the timezone set in raspbian:
rytilahti/python-eq3bt#25

@renarena
Copy link
Author

Does this change something?
https://www.home-assistant.io/blog/2021/12/11/release-202112/#breaking-changes

The timestamp_local and timestamp_utc template functions/filters have changed their output format. The timestamp is now formatted to iso standards and contains timezone information.

Previously a timestamp from these would look like: 2016-07-21 16:39:04. Now it is formatted as: 2016-07-21T16:39:04+01:00.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant