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

After each restart of HA connection to MQTT/zigbee2mqtt is lost and all devices are unavailable #43008

Closed
skumka opened this issue Nov 9, 2020 · 9 comments
Assignees

Comments

@skumka
Copy link

skumka commented Nov 9, 2020

The problem

After each restart of HA connection to MQTT is lost and all devices are unavailable. You need to stop and start zigbee2mqtt to get it to work again.

When UI starts you see the status of devices and switches available for few seconds. After that time all become unavailable.
in version 116.x all was working well.

Environment

HA on Raspi in docker.

version 117.0 to 117.5

@probot-home-assistant
Copy link

mqtt documentation
mqtt source
(message by IssueLinks)

@frenck
Copy link
Member

frenck commented Nov 9, 2020

Sounds to me like an issue with zigbee2mqtt and retained messages on MQTT.

@probot-home-assistant
Copy link

Hey there @home-assistant/core, @emontnemery, mind taking a look at this issue as its been labeled with an integration (mqtt) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

@skumka
Copy link
Author

skumka commented Nov 9, 2020

@frenck Did you analyze it and have an outcome confirming that issue is on zigbee2mqtt side? Asking because mostlikely I will be directed to HA by them. I have opened problem report on z2m github.

@marklagendijk
Copy link

I'm having the same issue.

@emontnemery
Copy link
Contributor

emontnemery commented Nov 9, 2020

@Koenkk could this be due to the recent change in zigbee2mqtt to use a list of availability topics to support both gateway offline setting all devices unavailable and availability for each device?

The logic should be like this: Koenkk/zigbee2mqtt#775 (comment) , is that how is implemented?

@frenck
Copy link
Member

frenck commented Nov 9, 2020

@frenck Did you analyze it and have an outcome confirming that issue is on zigbee2mqtt side

No, I did not. I wrote "sounds to me like" which is a guestimate.

@Koenkk
Copy link
Contributor

Koenkk commented Nov 9, 2020

@emontnemery I don't know what causes this issue yet but my gut feeling it is on the z2m side. I think this issue should be closed. We can reopen it if we find it's HA related. Z2M issue: Koenkk/zigbee2mqtt#4912

@skumka skumka closed this as completed Nov 9, 2020
@skumka
Copy link
Author

skumka commented Nov 9, 2020

Z2M issue: Koenkk/zigbee2mqtt#4912. Closing HA issue

@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants