KlausNZ
(Klaus)
October 31, 2023, 3:34am
1
On the ESPHome screen there is the “Update ALL” button which usually will not succeed to the end of my device list. I do have ESPHome 82 devices in my list.
An alternative “Update all Updateable” which would only update the devices where there is an update available would be a nice thing for the future.
zoogara
(Daryl)
October 31, 2023, 4:12am
2
Yes - at the least. Better still a flag that says “never update this device”. Or both
1 Like
tom_l
October 31, 2023, 4:30am
3
The ESPHome feature request tracker has a number of requests like this, here are a few:
opened 10:46AM - 06 May 23 UTC
<!-- READ THIS FIRST:
DO NOT DELETE ANY TEXT from this template! Otherwise the … issue may be closed without a comment.
-->
**Describe the problem you have/What new integration you would like**
Got several projects on my ESPHome dashboard; some of these are only test or developments, while others are working ones.
Every time I click on "update all", ALL my projects are compiled, loosing a lot of time even if some of them won't be OTA uploaded.
Would be really useful a selection of which projects must be compiled (and OTA uploaded) on "update all" action.
**Please describe your use case for this integration and alternatives you've tried:**
As explained
**Additional context**
nb
opened 10:09PM - 15 Aug 23 UTC
<!-- READ THIS FIRST:
- This is for feature requests only, for issues please g… o to the issues repository.
- Please be as descriptive as possible, especially use-cases that can otherwise not be solved boost the problem's priority.
DO NOT DELETE ANY TEXT from this template! Otherwise the issue may be closed without a comment.
-->
**Describe the problem you have/What new integration you would like**
UPDATE ALL button in ESPHome main web environment applicable to specific devices using regex.
**Please describe your use case for this integration and alternatives you've tried:**
None.
**Additional context**
Heplful for those who has a lot of devices.
opened 11:24AM - 24 Oct 23 UTC
<!-- READ THIS FIRST:
- This is for feature requests only, for issues please g… o to the issues repository.
- Please be as descriptive as possible, especially use-cases that can otherwise not be solved boost the problem's priority.
DO NOT DELETE ANY TEXT from this template! Otherwise the issue may be closed without a comment.
-->
**Describe the problem you have/What new integration you would like**
The "Update All" button in ESPHome is a nifty way of quickly updating all devices to the most recent version by creating a pipeline that builds each device with the latest data, then wirelessly uploading it to the device in question.
The trouble here is that this time saving measure is not helpful if some of those devices are not actually online.
I would propose the button be renamed to "Update Online Devices" (I'd also thought just "Update Online", but wasn't sure it entirely made clear the purpose of the button and might be miscontrued to mean it was the status of an update, rather than a call to action).
I'd then have this queue be updated to only actually compile the code for devices that are actually online.
I appreciate that if an upload fails, the user will still be able to download the firmware manually, but I suspect in such situations, the user is likely to be working with a few individual devices in development and so unlikely to be using the "Update All" button to achieve this. However I am making that assumption without seeing any usage data, so if I am mistaken, I suppose my proposed button could in fact be an addition rather than a change.
**Please describe your use case for this integration and alternatives you've tried:**
As a user with multiple devices online but a few without power at this time, I would like to update all devices with a single button without having to wait through compile times for devices that will currently fail to upload.
**Additional context**
Here is a mockup of the proposed change. Yellow box for highlighting purposes only.
<img width="1718" alt="Screenshot 2023-10-24 at 12 13 01" src="https://github.com/esphome/feature-requests/assets/642320/4865b2fa-61f6-49e3-bc11-5c6d078c9eed">
opened 10:18AM - 21 Feb 23 UTC
Project: Dashboard
Hi,
With 30+ esphome devices in my HA installation I'd love to use the "Updat… e all" functionality provided by the dashboard. Unfortunately, this updates really **all** devices - independent of their status. That is, even devices that already have the latest firmware installed are being updated. A smarter way of doing this, and much more useful and user-friendly, is to update only those devices for which a firmware update is available.
opened 09:42AM - 18 Aug 21 UTC
Project: Dashboard
<!-- READ THIS FIRST:
- This is for feature requests only, for issues please g… o to the issues repository.
- Please be as descriptive as possible, especially use-cases that can otherwise not be solved boost the problem's priority.
DO NOT DELETE ANY TEXT from this template! Otherwise the issue may be closed without a comment.
-->
**Describe the problem you have/What new integration you would like**
The `Update All` feature of ESPHome allows for quick updating of all linked devices.
However, this also results in the building of firmware images and the needless waiting for network connection with devices that are currently offline.
This creates unnecessary delays.
Some devices may even be offline for multiple version upgrades because they're only used for sporadic testing.
**Please describe your use case for this integration and alternatives you've tried:**
There's currently 2 options:
- Manually update each of the online devices
- Update All but which takes extra long
**Additional context**
Request #1317, which asks for an option to update only selected devices could be a solution to this as well.
Manually select the online devices and update those.
opened 07:09PM - 27 Jul 21 UTC
Project: Dashboard
<!-- READ THIS FIRST:
- This is for feature requests only, for issues please g… o to the issues repository.
- Please be as descriptive as possible, especially use-cases that can otherwise not be solved boost the problem's priority.
DO NOT DELETE ANY TEXT from this template! Otherwise the issue may be closed without a comment.
-->
**Describe the problem you have/What new integration you would like**
I don't always want to update all of the devices at the same time (especially in case some power devices get reset and turn off the plugs).
**Please describe your use case for this integration and alternatives you've tried:**
Imagine you have devices like a dishwasher/fridge/any other device drawing current. You have that connected to a power plug. You run an update - the plug resets cutting power off from the device (even if for just a second until it turns back on - depending on it's resume power setting).
Right now, I'm just manually going item by item with devices I know can be upgraded together and pick the right time to upgrade those critical ones.
I would like a checklist to become available where I can chose which multiple devices can get updated in bulk.
**Additional context**
Use the thumbs up option on these posts to show your support.
1 Like
zoogara
(Daryl)
October 31, 2023, 4:34am
4
Yeah I was aware of a couple of those. @KlausNZ the same as me was probably just annoyed by having to do it 5 times this month.
KlausNZ
(Klaus)
October 31, 2023, 6:30am
5
Sorry, I wasn’t aware of those, but I’m guilty of not really have searched.
But because of the missing functionality my last updated was 2022.12.3!
@KlausNZ how comes?
I mean, I have just two Xiaomi AirPurifiers with custom ESPHome firmware and love the idea to have the firmware updated on a regular base and have security patches included.
What I would love on the other hand is to have the firmware build triggered automatically (with an automation?) so when I am going to update the firmware vía the UI it is just the deployment of the already built firmware. Unfortunately the ESPHome Add-On has only one sensor that indicates if there’s an update of ESPHome itself available and nothing more on my HA instance…
(Or have the build offloaded to another machine… I’ve got a build server that is much more capable (than the machine home assistant is running on) and already running, but that’s probably an edge-case for ESPHome users)
I don’t see the point of updating esp’s regularly…i use “don’t fix if it ain’t broken” system, so “update all” or similar could be even removed if you’d ask me… esp modules aren’t connected to outside world so they are not prone to security bugs, and if they work, why update and risk to be broken with some new “breaking” function which, possibly, i don’t even use? I’ll deal with that when/if i need to change some things on old esp.
First thing i do on a new esp module is disable new firmware notification sensor.
But, @HappilyOffensive :can you explain what “custom esphome” do you use on xiaomi?
Well, they’re not directly connected, but still are active network devices (with wifi)… But I get your point - when the network is segmented properly (and no internet-content is fetched) they should be relatively safe (or vulnerabilities can be mitigated with proper firewall rules, etc.) assuming there are no bad actors in your network already
For my Xiaomi Air Purifiers I am using the following: GitHub - jaromeyer/mipurifier-esphome: ESPHome for the Xiaomi Mi Air Purifier 3H (and similar devices using the same protocol)
It is a bit fiddely to set up at first but for me it was worth the effort to have Xiaomi software removed.
2 Likes
KlausNZ
(Klaus)
October 31, 2023, 10:22am
9
how comes?
I had bad experiences with the number of devices I run (mainly ESP01s boards) that device and entity registry got corrupted having double and triple entries.
So I do a full backup before, pray a bit and have a go…
And yes, don’t fix a runing system is always a good idea.
SpikeyGG
(Greg G.)
March 31, 2024, 3:47pm
10
This is a great thread! I’d like to explicitly thank tom_l for organizing all the github feature-requests so I could easily add my thumbs up to the ones I aligned with.