Koenkk / zigbee-OTA

A collection of Zigbee OTA files
GNU General Public License v3.0
416 stars 200 forks source link

Please add fresh TS011F_plug_1 OTA FW 1.1.0 #547

Open mrmaximas opened 2 months ago

mrmaximas commented 2 months ago

Catched FW 1.1.0 (appVersion: 80) for TS011F_plug_1 (_TZ3000_w0qqde0g in my case) via SL app after downgrade FW via Z2M from 3.0.0 (appVersion: 172) то 1.0.13 (appVersion: 77)

{"id":91,"type":"Router","ieeeAddr":"0xa4c138035941e495","nwkAddr":44547,"manufId":4417,"manufName":"_TZ3000_w0qqde0g","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[3,4,5,6,1794,2820,57344,57345,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"d�g.\u0013e�g.\u0012","65506":56,"65508":0,"65534":0,"modelId":"TS011F","manufacturerName":"_TZ3000_w0qqde0g","powerSource":1,"zclVersion":3,"appVersion":80,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOnOff":{"attributes":{"32768":0,"onOff":1,"onTime":0,"offWaitTime":0,"tuyaBacklightMode":1,"moesStartUpOnOff":2,"tuyaBacklightSwitch":1}},"haElectricalMeasurement":{"attributes":{"acCurrentDivisor":1000,"acCurrentMultiplier":1,"rmsVoltage":235,"rmsCurrent":2161,"activePower":505}},"seMetering":{"attributes":{"divisor":100,"multiplier":1,"currentSummDelivered":[0,38]}},"manuSpecificTuya_3":{"attributes":{"53248":0,"53249":0,"53250":0,"53251":0,"53252":0,"53253":0,"powerOnBehavior":2,"switchType":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":3600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":3600,"repChange":[1,1]}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":80,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1725266502440}

Works on _TZ3000_dksbtrzs too but not offered via SL app for this model. I successfully flashed this plug using z2m and custom ota index like this:

[
    {
        "fileVersion": 80,
        "fileSize": 310402,
        "manufacturerCode": 4417,
        "imageType": 54179,
        "sha512": "c541878e792620ad16cc70967e0458c03de21876ad8ed3c3b1eb90c8ecf7bcdfe6bfe711460a5888bb033def141e7dd22d78fe24c44a4e0b9707afb473a2d2a2",
        "url": "/Users/m/zigbee2mqtt/data/1718263020-oem_zg_tl8258_plug_OTA_1.1.0.bin",
    "force": true
    }
]

{"id":89,"type":"Router","ieeeAddr":"0xa4c1380b31fbf03c","nwkAddr":761,"manufId":4417,"manufName":"_TZ3000_dksbtrzs","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[3,4,5,6,1794,2820,57344,57345,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"��g.\u0017��g.\u0013��g.\u0012\r\u0000\u0000\u0000\u0012","65506":56,"65508":0,"65534":0,"modelId":"TS011F","manufacturerName":"_TZ3000_dksbtrzs","powerSource":1,"zclVersion":3,"appVersion":80,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOnOff":{"attributes":{"32768":0,"onOff":1,"onTime":0,"moesStartUpOnOff":2,"tuyaBacklightMode":1}},"seMetering":{"attributes":{"currentSummDelivered":[0,3],"divisor":100,"multiplier":1}},"haElectricalMeasurement":{"attributes":{"rmsVoltage":232,"rmsCurrent":23,"activePower":0,"acCurrentDivisor":1000,"acCurrentMultiplier":1}},"manuSpecificTuya_3":{"attributes":{"53248":0,"53249":0,"53250":2619665,"53251":123,"53252":11944,"53253":1374,"powerOnBehavior":2,"switchType":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":3600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":3600,"repChange":[1,1]}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":80,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1725266493051}

MITM catch

{
    "result": [
        {
            "autoSwitch": false,
            "canUpgrade": true,
            "controlType": 0,
            "currentVersion": "1.0.13",
            "desc": "FW upgrade",
            "devType": 0,
            "diffOta": false,
            "fileSize": "310402",
            "firmwareDeployTime": 1724827082,
            "firmwareKey": "keyrh3sh",
            "lastUpgradeTime": 0,
            "md5": "cfce46a24d4eeaf12d39e5007c0a5925",
            "timeout": 6000,
            "type": 3,
            "typeDesc": "ZigBee Module",
            "upgradeStatus": 1,
            "upgradeType": 0,
            "upgradingDesc": "Please keep the power of the device connected during the upgrade process, please be patient.",
            "url": "https://euimagesd2h2yqnfpu4gl5.cdn5th.com/smart/firmware/upgrade/20240613/1718263020-oem_zg_tl8258_plug_OTA_1.1.0.bin",
            "version": "1.1.0"
        }
    ],
    "status": "ok",
    "success": true,
    "t": 1725229115753
}
octa22 commented 2 months ago

@mrmaximas added just for the devices you mentioned (_TZ3000_w0qqde0g, _TZ3000_dksbtrzs), not sure if it is working for other Telink plugs too

mrmaximas commented 2 months ago

@mrmaximas added just for the devices you mentioned (_TZ3000_w0qqde0g, _TZ3000_dksbtrzs), not sure if it is working for other Telink plugs too

Thks!

RezzZ commented 1 month ago

will this firmware prevent the randomly turnoffs? I just figured out the regular fw is also causing issues for me

merlinschumacher commented 1 month ago

This firmware update also works for _TZ3000_hdopuwv6 plugs.

el-bakkali commented 1 week ago

_TZ3000_cphmq0q7 is missing from index.json

please can you add

Screenshot 2024-10-30 at 22 23 48 Screenshot 2024-10-30 at 22 24 46
MnM001 commented 4 days ago

Please add

_TZ3000_cehuw1lw

too.

Thanks