Koenkk / zigbee2mqtt

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

Develco Frient SMSZB-120 not finding OTA Update #9250

Closed Veldkornet closed 2 years ago

Veldkornet commented 3 years ago

What happened

Initial pairing of the Develco Frient SMSZB-120 showed that there was an update for the device. I applied the update and afterwards there was no longer an update.

However, when examining the state of the device, the firmware is listed as "current_firmware": "3.4.25", while I can see here that version 4.0.2 is available.

Adding a newly purchased SMSZB-120 already has version 4.0.2. But it's not clear to me why this device no longer finds an update, while not having the latest update.

What did you expect to happen

Device should have updated to version 4.0.2

How to reproduce it (minimal and precise)

Debug info

Zigbee2MQTT version: 1.21.2 Adapter hardware: Conbee II Adapter firmware version: 0x26720700

Veldkornet commented 3 years ago

Also note the firmware build date of the first SMSZB-120 compared to the others. Side note, it would be nice if the firmware version was shown on the OTA status page like the other devices:

image

Veldkornet commented 3 years ago

Looking at the debug log, it looks like it either thinks that it has the update but doesn't; or it did actually successfully apply the update the first time round; but is not showing the correct version:

Device '0x0012ab002100abcd' requested OTA
Debug Got OTA request '{"fieldControl":0,"manufacturerCode":4117,"imageType":593,"fileVersion":262146}'
Debug Is new image available for '0x0012ab002100abcd', current '{"fieldControl":0,"manufacturerCode":4117,"imageType":593,"fileVersion":262146}', latest meta '{"fileVersion":262146,"fileSize":198738,"url":"https://github.com/Koenkk/zigbee-OTA/raw/master/images/Develco/ED_Smoke_Sensor_SSIG_4.0.2.zigbee","sha512":"6ff88b27a44d0762e62d70d278313803a241ace28433135be765bb3e3fe34ec848ce71d645e28c78a88005fac03e039d507553b2fc16e1fd1b024d571a9c84c9"}'
Debug Update available for '0x0012ab002100abcd': NO
Info No update available for '0x0012ab002100abcd'
Koenkk commented 3 years ago

@olemyhre or @thestigh could you check this?

TheStigh commented 3 years ago

When I added OTA I did test on an original Develco SMSZB-120. After the release of the updated converter I did update 9 of these, and all of them was supplied with 3.4.25. All did update successfully. I assume there should be no difference with the original Develco and the Frient version, but there has been some issues here lately - all related to the Frient version (for unknown reason).

As I don't have the same issue locally, I don't know how to help. I can try to get in touch with Develco to ask if there are a new firmware available so I can test - or - get my hands on a 3.4.25 version.

Veldkornet commented 3 years ago

If you can, that would be great!

It did go through the update process, and no longer found an update afterwards, but.... no idea what's going on now 😂

This one with the "update problem" I bought in April. Unfortunately I didn't take note what version was on before hand. I was just overjoyed that the thing worked in general!

I purchased another 3x this week, but they are all already on 4.0.2, so I can't try with those. Although 2x of those are giving me other issues when pairing....

Veldkornet commented 3 years ago

@Koenkk slightly unrelated to the OTA itself, but I see that https://github.com/Koenkk/zigbee-herdsman-converters/pull/3119 seems to suggest that the firmware version should now be shown on the OTA page. Although, it looks the same as it did before... looks the same in the states too. Or am I missing the intention?

image

github-actions[bot] commented 2 years 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

Veldkornet commented 2 years ago

Nope

github-actions[bot] commented 2 years 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

Veldkornet commented 2 years ago

Nope

Veldkornet commented 2 years ago

FYI, I switched from a ConBee II to the new SONOFF ZigBee USB Dongle Plus, and re-paired everything, and the OTA secion seems to be fine now.

image

I did notice though that, during pairing, the Frient devices (so not only the Smoke detectors, but all Frient devices) all gave the following error:

Zigbee2MQTT:error 2022-02-01 13:52:13: Exception while calling fromZigbee converter: Cannot set property 'softwareBuildID' of undefined}
Zigbee2MQTT:error 2022-02-01 13:54:16: Exception while calling fromZigbee converter: Cannot set property 'softwareBuildID' of undefined}

It looks like now it's not even reporting the firmware version properly, which is why it's not showing any updates. If I check the state now, it no longer lists the current_firmware

Zigbee2MQTT version: 1.22.2 Adapter hardware: SONOFF Zigbee 3.0 USB Dongle Plus Adapter firmware version: 20220103

github-actions[bot] commented 2 years 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

erazor666 commented 2 years ago

Still having problems with OTA'ing these, so this is my /bump

github-actions[bot] commented 2 years 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

ytzelf commented 1 year ago

Still not updating to 4.0.1 - bump

TheStigh commented 1 year ago

@ytzelf This is because I do not have access to their updated firmware.... Then I cannot add it neither.

ytzelf commented 1 year ago

I see - anything I can do to help expediting this? I own 4 of these

TheStigh commented 1 year ago

Hi, got hold of 4.0.5 now, I will try to find some time and upload the new firmware.

Stefano0042 commented 1 year ago

Hi, where did you downloaded 4.0.5?

TheStigh commented 1 year ago

Hi, where did you downloaded 4.0.5?

Hi, received through one of my partners

TheStigh commented 1 year ago

Updated to 4.0.5 - waiting for PR to be merged.

https://github.com/Koenkk/zigbee-OTA/pull/220

TheStigh commented 1 year ago

I see - anything I can do to help expediting this? I own 4 of these

My 4.0.5 PR merged, tested and upgraded fine here.

Stefano0042 commented 1 year ago

Super, thx..

waroen commented 1 year ago

I have an issue with my Frient one, when updating it to 4.0.5 (from 4.0.4) the version in OTA page disappeared.

It reports the following.

{ "alarm": null, "battery": 100, "battery_low": false, "current_firmware": "4.0.4", "enrolled": true, "fault": false, "ias_cie_address": "0x00212effff065b58", "linkquality": 255, "max_duration": 240, "reliability": "no_fault_detected", "restore_reports": true, "smoke": false, "supervision_reports": true, "temperature": 23.5, "test": false, "update": { "installed_version": "unknown", "state": "idle" }, "update_available": false, "voltage": 3000, "zone_id": 23 }

Veldkornet commented 1 year ago

Sounds like the issue I had initially… I think after I moved from the ConBee to the SONOFF USB Stick that it showed correctly (that the device did actually update correctly the first time round).

All of mine successfully updated from 4.0.2 to 4.0.5 this time round.

waroen commented 1 year ago

Interesting, I actually run on a ConBee as well. A bit odd if that's the reason.

Not really looking forward to changing and repairing all my units.

waroen commented 1 year ago

When trying to do a reconfigure on it a get this error. Might be related, might not. :-)

Failed to configure 'Brandvarnare tvättstuga', attempt 4 (Error: Bind 0x0015bc00310133b3/35 genBasic from '0x00212effff065b58/1' failed (Error: status: 140) at DeconzAdapter.bind (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:768:19) at Endpoint.bind (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:567:13) at Object.bind (/app/node_modules/zigbee-herdsman-converters/lib/reporting.js:40:9) at Object.configure (/app/node_modules/zigbee-herdsman-converters/devices/develco.js:436:13) at Configure.configure (/app/lib/extension/configure.ts:115:13) at Configure.onMQTTMessage (/app/lib/extension/configure.ts:55:21))

DamGranger commented 1 year ago

I don't know if I'm the only one, but be careful about #15795

TheStigh commented 1 year ago

@waroen Please have a look at the temp fix presented here #15795 Can you please test and verify this works as expected?

Working on resolving the short version :) I think it must be a change in the fw, but can't find any documentation on it...

Rick100694 commented 1 year ago

@TheStigh I recently bought a new smszb-120. On this is a firmware with version 4.0.7. So if you could get hold of this firmware to make it available for OTA that would be great. ;)

TheStigh commented 1 year ago

@TheStigh I recently bought a new smszb-120. On this is a firmware with version 4.0.7. So if you could get hold of this firmware to make it available for OTA that would be great. ;)

Thanks, I'll ask my contact :)

Teeseeone commented 1 month ago

Still not getting OTA

rommess commented 1 month ago

same here, no new firmware found :( image