zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

TuYa TS0601 - Time synchronization problem

Open longos opened this issue 6 years ago • 19 comments

Every time I manually set the time on the TS0601 valve, it soon changes to a different time. The manual says that the time will be the same as the gate time after pairing. Perhaps some time stamp is missing in the MQTT frames and the clock in the valve is resetting?

Debug info

Zigbee2MQTT version: 1.14.4 Adapter firmware version: 20190608

longos avatar Sep 25 '20 12:09 longos

Today i noticed the same problem , but i've add on of my four devices to a conbee gateway but also this thermostat forgot the time

helmuteke avatar Sep 30 '20 18:09 helmuteke

After updating the valve firmware to 1.1.5 it's time to start syncing ALMOST correct. At the moment, the time is always saved with a 20-minute delay.

longos avatar Oct 01 '20 05:10 longos

For me is update firmware new. How can i do this easy , using home assistant

helmuteke avatar Oct 01 '20 05:10 helmuteke

For me is update firmware new. How can i do this easy , using home assistant

You can only do this through the Tuya Gateway and their app downloaded from the Google Play Store.

longos avatar Oct 01 '20 05:10 longos

hmm , i don't have a Tuya gateway . . . no workaround ?

helmuteke avatar Oct 01 '20 09:10 helmuteke

hmm , i don't have a Tuya gateway . . . no workaround ?

No

longos avatar Oct 01 '20 11:10 longos

So , i’ve update yesterday to 1.1.5 but the problem with time sync is the same. Difference of more then a hour

helmuteke avatar Oct 09 '20 05:10 helmuteke

Latest firmware and difference few hours.

marcin77 avatar Oct 19 '20 17:10 marcin77

The same on my.

longos avatar Oct 28 '20 10:10 longos

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Nov 28 '20 00:11 github-actions[bot]

Is there any solution known? it seems, z2m can't update firmware of this device, even if we could get the firmware file

dcboy87 avatar Dec 11 '20 18:12 dcboy87

I seems to me that there is a time sync when pairing / reconnecting. Then the time is correct (i.e. when starting after removing the batteries). When I installed my first valve I was surprised that the time was set accurate to the minute. But after one or two days it's off by twenty minutes. That's too large. Can't we do force such a time sync? Maybe by an command. I think there must be something, since it happens during pairing / reconnecting...

flrahe avatar Dec 24 '20 08:12 flrahe

It should be fairly easy to add such function to the firmware. Does anyone has contact to the developers?

florian-asche avatar Jan 09 '21 19:01 florian-asche

The solution for these time sync problems can be found here:

https://github.com/dresden-elektronik/deconz-rest-plugin/issues/3304 I did a capture with the original gateway and BHT-002 and HY368.

k3mpaxl avatar Jan 11 '21 21:01 k3mpaxl

I still have the same problem. Just after adding the time is correct. But after 24 hours it differs by about 20 mins

yeld78 avatar Jan 14 '21 10:01 yeld78

after update you shiuld reset TRV to defaults and rapair . reset is available from TRV menu

pawol avatar Jul 29 '21 13:07 pawol

Hello. I have 5 of these thermostat valves. Everything worked perfectly for the past 6 months, but some days ago I have found that time is not set correctly. Time is random on all valves. Even week day is random. I've tried to set time manually, but after couple of seconds it jumps back to time set before manual. I've updated all valve firmware to the latest one. I've tried to reconnect valve and to reset it but after reconnecting time is set wrong. I suppose that it might be related to the latest HA or Z2M updated. Nothing else was changed. Does anyone else have the same issue?

zhvial avatar Jan 06 '22 06:01 zhvial

found that problem is known already. https://github.com/Koenkk/zigbee2mqtt/issues/10489

zhvial avatar Jan 06 '22 06:01 zhvial

It seems to me that time on z2b 1.22.1 is synchronized properly but now on z2b 1.22.2 I have to set the time manually on my TS0601. Unfortunatelly I have updated my cc2652p in the same time. After downgrade of cc2652p problem still persists, so it looks we have a bug in the z2b 1.22.2

pawol avatar Jan 06 '22 10:01 pawol