zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Moes BRT-100-TRV not reporting after OTA update

Open wizu opened this issue 5 years ago • 76 comments

What happened

Z2M showed me, that my TRV have an OTA update available, so I've updated it's firmware. https://www.zigbee2mqtt.io/devices/BRT-100-TRV.html#moes-brt-100-trv After successful upgrade I couldn't control it any more. I've removed it from Z2M and added again serveral times, but it didn't help. Not it only reports: { "child_lock": "UNLOCK", "eco_mode": "OFF", "linkquality": 34, "update": { "state": "idle" } } and there is nothing abnormal in the logs, about this device. Changing child lock from Z2M works, but nothing more.

Debug info

Zigbee2MQTT version: 1.20.0 commit: 41b67fd Adapter hardware: CC2538 + CC2592 Adapter firmware version: zStack30x 20200211

wizu avatar Jul 04 '21 16:07 wizu

I have the same problem. TVR does not respond after firmware upgrade but nothing abnormal in the logs..

Zigbee2mqtt version: 1.20.0-1 adapter: CC2652RB development stick with zigbee2mqtt firmware

CVKBaca avatar Jul 10 '21 08:07 CVKBaca

Hi, whether thermostat itself works? And what firmware version now shows thermostat?

vladi1234 avatar Jul 12 '21 19:07 vladi1234

Termostat works ok and show firmware U1, or UI

wizu avatar Jul 12 '21 19:07 wizu

Does z2m pairing work correctly?

vladi1234 avatar Jul 12 '21 20:07 vladi1234

Yes, I have tried that several times and it worked every time, but no difference.

wizu avatar Jul 12 '21 20:07 wizu

I need more information.

Bildschirmfoto vom 2021-07-12 22-46-23

I need result.

vladi1234 avatar Jul 12 '21 21:07 vladi1234

sorry I dont see fw version :( [image: image.png]

po 12. 7. 2021 o 21:13 vladi1234 @.***> napísal(a):

Hi, whether thermostat itself works? And what firmware version now shows thermostat?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Koenkk/zigbee2mqtt/issues/7941#issuecomment-878527096, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASPMHLT4VMTWPJEX2FPY3ALTXM5EBANCNFSM47ZLL3KA .

CVKBaca avatar Jul 12 '21 21:07 CVKBaca

Read result of 'genBasic': {"appVersion":87,"zclVersion":3,"stackVersion":0,"hwVersion":1,"manufacturerName":"_TZE200_b6wax7g0","modelId":"TS0601","dateCode":"","powerSource":3}

wizu avatar Jul 12 '21 21:07 wizu

Read result of 'genBasic': {"zclVersion":3,"appVersion":64,"stackVersion":0,"hwVersion":1,"manufacturerName":"_TZE200_b6wax7g0","modelId":"TS0601","dateCode":"","powerSource":3}

On my thermostat "appVersion" is: 64. I did not update.

vladi1234 avatar Jul 12 '21 21:07 vladi1234

image

CVKBaca avatar Jul 12 '21 21:07 CVKBaca

Moes BRT-100-TRV thermostat does not have a firmware update yet. I think the thermostat got the wrong firmware update from Tuya.

Look here: https://github.com/Koenkk/zigbee-OTA/commit/8c9017844d110ea8d499da0158e0e4c85d8aa1d5

vladi1234 avatar Jul 12 '21 21:07 vladi1234

Is there a way to get it back to old firmware? @Koenkk

wizu avatar Jul 12 '21 21:07 wizu

Tuya and Moes have the same "modelId": "TS0601". That is not right. We have to speak to @Koenkk that he differentiates according to "manufacturerName": "_ TZE200_b6wax7g0" and not according to "modelId": "TS0601".

vladi1234 avatar Jul 12 '21 21:07 vladi1234

Tuya and Moes also have the same "manufacturer code": 4098,

vladi1234 avatar Jul 13 '21 07:07 vladi1234

{
	"id": 17,
	"type": "EndDevice",
	"ieeeAddr": "0xcc86ecfffebxxxxx",
	"nwkAddr": 53108,
	"manufId": 4098,
	"manufName": "_TZE200_b6wax7g0",
	"powerSource": "Battery",
	"modelId": "TS0601",
	"epList": [
		1
	],
	"endpoints": {
		"1": {
			"profId": 260,
			"epId": 1,
			"devId": 81,
			"inClusterList": [
				0,
				4,
				5,
				61184
			],
			"outClusterList": [
				25,
				10
			],
			"clusters": {
				"genBasic": {
					"attributes": {
						"65503": "�f|(\u0012�f|(\u0012",
						"65506": 31,
						"65508": 0,
						"modelId": "TS0601",
						"manufacturerName": "_TZE200_b6wax7g0",
						"powerSource": 3,
						"zclVersion": 3,
						"stackVersion": 0,
						"hwVersion": 1,
						"dateCode": "",
						"appVersion": 64
					}
				},
				"genDeviceTempCfg": {
					"attributes": {}
				},
				"genLevelCtrl": {
					"attributes": {}
				},
				"msTemperatureMeasurement": {
					"attributes": {}
				}
			},
			"binds": [
				{
					"cluster": 0,
					"type": "endpoint",
					"deviceIeeeAddress": "0x00124b0022812735",
					"endpointID": 1
				},
				{
					"cluster": 61184,
					"type": "endpoint",
					"deviceIeeeAddress": "0x00124b0022812735",
					"endpointID": 1
				}
			],
			"configuredReportings": [],
			"meta": {}
		}
	},
	"appVersion": 64,
	"stackVersion": 0,
	"hwVersion": 1,
	"dateCode": "",
	"zclVersion": 3,
	"interviewCompleted": true,
	"meta": {},
	"lastSeen": 1626155319566
}

vladi1234 avatar Jul 13 '21 09:07 vladi1234

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 Aug 13 '21 00:08 github-actions[bot]

problem still exists

wizu avatar Aug 13 '21 06:08 wizu

I confirm the same problem. I also found out that after the OTA firmware update, it is no longer possible to set the device to pairing mode. I tried to reset the device manually via the AE function and entering a value "01", but even that didn't help.

CVKBaca avatar Aug 17 '21 19:08 CVKBaca

https://github.com/Koenkk/zigbee2mqtt/discussions/5748#discussioncomment-1119126 crosslinking this too.

bruvv avatar Aug 26 '21 07:08 bruvv

Explanation of problem:

Moes BRT-100-TRV thermostat doesn't have its own firmware update yet. Our Moes BRT-100-TRV thermostat got the wrong firmware update from unknown Tuya thermostat.

Because both manufacturers Tuya and Moes have the same "modelId" and "manufacturerCode". Tuya "modelId": "TS0601", "manufacturerCode": 4098 Moes "modelId": "TS0601", "manufacturerCode": 4098

zigbee-OTA only recognizes according to "modelId" and "manufacturer code". This means that all Tuya and Moes termostats get the wrong upgrade. Specifically this "https://github.com/Koenkk/zigbee-OTA/raw/master/images/Tuya/1615190575-si32_zg_uart_connect_sleep_ZS5_ty_OTA_1.1.7.bin" file.

zigbee-OTA / index.json

    },
    {
        "fileVersion": 87,
        "fileSize": 234174,
        "manufacturerCode": 4098,     <-------------<<<<<<<<<<<<<<<
        "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"
    },
    {

That is not right!!!

I've already asked the right people about it, but I haven't received an answer yet. I would like to know which thermostats are these files for? https://github.com/Koenkk/zigbee-OTA/pull/43#issuecomment-888394556

@Koenkk must change "zigbee-OTA" so that it differentiates according to "manufacturerName": "_ TZE200_b6wax7g0" and not just according to "modelId": "TS0601" and "manufacturerCode": 4098

vladi1234 avatar Aug 26 '21 09:08 vladi1234