Replies: 196 comments 646 replies
-
|
I'd like to remove the |
Beta Was this translation helpful? Give feedback.
-
|
My suggestion is to remove |
Beta Was this translation helpful? Give feedback.
-
|
I'd also like to remove the duplicate
|
Beta Was this translation helpful? Give feedback.
-
|
So what's the timeframe for 2.0.0 approximately? (I am asking if I should do a larger clean-up PR for Home Assistant discovery instead of adding Also, wouldn't it be easier if there was a |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I am in favor of breaking change for 2.0 and major updates. It is not always possible or desirable to keep old stuff. I have a question about the 1.x z2m.
Is there a policy for z2m ? |
Beta Was this translation helpful? Give feedback.
-
What are those supposed to be replaced by ? I read here that actions are replaced by event, but how would it work with devices like old Ikea remotes, as i don't see events implemented yet ? |
Beta Was this translation helpful? Give feedback.
-
|
So with Z2M 2.0 , will it be true that I cannot enable permit join via MQTT, wait up to 5 mins for a device to join, interview and configure then disable permit join via MQTT ? |
Beta Was this translation helpful? Give feedback.
-
|
I've been enjoying Zigbee2MQTT for years now. Many thanks for maintaining such a great product so diligently. Hats off from me. |
Beta Was this translation helpful? Give feedback.
-
|
I look at the proposed changelist and everything is really promising @Koenkk, but one thing i want to put up for discussion, and that is the removal of I myself, and assume a lot of people use other automation platform, for example Node-RED. The HA-NR integration is greate, device triggers also added so basically this change should not be a prolem, right? Sadly, it is, generally as device triggers work, you cannot target multiple device with one selector, in the past I wrote a lot of common subflow/function that use the generic state triggers and filters entities by regex, because I use consistent naming for my entities, not really need to deploy 100s of device triggers just use, for example this regex: Can we at least shift the deprecation of this action/click entities because i assume that i not the only one that has such a use-case. |
Beta Was this translation helpful? Give feedback.
-
|
I may have missed this elsewhere, but I think it's worth coming up with a plan for the What if:
|
Beta Was this translation helpful? Give feedback.
-
|
I have been using Zigbee2mqtt for years. Many thanks and my respect for your great work. |
Beta Was this translation helpful? Give feedback.
-
|
It would be good if some of the changes can be brought forward into v1 to enable people to migrate their configs off legacy sooner - e.g. introduce the change to update sensors alongside the current setup. |
Beta Was this translation helpful? Give feedback.
-
|
This is probably the bottom of your list of priorities, but can we see some UI/UX improvements? thanks |
Beta Was this translation helpful? Give feedback.
-
|
@Koenkk would renaming an effect for Hue bulbs be considered a bc break? If so, I'd like to get a fix in place now where "prism" is incorrectly called "colorloop". I figured it was worth checking since it's been wrong for a while and users could have automations tied to it. |
Beta Was this translation helpful? Give feedback.
-
|
Migrated from the Dec 2024 version to 2.1.0 today, after a bit of prep work over the last month or so:
Once I actually performed the update (Z2M addon in Home Assistant) and confirmed that everything looked ok in the logs, I could control lights from Zigbee2Mqtt GUI alright but nothing was getting through to Home Assistant (could not control lights or read climate sensor values etc). A reboot of Home Assistant fixed this, so I assume it was related to MQTT discovery or similar. Finally, I then had to track down the motion sensor devices in Home Assistant, re-enable the lux / illumination sensors, and rename them to their old entity names. So now my automations based on area brightness seem to be working ok again. It's only been a few hours since updating so fingers crossed everything continues to work ok and I don't find any weird issues. I found this update to 2.x of Zigbee2Mqtt to be quite challenging. |
Beta Was this translation helpful? Give feedback.
-
|
I have uninstalled z2m Add-On. Can I or should I manually remove the CONFIG/zigbee2mqtt folder and sub folders? I have everything in ZHA (SkyConnect) and added MQTT (Sonoff Dongle-P). Reasons:
[Edit: reinstalled z2m addon closely following this guide. This time entered No broker credentials and no serial info.
[edit 2: |
Beta Was this translation helpful? Give feedback.
-
|
I´ve upgraded to 2MQTT 2.0.0 with the suggestions I have read. I´ve also upgraded the dongle (Z2M) to "ember", and wrote this interface on config.yaml file. Everything works OK, except that I have lost all my Sonoff ZB Mini L2 switches (without neutral). I can't find a solution since then. Can´t get any discover of these devices in the Z2M net. |
Beta Was this translation helpful? Give feedback.
-
|
Hello sorry i have read all the comments but I'm still lost, not an IT expert just a normal person liking automatization so since than all my bottoms stopped working +- 20 !! so how can i get the actions buttons back , i understood as well, that there is something which i can change in my Z2M configutaration.ymal As I'm not a programmer i will copy my config file here and perhaps someone can help me to make the changes and i can than copy this bag on top of my original config file.. :-) thanks for your help and sorry for the long message.. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< |
Beta Was this translation helpful? Give feedback.
-
|
Even if legacy action sensors are enabled, action attributes do not show up in HA which brakes some automations. I see the action attributes being published in MQTT explorer, but they do not show up in HA. Is there any way to get the action attributes available in HA |
Beta Was this translation helpful? Give feedback.
-
|
I could use some help here. I upgraded when the update came out and it didn't work. Tried a bit, but downgraded because lack of time. The issue is, the add-on will not start and hangs at: The logs don't tell more, even the HA logs. So I am stuck without a clue |
Beta Was this translation helpful? Give feedback.
-
|
For those with a Zigstar UZG-01, just add to configuration.yaml: After restart Homeassistant and you're good to go. Thanks to @Koenkk awesome work! |
Beta Was this translation helpful? Give feedback.
-
|
A pro tip is to verify correct nodejs and pnpm version has been installed before updating. I've not updated mine and got errors and the service failed to start `node --version # Should output V18.x, V20.x, V22.X #If not |
Beta Was this translation helpful? Give feedback.
-
|
Dear @Koenkk and the Team, I assume there's a number of users stuck at 1.4 and not able to upgrade to 2.x Will greatly appreciate your response and consideration! |
Beta Was this translation helpful? Give feedback.
-
|
When 2.0.0 I was quite harsh in my comments initially because literally every device stopped working. Tried again now and things seem much better, also blueprints are being updated. One thing I don't understand, why is illuminance disabled by default on quite a number of devices (like 9290030675) ? It's possible to enable them manually, yes, true but why it got disabled in the first place? Thanks to Koenkk for your hard work! |
Beta Was this translation helpful? Give feedback.
-
|
OK, I have just updated from v1.42 to latest v2.2.1. Having read this breaking changes-issue when v2 was released, Today, the bosses (wife and kids) is out, so I decided to finally to take the leap. Turns out it helps to read Change logs. Thanx for an amazing experience, @Koenkk . |
Beta Was this translation helpful? Give feedback.
-
|
Ok so what now? I upgraded from 1.4 to the latest and nothing works. I checked the yaml configuration and all are set to false. Adapter was already zstack. But nothing works |
Beta Was this translation helpful? Give feedback.
-
@Koenkk: Can I ask why? I looked in the PRs and git commits (e.g. Koenkk/zigbee2mqtt.io#3104 and 5a699dd), but they don't give any motivation for this change. (This question was also raised in #24198 (comment), but it didn't get an answer.) Like another message, #24198 (comment), I also find the removal of group management from configuration.yaml to be a big loss. I even do nested groups in an abstraction layer above configuration.yaml (with templating in Nix), so I definitely don't look forward to doing all that work manually/imperatively. Can we re-add declarative group configuration please? |
Beta Was this translation helpful? Give feedback.
-
|
Why, after 2.0, devices are Unknown after every restart of HA? I have to click on every device in UI for them to change their status from Unknown to Off? This breaks all of my automations. |
Beta Was this translation helpful? Give feedback.
-
|
I'd like to say the upgrade process from 1.x to 2.x is poorly documented. So many issues along the way even though I meticulously followed what was documented here. I had to search around on multiple threads on reddit to find simple solutions to issues that came up during the upgrade process |
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This discussion contains a list of breaking changes for Zigbee2MQTT 2.0.0.
Tip
Most of the breaking changes are about removing legacy features that have been deprecated for years (replaced & improved since), and as such, automatically disabled for newer networks.
How to get prepared (before updating to 2.0.0)?
In order to get the minimal amount of breaking changes when upgrading from 1.x.x to 2.0.0, make sure you have the following in your Zigbee2MQTT
configuration.yaml:Also it is recommended to explicitly add a
serial.adapterto yourconfiguration.yaml, see #24364 for more info.Important
Check you current
configuration.yaml, it is likely that some of these values are already present, and set tofalse, if your network is recent enough (past few years). The breaking changes marked with: Only breaking when legacy is enabled can be ignored if your configuration already has these values set tofalse.Breaking changes
General
USB adapter discovery error (No valid USB adapter found), see Z2M 2.0.0: `USB adapter discovery error (No valid USB adapter found)` #24364 how to fix this.zstackis no longer the default foradaptersetting. If Zigbee2MQTT fails to start saying the adapter could not be discovered, it means your adapter uses an identification not currently recognized by Zigbee2MQTT, make sure to specify theadaptersetting if that's the case.Bare-metal installations (no Docker/Home Assistant add-on)
configuration.yamlfrom repo, this will result in the following error when updating:git checkout data/configuration.example.yaml mv data/configuration.yaml data/configuration.yaml.bak ./update.sh # (update as you usually do) mv data/configuration.yaml.bak data/configuration.yamlpnpmis now used instead ofnpm, the installation instructions andupdate.shscript has been updated accordingly. For existing installations you need to executenpm install -g pnpmbefore updating../update.shscript, make sure you pull changes from git withgit pull --no-rebase(after stopping Zigbee2MQTT).pnpm run clean, then start Zigbee2MQTT again.Home Assistant
update_stateandupdate_availableentities have been removed (succeeded by theupdateentities).homeassistantproperty, useexposesinstead.sensor/selectforselect/number/buttonentities, the full list of removed entities per model can be found here.hass/statusHome Assistant status topic anymore,homeassistant/statusis used instead (ifhomeassistant.status_topicis not set in your Z2Mconfiguration.yaml). Double check that Home Assistant is using this status topic by going to: HA -> Settings -> Devices & services -> MQTT -> Configure -> Re-configure MQTT -> Next; the Birth message topic should behomeassistant/status.homeassistant.legacy_triggerssetting). This means allsensor.*_clickentities are removed. Use the MQTT device trigger instead.sensor.*_actionentities). It's recommended to use the MQTT device trigger instead. In case you really need the action sensors, add the following to yourconfiguration.yaml.homeassistant.legacy_entity_attributessetting) has been removed. This means that entities discovered by Zigbee2MQTT will no longer have entity attributes (Home Assistant entity attributes are accessed via e.g.states.binary_sensor.my_sensor.attributes).Device specific
child_lockon/off values have been changed fromtrue/falsetoLOCK/UNLOCK.illuminance_luxtoilluminance, this breaks in two ways:illuminance_luxhas been removed and the value ofilluminancechanges. Home Assistant users might have to manually enable this sensor via Home Assistant. This affects the following devices: 83633205, MOSZB-140, MOSZB-153, EFEKTA_iAQ3, EFEKTA_PWS_Max, EFEKTA_PWS_MaxPro, EFEKTA_eON29wz, EFEKTA_eFlower_Pro, EFEKTA_iAQ, E2134, POK004, POK011, ROB_200-070-0, HK-SENSOR-4IN1-A, AU-A1ZBPIRS, RADON TriTech ZB, TS0601_illuminance_temperature_humidity_sensor_1, TS0202_3, S-LUX-ZB, TS0222_light, THE01860A, TS0222, LCZ030, MIR-HE200-TY, XFY-CGQ-ZIGB, TS0601_smart_human_presence_sensor_1, Y1_IN, ZY-M100-S_1, ZY-M100-S_2, WZ-M100, ZG-205ZL, ZG-204ZM, YXZBRB58, ZY-M100-24G, ZY-M100-24GV2, ZY-M100-24GV3, MTG075-ZB-RL, RT_ZCZ03Z, ZY-M100-S_3, ZG-205Z, 8750001213, HSE2927E, ZB003-X, 07502L, JS-MC-SENSOR-ZB, KK-ES-J01W, KMPCIL_RES005, RTCGQ11LM, RTCGQ12LM, b-parasite, 7A-SS-ZABC-H0, 5AA-SS-ZA-H0, RTCGQ14LM, RTCGQ15LM, ZNCLBL01LM, GZCGQ01LM, GZCGQ11LM, 07047L, 9290012607, 9290019758, 9290030675, 9290030674, 545D6306, CCT595011, ZSS-ZK-THL, 4512770, TERNCY-PP01, MBD-S, CTM_MBD_Dim, 3RSNL02043Z, WB-MSW-ZIGBEE v.3, MS100, USM-300ZB, PIR313-E.illuminance_luxvalues, enable theilluminance_rawoption device specific settings (will be available from Z2M 2.1.0)switchexpose andactionvalues have been changed, see the device docs for the new values.device_options.legacy. These breaking changes below can be ignored if you havedevice_options.legacy: falsein yourconfiguration.yaml:button_*properties.duration,rate,brightnessandtransition.duration.step_size,transition_timeand the following actions:play_pause,skip_forward,skip_backward,rotate_*.rotate_*actions.button_*properties and removedsingleaction.singleaction.left,rightandbothaction (including the*_longand*_doubleactions).to_side,from_side,angle.angle.repeat,useranddata.duration.step_size,transition_timeandskip_*actions.actionvalues have been changed, see the device docs for the new values.keypad_lockoutvalue changedsetpoint_change_source,setpoint_change_source_timestamp,remote_sensingandcontrol_sequence_of_operationvalues are now mapped values (string) instead of a number.operation,setpoint_change_source,setpoint_change_source_timestamp,remote_sensingandcontrol_sequence_of_operationvalues are now mapped values (string) instead of a number.directionandnumberweekly_schedulepayload.action, removeddurationandcounter.click.External converters and extensions
external_converterssetting is no longer used. Instead all external converters insidedata/external_convertersdirectory are now automatically loaded. Make sure to move all your external converters to this directory.data/external_extensionsinstead ofdata/extension. Make sure to rename yourdata/extensiondirectory (if present) todata/external_extensions.MQTT api
update_availableproperty from the device state has been removed (useupdate.stateinstead).updateAvailabletoupdate_availableinzigbee2mqtt/bridge/response/device/ota_update/check.zigbee2mqtt/bridge/request/device/bind,zigbee2mqtt/bridge/request/group/members/add,zigbee2mqtt/bridge/request/group/members/removeandbridge/request/device/configure_reporting, the endpoint has been moved to theendpointproperty and cannot be set via thedevice/fromproperty anymore.zigbee2mqtt/bridge/request/configMQTT API, this includes the following MQTT topics:zigbee2mqtt/bridge/request/config/last_seenzigbee2mqtt/bridge/request/config/elapsedzigbee2mqtt/bridge/request/config/log_levelzigbee2mqtt/bridge/request/config/homeassistantdatapayload in the response is now always empty when there is anerror, this affectszigbee2mqtt/bridge/response/device/configureandzigbee2mqtt/bridge/response/device/ota_update/*.permit_join_timeouthas been removed fromzigbee2mqtt/bridge/info, it has been replaced bypermit_join_endwhich represents the Unix timestamp when permit joining will end.advanced.legacy_apisetting), this includes the following MQTT topics:zigbee2mqtt/bridge/logzigbee2mqtt/bridge/(bind|unbind)zigbee2mqtt/bridge/group/*zigbee2mqtt/bridge/networkmap/*zigbee2mqtt/bridge/ota_updatezigbee2mqtt/bridge/device/DEVICE_FRIENDLY_NAME/get_group_membershipzigbee2mqtt/bridge/config/*zigbee2mqtt/bridge/configureRemoved features and settings
Important
The new configuration update system will automatically (re)move deprecated settings the first time you start Z2M after updating to 2.0.0. Make sure to check the
data/migration-1-to-2.logafter startup. See the docs for more info.advanced.reportsetting).advanced.soft_reset_timeoutsetting).devices.IEEE_ADDR.options.retrieve_statesetting).availability_timeout,availability_blocklist,availability_passlist,availability_blacklist,availability_whitelistandadvanced.legacy_availability_payload(see availability docs for the new settings).advanced.legacy_availability_payload,zigbee2mqtt/bridge/statewill now always be a JSON object ({"state":"online"}or{"state":"offline"}).permit_joinsetting has been removed, use the frontend or MQTT to permit joining.configuration.yaml(groups.devicessetting). This will not impact current group members; however, you will no longer be able to add or remove devices from a group through theconfiguration.yaml.ota.ikea_ota_use_test_urloption has been removed.advanced.homeassistant_discovery_topicis now inhomeassistant.discovery_topicadvanced.homeassistant_status_topicis now inhomeassistant.status_topicadvanced.baudrateis now inserial.baudrateadvanced.rtsctsis now inserial.rtsctsexperimental.transmit_poweris now inadvanced.transmit_powerexperimental.outputis now inadvanced.outputwhitelistis now inpasslistbanis now inblocklistexperimentalsection no longer existsPull requests
retrieve_statezigbee2mqtt.io#3075readAfterWriteTimezigbee-herdsman-converters#8089configuration.yamlzigbee2mqtt.io#3104configuration.yaml#24338illuminance_luxzigbee-herdsman-converters#8304maximum_packet_sizeMQTT setting zigbee2mqtt.io#3228datain response is always empty onerror#24971sensor/selectforselect/number/buttonentities #25026permit_join_timeout#25082homeassistant.status_topictohomeassistant/status#25286Beta Was this translation helpful? Give feedback.
All reactions