Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All zigbee devices appear offline after upgrading to 2.2.0, but seem to work fine ! #26942

Closed
iparout opened this issue Apr 1, 2025 · 50 comments
Labels
problem Something isn't working

Comments

@iparout
Copy link

iparout commented Apr 1, 2025

What happened?

After updating to Zigbeee2MQTT 2.2.0, all zigbee devices appear offline in HA ! They do seem to work fine though, and their automations also work, so I don't know if I should be worried or not and restore the previous version !

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.2.0-1

Adapter firmware version

Coordinator firmware version: '{"meta":{"build":0,"ezsp":13,"major":7,"minor":4,"patch":4,"revision":"7.4.4 [GA]","special":0,"type":170},"type":"EmberZNet"}'

Adapter

Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2

Setup

Addon in Home Assistant

Debug log

No response

@iparout iparout added the problem Something isn't working label Apr 1, 2025
@roydestroy
Copy link

I second this

@stuffandthat
Copy link

Same issue here. Offline flashing on all devices in zigbee2mqtt but all appear okay in the MQTT integration and all devices seem to function still.

@asandford
Copy link

Same issue here. Situation described by @iparout and @stuffandthat

@REBELinBLUE
Copy link

REBELinBLUE commented Apr 1, 2025

I was just looking into this as I don't remember that column being there before. According to https://www.zigbee2mqtt.io/guide/configuration/device-availability.html#device-availability the device availability feature is disabled by default, I wondered if the default had changed to true so I edited the config file (using the VSCode add-on) to add

availability:
  enabled: false

and restarted the add-on but it made no difference so I then tried adding availability: false under each device and restarted the add-on and now it is back to the old behaviour

So guessing something has broken with setting the default value

@stuffandthat
Copy link

I was just looking into this as I don't remember that column being there before. According to https://www.zigbee2mqtt.io/guide/configuration/device-availability.html#device-availability the device availability feature is disabled by default, I wondered if the default had changed to true so I edited the config file (using the VSCode add-on) to add

availability:
  enabled: false

and restarted the add-on but it made no difference so I then tried adding availability: false under each device and restarted the add-on and now it is back to the old behaviour

So guessing something has broken with setting the default value

I thought I had that column always, but I just restored to the previous version and it's disappeared! Will wait for another update before going back to 2.2.0

@kellery82
Copy link

My devices appeared Offline and were not responding. Weirdly enough, the logs in the add-on looked ok and I could see communication between my Zigbee devices. I've reverted back to the previous version for now, but will try again sometime today when i have more time

@Nerivec
Copy link
Collaborator

Nerivec commented Apr 1, 2025

Being investigated in #26935 (reply in thread)
Seems purely cosmetic (devices are fine).

@cr0wm4n
Copy link

cr0wm4n commented Apr 1, 2025

i have this issue too, everything shows offline but is actually working fine

@kellery82
Copy link

My devices appeared Offline and were not responding. Weirdly enough, the logs in the add-on looked ok and I could see communication between my Zigbee devices. I've reverted back to the previous version for now, but will try again sometime today when i have more time

false alarm, just showing offline and still working fine

@rasturies
Copy link

Same here, all offline but working

@RyTsYdUp
Copy link

RyTsYdUp commented Apr 2, 2025

Same issue here. All devices went to offline status but were working fine. I had to re-enable the availability option in settings again. The upgrade seems to have turned it off.

@Partizanin
Copy link

The same

Image

@comdr-chocchip
Copy link

Happened to me too. But devices work

@robsalasco
Copy link

+1 it's just the UI everything is working

@Ropuh
Copy link

Ropuh commented Apr 2, 2025

The same here - marked offline but working.

@SmartSebbo
Copy link

Same Beauvoir in my system all devices flashes offline but work. I have a Backup.zip how can i restore that - i am an newbie.
Thank you for helping

@GigiPompieru
Copy link

While looking into this since I have the same issue I saw something strange. In the settings page Availability is Active (I do not remember activating it):

Image

But in the configuration there is no line for availability:. In the past the column was not visible at all, now it displays Offline for all the devices.

I get that the issue is being resolved, but does anyone know why the difference between GUI and config file?

@a1ex-ak
Copy link

a1ex-ak commented Apr 2, 2025

Image

@HQ-smart
Copy link

HQ-smart commented Apr 2, 2025

Hi everyone.

I had the same issue. You need to activate "availability".

Image

@SmartSebbo
Copy link

Hi everyone.

I had the same issue. You need to activate "availability".

Image

IT works - thank you!

@hughc-hub
Copy link

Same here.. Devices show OFFLINE in the screen, but they were working during a couple of hours.. Now they are not.. none of them
I rollback to previous version..

@Mark-Muc
Copy link

Mark-Muc commented Apr 2, 2025

i do have the same issue!!
set the "availability" in setting to [x] enabled it works!!
Mark-Muc

@HQ-smart
Copy link

HQ-smart commented Apr 2, 2025

USB hub buttons were "left, centre, right", and became l1, l2, l3

:(

@rizzification
Copy link

Hi everyone.

I had the same issue. You need to activate "availability".

Image

Can confirm this worked! thanks very much.

@markulatus
Copy link

Hi everyone.

I had the same issue. You need to activate "availability".

Image

I think that's the part of the "RAW" config that handles this setting -->

    },
    "availability": {
        "active": {
            "timeout": 10
        },
        "enabled": true,
        "passive": {
            "timeout": 1500
        }

@major328
Copy link

major328 commented Apr 2, 2025

Same issue here

@puttemanp
Copy link

Enabling availability will fix this cosmetic issue. However, if you have a large Zigbee mesh it will considerably slow down your network as every device will be pinged according to the interval you set in the availability settings.
It will even slow down more if you have a few devices that don't reply to the ping request the first time and have to be retried (battery opperated devices tend to do this).
As it is cosmetic, it should go back to the previous way of visualising the UI: only display the column 'availability' if Availability is enabled in settings.
I have it disabled for performance reasons and I hate red flashing warnings on the UI.

@mattcartlidge
Copy link

Same issue. I have reverted back as @puttemanp mentions this slows down my network to a noticeable level and my OCD prevents me from having flashing red text on the list!

@uninc80
Copy link

uninc80 commented Apr 2, 2025

Same issue here, because is only a cosmetic issue I keep it and wait for a new fix

@JohanKrab
Copy link

Same here with the Popp 701721 thermostates, restored backup. Wait for fix.

@MoWeBo
Copy link

MoWeBo commented Apr 2, 2025

Same here, waiting for a fix.

@fastsonic
Copy link

Also from my side .
Most Devices are dissapear. Some still Present in the GUI 10 from 70 Devices. They are all working so i still waiting for an Update, Fix, Or should we go back ?

@Partizanin
Copy link

Hi everyone.

I had the same issue. You need to activate "availability".

Image

It helps, thank you !

@fastsonic
Copy link

fastsonic commented Apr 2, 2025

Hi everyone.
I had the same issue. You need to activate "availability".
Image

It helps, thank you !

From my side it only helps with the Devices that are still under devices shown and offline. But i see only 8 Devices from 70.

@EcoNino
Copy link

EcoNino commented Apr 2, 2025

Same here, but pay attention! it appears all is working ok. but with a Sonoff sensor the temperature showing in display is different than the one is showing in HA so it appears not updating ok. Reversed to 2.1.3-1 it backs updating ok.

@fastsonic
Copy link

fastsonic commented Apr 2, 2025

Now like 2 Hours gone, The Devices back again. Now it seems to be ok.
Sorry wwong..
When i connect over the Adnroid App i see all Devices.
Wehn i connecto over VPN with mit normal browser directly to HA than i see only some devices...

@AlexFoks2103
Copy link

+1 это просто интерфейс, все работает

@GigiPompieru
Copy link

GigiPompieru commented Apr 2, 2025

Enabling availability will fix this cosmetic issue. However, if you have a large Zigbee mesh it will considerably slow down your network as every device will be pinged according to the interval you set in the availability settings. It will even slow down more if you have a few devices that don't reply to the ping request the first time and have to be retried (battery opperated devices tend to do this). As it is cosmetic, it should go back to the previous way of visualising the UI: only display the column 'availability' if Availability is enabled in settings. I have it disabled for performance reasons and I hate red flashing warnings on the UI.

yea, disabled it after a few hours.
the worse part is that if a device does not reply to the ping they get marked as unavailable in HA instead of exposing the last state.

I can live with offline in the Z2M interface rather then seeing unavailable entities in my dashboards.

@rambosheep
Copy link

also its killed the batteries in my SNZB-02D most have dropped from like 80% to 9-11% since the firmware update so either it wasnt correctly reporting battery life or the update really has drained the battery

@fastsonic
Copy link

for alle where the Devices are no longer present under devices..
Reset Browsercache !
Reload is not enough. All devices are back.

@NiiiYaa
Copy link

NiiiYaa commented Apr 2, 2025

Same here - after the update, all endpoint devices are showing as "offline."

@dsimons2710
Copy link

I have the same problem, but I can't really find a solution to prevent the offline message from appearing. Does anyone have a solution?

@gohakn
Copy link

gohakn commented Apr 2, 2025

Same for me, but with the two hints from @Partizanin and @fastsonic ( activate availability + clean your Browser cache and reload HA) worked fine.

Just had to restart Zigbee2MQTT one Time.

Image

@bdenski18
Copy link

I ended up rolling back the update. I see some are suggesting "Enabling the Availability", but I also see some of you saying this isn't really a fix, and can actually reduce performance. I'll check back when there is a confirmed resolution.

@GigiPompieru
Copy link

I ended up rolling back the update. I see some are suggesting "Enabling the Availability", but I also see some of you saying this isn't really a fix, and can actually reduce performance. I'll check back when there is a confirmed resolution.

the fact they appear offline has no impact, it's just visual. if you spend so much time in the web page that it bothers you, ok. other than that, there is no real reason to rollback.

@PV-Joe
Copy link

PV-Joe commented Apr 2, 2025

Same here. Did a rollback to previous version.

@Stony111
Copy link

Stony111 commented Apr 2, 2025

Same behaviour in my system too. It seems actually it is only a design behaviour - all devices works fine. So I wait for the next Bugfixrelease. If I follow the issues here on git, it seems there are some troubles in the current release.

@puttemanp
Copy link

the fact they appear offline has no impact, it's just visual. if you spend so much time in the web page that it bothers you, ok. other than that, there is no real reason to rollback.

It's more than just visual, a lot of users have automations to send out a notification when a device is offline, or has been offline for more than X time (either just because it's possible, of for a genuine reason. Example, if a garage door opener goes offline, you might want to know it and solve the problem before wanting to leave with your car or park it and being unable to open the door)
This has now become impossible.

@uninc80
Copy link

uninc80 commented Apr 2, 2025

At the end I decided to go back and restore previous versions from backup. Let's wait for a newer better version

@Koenkk
Copy link
Owner

Koenkk commented Apr 2, 2025

Fixed in nurikk/zigbee2mqtt-frontend@7e72b00

Changes will be available in the dev branch in a few hours from now.

A hotfix release will be available in the coming days.

Note that this is just a visual issue, the devices are not actually offline!

@Koenkk Koenkk closed this as completed Apr 2, 2025
Repository owner locked and limited conversation to collaborators Apr 2, 2025
@Koenkk Koenkk pinned this issue Apr 2, 2025
@Nerivec Nerivec marked this as a duplicate of #26983 Apr 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests