elupus / gardena-bluetooth

Gardena Bluetooth Python Module
MIT License
10 stars 3 forks source link

Time sync with Gardena 1889 #12

Open adam-kulagowski opened 1 month ago

adam-kulagowski commented 1 month ago

Hi,

I've opened a ticket at Home Assistant but I'm not sure if this isn't more correct place to report it:

https://github.com/home-assistant/core/issues/121687

In short:

In result as soon as I sync. with Home Assistant, all my schedules gets moved by 2h (I live in GMT+2).

elupus commented 1 month ago

Have you set your HA instance to your local time? It should follow that.

adam-kulagowski commented 1 month ago

image Yes (ignore GMT+1 as due to daylight saving currint time its GMT+2 in Warsaw). But still UTC is written to Gardena. To avoid spamming I posted full debugging in HomeAssistant issue but I can copy them here as well if You wish.

adam-kulagowski commented 1 month ago

How can I help You debugging this issue any further?

elupus commented 1 month ago

Not sure. I did look at the code again and it seemed correct.

adam-kulagowski commented 1 month ago

So if You set in Your phone GMT+2 and set the same timezone in Homeassistant, You encouter no issue when using native gardena App and HA afterwards? No debug logs stating: Updating time on device to match local time delta was 1:59:59.457449 ?

elupus commented 1 month ago

I never use the android app.