i dont have experience with zigbee2mqtt updates. Therefore, i want to ask you for your opinion and know how. I have problem to add new devices (different devices, different brands - i added them, but they are “unsupported”) to my HASS via z2mqtt for months. I think problem is, that i have never made update z2mqtt for app, aprox 2 years. Do you think that this will be the reason?
How to make update of z2mqtt in my situation:
Just direct update to latest version?
Or i have to do it for multiple steps across different versions? In this case, can you please give me your intructions how?
Latest version which HASS recomends me for the update is already 2.0.0-1. I am afraid, that after update i will lost conected devices in z2mqtt (now i have more then 100 devices), or they will not work properly,…
It could very well be that you will have some impact, but other people won´t be able to tell you easily. The best way to try out is to create a decent backup and then read the release notes and especially breaking changes. I recall an earlier update about a year ago or so that also had some consequences and had to reshuffle the configuration.yaml from the zigbee addon.
Once upgraded just try to fix the errors one by one. If too much work, restore and you should be back again, but I recommend you just bite the bullet and go through it and as of then keep up with the upgrades to make the impact not so big.
If I was in your position, I would read the release notes for every version released since 1.30.3-1 and make a note of any breaking change that might affect me. FWIW, I am currently doing this before upgrading from 1.41.0-1 to 2.0.0-1.
I would then reserve a Saturday afternoon for making a backup then performing a direct upgrade to the latest version followed by testing the system and fixing everything that broke.
If the result is total, unresolvable failure, I would restore the backup and review what went wrong before trying again.
I am making backup 1x every week. But now i am afraid about update to latest version after information which you wrote me guys.
Can you recommend me specific version of Zigbee2MQTT? I just need that i will not have problem to add new devices (different devices, different brands - i added them, but they are “unsupported”) to my HASS via z2mqtt. I think this problem i have, becaue i have really old version. I dont need one of latest versions, just that adding new devices will work.
Peter, I am quite sure nobody can give you an answer…Simply because as you said you are on an old version and you are not indicating which. It is your decision if you want to upgrade to a later version or an older one and not be on the latest, but you need to go through all release notes (or just bite the bullet to a newer version, see if it works and upgrade like that in humps until you hit an issue and restore to a prior one - So make sure to make a backup prior to each time you upgrade so you can roll back).
So it is likely that your devices may have had support added somewhere along the line. If they haven’t yet, there are good howtos on adding them. Support new devices | Zigbee2MQTT
Don’t be scared of 2.0. Read the release notes. Back up and revert if needed.
As you probably know, Z2M version 2 has deprecated support for the use of sensor entities to report button events (so-called “action sensors”). They have now aligned themselves with Home Assistant’s preference to use MQTT Device Triggers to detect button events.
I have a few automations that rely on action sensors. I will eventually modify them to use the new way of detecting button events. In the interim, to prevent breakage, I have enabled the legacy_action_sensor option. After I have updated the automations, I will disable the option (and the “action sensors” in my system will disappear).
In addition, I intend to use event entities to detect button events (instead of MQTT Device Triggers). Therefore I have enabled the experimental_event_entities option. As a result, Z2M creates an event entity for every remote-control device. I have already changed one of my automations from using a deprecated action sensor entity to an event entity.
Thanks! I have various brands of motion sensors and buttons that are used in automations and some IKEA plug in devices that are only used as repeaters.
It looks like I might be in for a lot of work that I hadn’t counted on but at least there is a migration path and things will become “future proofed” in a fashion.
I haven’t done a lot of testing but the motion sensor Zigbee devices seem to be up and running!
The one weird thing is that the typed in Configuration changes in the shell to /homeassistant/zigbee2mqtt/configuration.yaml are not showing up in the GUI