Open jehos opened 18 hours ago
ModelId
, Manufacturer{ID,Name}
, Changelog
)Installing custom fw should only be made manually.
by @KipK at https://github.com/Koenkk/zigbee-OTA/issues/620#issuecomment-2511603574
Totally agree. I had no idea if the firmware I was updating was custom firmware. because, The information displayed was very simple...
(sorry, i know this UI from HA, not Z2m)
To display additional information here, contributor will need at least some additional information, such as ModelId
, Manufacturer{ID,Name}
and Changelog
. This information has been optional so far, but should either change it to mandatory or modify it to show it on the UI to encourage the user to submit it. (Everyone doesn't want to see the empty blanks, right? ;-)
These information can also be used by zigbee-OTA
to match and validate firmware and devices, but can also be used as a basis for users to determine whether updates are being performed. (At least user know if the firmware they're trying to update is official, custom, or who signed the firmware.) And the contributors who submit firmware themselves will also help them understand clearly which devices this firmware is using only for.
It's already functional enough on the Z2m, but people might not use it. Or, there might be engineering and practical reasons for not being able to easily change the method. Please understand my lack of understanding.
need additional metadata when submitting firmware. (ModelId, Manufacturer{ID,Name}, Changelog)
I think we should do this for the overloaded manufacturer codes (like the Tuya ones), for e.g. Philips it doesn't make any sense, the same OTA is also used by many devices which makes it very hard to do and maintain.
Overview
As discussed in #620, there is a possibility that the wrong firmware will be accidentally flash to the wrong device.
index.json
, they did not provide enough detailed metadata. So, Z2m raise an update notification on the wrong device.Goal
The problem occurred because all the mistakes that occurred at each stage passed through the sieve. need to improvement the sieve to prevent the problem from passing through.