[Enhancements] Ways to make OTA easier, user friendly and less problematic
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 667
- Forks
- 330
- Avg merge
- 15h 19m
- Merged PRs (30d)
- 31
Description
I've seen sever challenges with the way OTA currently is. It's not easy to use and in some cases has literally caused problems that could have been easily avoided and/or far more easily fixed.
Suggestions to make the OTA system as nice to use as the rest of Z2M...
- Manual point-n-click updates. Select a device (multi-select) -> Select a file from any location -> Upload/Update
Currently we must jump through hoops to add info into the main config, create a new custom JSON file, then drop files into folders -- then hope the Z2M system properly recognizes the firmware for that device.... Why? This reminds me of how we did things in the late 90s (literally).
The current way creates a large problem if the firmware hoses anything in the versioning and model number... there is no way to easily force a firmware over the top to correct it (as happened with me in this issue
-
Provided needed information about the OTA files being used
The Z2M system doesn't allow the user to know where the FW is coming from or what the file name is. So there is no way to know if what Z2M shows us as 'Available' is the FW from the local folder, or from the Internet; and where from the Internet (what actual file). As we've seen in this issue it can cause havoc if the OTA file Z2M sends you is bad. And because we dont have point-n-click updates (#1 above) it makes it difficult to reverse the damage the bad FW did. -
Hide / Ignore Option
There is no way to hide or ignore update notifications. In cases like custom FW or everything is stable and the users doesnt want a notification on 10, 20, 30+ devices they will never update... the OTA screen will always show an available version for no benefit.
If the FW version Z2M presents from the Internet has a newer/larger version number than the local (in the local folder) firmware, it will always tell the users "this is newer" and present it to the user. In my case, I'll have 15 line items that always show and are not relevant since they will never need a FW update.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. First map the OTA screen and the current configuration, custom JSON, local-folder, and Internet firmware flows, then clarify which of the three proposals is in scope. Done requires agreed acceptance criteria for manual updates, firmware source and filename visibility, and hiding or ignoring notifications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100