Open sirjmann92 opened 8 months ago
hello. this is a good idea. exist any progress or workarround to make this? maybe in home assistant we can detect when a device is availabe (this is easy) and then send a mqtt topic to reconfigure this device. is this posible???
I have the same need for an automation to be able to trigger reconfigure, as I have aqara switches that will regularly reset and require a reconfigure to function normally again.
yes, very good idea this. To be honest i was kinda baffled that this wasnt already possible..!
I have a zigbee device that sometimes gets stuck in the wrong state and then I have to go into z2m and manually reconfigue it, and it instantly pops back into the correct state.
So i just made a quick google search, to learn how to automate this process, but sadly i just ended up here..
A very good idea. We need this... I am tired of how many times I have to manually trigger the reconfigure for a lightbulb I have that goes offline. Another identical lightbulb, no more than 2 meters away has no issue.
This has my vote :)
Is your feature request related to a problem? Please describe
Occasionally devices will fall off the network or go "Offline". There doesn't seem to be a rhyme or reason to which devices, probably caused by temporary interference and lack of response to Ping requests (2/2). A simple Reconfigure in Z2M brings the device back. This doesn't happen very often, and is likely just the nature of a Zigbee network operating on the same frequency as so many other devices in a home (2.4) , which makes it difficult to find a proper solution. You can imagine the frustration if one of the devices that goes offline is one that controls lights while you're on the toilet, shower, or a dark room like a basement while you've got your hands full (wife aggro!)
Describe the solution you'd like
As a workaround, to bring devices back online without having to manually open Z2M, locate any "Offline" devices and select "Reconfigure", it would be nice to be able to create an automation in Home Assistant that listens for devices to go "Offline" and then performs a "Reconfigure" on the device to bring it back.
Describe alternatives you've considered
An alternative to exposing the Reconfigure as an endpoint to HA would be a native automation or feature within Z2M to continually check for devices that are offline (or at a configurable interval) and perform the Reconfigure. Both solutions would be ideal, although either would satisfy the requirement/request.
Additional context
I've noticed there are certain endpoints available to Home Assistant now, sensors, switches, etc... like Permit Join, which makes it possible, and very handy, to do things like "Alexa, open Zigbee" with an automation that runs in HA which turns on Z2M's Permit Join with a timer to disable it after a set period (love it!)... Expanding the integration further by exposing additional features to HA would allow for more control and freedom of operation. This feature has the potential to dramatically improve the stability and reliability of a Zigbee network using Zigbee2MQTT (depending on the setup and environmental conditions).