Hi all, has somebody tried to update zigbee2mqtt when installed via openhabian, cause for me it always stops the update.
There was an error or interruption during the execution of: │
│ “20 | Optional Components” │
│ │
│ Please try again. If the error persists, please read │
│ /opt/openhabian/docs/openhabian-DEBUG.md or │
│ openhabian/docs/openhabian-DEBUG.md at main · openhab/openhabian · GitHub how │
│ to proceed.
Does this have to to with the change from npm to pnpm?
I don’t know if this is a related problem but after updating all my docker containers (also zigbee2mqtt to 2.0.0) this evening I had to add a line to the Z2M configuration.yaml as described here:
I upgraded my Debian 12 to the version 2 and noticed that my Hue motion sensors were not working.
It turned out the motion sensors were working but the rule I was using had a condition for the lux value.
I noticed the lux value was not changing.
Further investigation revealed the mqtt name had changed with V2.
The illumination topic changed from illuminance_lux to illuminance
I changed my Incoming Value Transformations to: JSONPATH:$.illuminance
and then it worked.
I have not noticed if anything else has changed yet. It seems OK so far.
This is something others may want to check after upgrading.
P.S I had to add adapter: zstack to get it to work.
that’s within the openhabian scripts, not openhab.
They can be changed anytime, It just takes a PR and a merge. They’re updated online at each start.
I wrote those zigbee2mqtt routines long ago but would be happy if somebody else jumps in and updates them for v2.
I think we shouldn’t cover any major release updates, just plain installation of v2 and the update process within v2
I fixed installation & update routine for v1.42.
You need to choose the latest branch (01) for it.
Be aware that this will install v1.42.
So this is just a first step before supporting v2.
If you need/want v2 you have to do it manually by now.