Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.11k stars 1.68k forks source link

Tuya TV02 Thermostat (TS0601 _TZE200_hue3yfsn): Check for firmware update fails #14166

Open station7 opened 2 years ago

station7 commented 2 years ago

What happened?

The check for a firmware update of my TV02 (TS0601 _TZE200_hue3yfsn) fails ("No image available for imageType '5634"):

Info 2022-09-23 18:42:14MQTT publish: topic 'zigbee2mqtt/bridge/response/device/ota_update/check', payload '{"data":{"id":"gaestezimmer/trv/eins"},"error":"Failed to check if update available for 'gaestezimmer/trv/eins' (No image available for imageType '5634')","status":"error","transaction":"1xw8k-2"}' Error 2022-09-23 18:42:14Failed to check if update available for 'gaestezimmer/trv/eins' (No image available for imageType '5634')

A date or version of the current firmware is not displayed either.

Bild 23 09 22 um 18 53

What did you expect to happen?

Update firmware or report that no firmware update is available or do not show device on OTA page, if firmware updates are not supported

How to reproduce it (minimal and precise)

Try to update TV02 firmware via webfrontend

Zigbee2MQTT version

1.27.2

Adapter firmware version

20220219

Adapter

Slaesh's CC2652RB Stick

Debug log

No response

auanasgheps commented 2 years ago

I have a similar issue but for TS0601_thermostat, different model than yours.

auanasgheps commented 2 years ago

I realized what's going on. Tuya platform does not have public URLs for ZigBee OTAs. They have to be manually sourced by the community using the original gateway and a proxy to intercept the OTA URL.

If you have the original gateway you can get the URL if you have the skills to do so. I have the skills but not the gateway... I'll try to get hold of one.

station7 commented 2 years ago

Hi, many thanks for following up. If I find the time I can try to get the OTA URL, but I am willing to sponsor a gateway for you, because I have another "open_window-issue" with my Tuya-thermostat and would appreciate if someone could look into this as well...

staastas commented 2 years ago

maybe this information will help you. let me know if you manage to update, I also have the same problem(

https://github.com/Koenkk/zigbee-OTA/blob/master/index.json


    {
        "fileVersion": 87,
        "fileSize": 234174,
        "manufacturerCode": 4098,
        "manufacturerName": [
            "_TZE200_ckud7u2l",
            "_TZE200_cwnjrr72",
            "_TZE200_ywdxldoj"
        ],
        "imageType": 5634,
        "sha512": "1113486a67403d922fc4a462b7477e0a0986fa8862a89b74ab8c5eac7b4ecb31c30f1da9ae1bbc1d6d50ae1fed66d38c37a1834ab71fd384c0555002783aba13",
        "url": "https://github.com/Koenkk/zigbee-OTA/raw/master/images/Tuya/1615190575-si32_zg_uart_connect_sleep_ZS5_ty_OTA_1.1.7.bin",
        "path": "images/Tuya/1615190575-si32_zg_uart_connect_sleep_ZS5_ty_OTA_1.1.7.bin"
    },
auanasgheps commented 2 years ago

Mine is _TZE200_cpmgn2cf which in theory is not in that list, but I appreciate the effort!

To be honest I'm not going to force that OTA.

I'm also not sure we should actually go down this route: I am setting up Better Thermostat and in this old discussion they do not advice to upgrade this device's firmware, although that issue was a mistake in the OTA repo. I still have to test if it's ok (winter season is not yet here) but if the valve works I'm not going to pursue this route, and hopefully i'll just live with these TRVs "as is".

auanasgheps commented 2 years ago

@station7 it's not clear to me why your valve is identified by Z2M as TV02, which is another model, but the code is still TS0601 as mine. Wondering if there's something wrong there.

If you can, check out Better Thermostat integration. You can pair an actual window/door sensor, which will be way more accurate than the TRVs method.

mkormout commented 2 years ago

Although zigbee2mqtt is better than ZHA so in the case of TS0601 _TZE200_hue3yfsn the implementation is slightly better in ZHA. I think you could get some inspiration there. I also have a couple of these heads.

For example, ZHA allows you to monitor if the internal thermostat is on or not (i think it's hvacAction). The device in HA then contains nonsense modes that TRV doesn't support (cooling, drying, fan only).

I would also like it if it could control or at least monitor the valve opening range. I would be also happy to have an OTA support since an error appear when trying to do it (Failed to check if update available for 'XXX' (No image available for imageType '5634')).

If I can help in any way to fix hue3yfsn, please let me know, I'll be happy to provide logs or whatever needs to be debugged.

BTW: this is the product https://www.aliexpress.com/item/1005004757451765.html

vTomTom commented 2 years ago

Anything new about this ? Also Version _TZE200_hue3yfsn ? Something we can do to help to find a solution? Currently I have no Tuya Gateway. I‘m looking for a new firmware because of some delayed actions of the thermostat itself.

Lipown commented 1 year ago

Any news on this please? :/ The valves are acting really weird :/

github-actions[bot] commented 1 year ago

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

staastas commented 1 year ago

Not solved

github-actions[bot] commented 1 year ago

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

nicomodeus commented 1 year ago

Would be nice to have it solved.

github-actions[bot] commented 1 year ago

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

Wikibear commented 1 year ago

Stale block. It isn't implemented yet.

Koenkk commented 1 year ago

I cannot fix this, someone needs to grab the OTA: https://www.zigbee2mqtt.io/advanced/more/tuya_xiaomi_ota_url.html

IceCupe123 commented 1 year ago

need to wait on update currently there is no new update , so i cant grab the url thermostat bought in december 22

github-actions[bot] commented 1 year ago

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

Wikibear commented 1 year ago

Push

github-actions[bot] commented 1 year ago

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

Wikibear commented 1 year ago

Push

Schnittcher commented 1 year ago

@Koenkk, I want to help, but I can`t download the apk file (https://aapks.com/download.php?dl=48267761). I get 502 Bad Gateway. Can you send me the right version?

Edit: I found it on antoher site.

I want to add the firmware and get this error: https://github.com/Koenkk/zigbee-OTA/issues/316

auanasgheps commented 1 year ago

Hey, have you actually completed the work?

My Valves _TZE200_cpmgn2cf are reporting that there's an update, they never did, so someone has grabbed the URL for us.

immagine

EDIT: Weird, the firmware for my TRV was added on January via this PR, but the update only showed up today. I guess the automatic OTA doesn't work super well. I received other OTAs for different devices in the meantime...

Wikibear commented 1 year ago

No reporting for OTA with _TZE200_hue3yfsn

github-actions[bot] commented 1 year ago

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

Wikibear commented 1 year ago

1.32.1-dev commit: af0521b5 No reporting for OTA with _TZE200_hue3yfsn

github-actions[bot] commented 1 year ago

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

Wikibear commented 1 year ago

1.32.2-dev commit: 3736b590 Update not possible, cause there is no update.

github-actions[bot] commented 1 year ago

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

Wikibear commented 1 year ago

Push no update available

bolzerrr commented 1 year ago

Also stumbled into this issue, i get such report: Failed to check if update available for 'OG_BAD_H_RECHTS' (Device didn't respond to OTA request)

Device: Zigbee Model TS0601 Zigbee Manufacturer _TZE200_hue3yfsn

I found a bunch of other threads, but cant see any solution. If i am wrong maybe someone can point me towards the right direction?

Marcwa19197 commented 1 year ago

Also stumbled into this issue, i get such report: Failed to check if update available for 'OG_BAD_H_RECHTS' (Device didn't respond to OTA request)

Device: Zigbee Model TS0601 Zigbee Manufacturer _TZE200_hue3yfsn

I found a bunch of other threads, but cant see any solution. If i am wrong maybe someone can point me towards the right direction?

Im also looking for a solution to update the Firmware.

Using: TS0601 _TZE200_hue3yfsn

via standard ZHA integration (Using SkyConnect Stick in HA). Thanks.

My main problem is, that if the Climates are "off" the valve is still opened, so the heater gets hot. Also see: https://community.home-assistant.io/t/ts0601-unusual-switch-and-functions/535914/7

github-actions[bot] commented 1 year ago

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

Wikibear commented 1 year ago

Push

Lipown commented 1 year ago

Any way how to update manually pls?

oneofthemany commented 9 months ago

Also stumbled into this issue, i get such report: Failed to check if update available for 'OG_BAD_H_RECHTS' (Device didn't respond to OTA request)

Device: Zigbee Model TS0601 Zigbee Manufacturer _TZE200_hue3yfsn

I found a bunch of other threads, but cant see any solution. If i am wrong maybe someone can point me towards the right direction?

Im also looking for a solution to update the Firmware.

Using: TS0601 _TZE200_hue3yfsn

via standard ZHA integration (Using SkyConnect Stick in HA). Thanks.

My main problem is, that if the Climates are "off" the valve is still opened, so the heater gets hot. Also see: https://community.home-assistant.io/t/ts0601-unusual-switch-and-functions/535914/7

Have you seen this thread:

https://community.home-assistant.io/t/tuya-tv02-trv-valve-not-closing-completely/406707

Has worked for me

Wikibear commented 9 months ago

Nice to know but the OTA issue stay.

oneofthemany commented 9 months ago

Nice to know but the OTA issue stay.

https://github.com/Koenkk/zigbee2mqtt/issues/21084

I've also got this ticket open

github-actions[bot] commented 3 months ago

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

Wikibear commented 3 months ago

Push it isn't solved yet.