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

[Feature] Possible to retain a device that left the network? #957

Open
ThisIsQasim opened this issue Nov 21, 2024 · 1 comment
Open

[Feature] Possible to retain a device that left the network? #957

ThisIsQasim opened this issue Nov 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ThisIsQasim
Copy link

ThisIsQasim commented Nov 21, 2024

Problem description

Sometimes someone (kids) would accidentally reset a device and it would leave the zigbee network. Adding it back is easy but the accessories in HomeKit get reset and have to be customized and added to automations/scenes again.

Suggested solution

Would it be possible to provide a list of devices in the plugin config to retain even if they leave the network?

Would be even better if they can marked as unavailable when they leave.

Alternative solutions

No response

Additional context / information

No response

@ThisIsQasim ThisIsQasim added the enhancement New feature or request label Nov 21, 2024
@itavero
Copy link
Owner

itavero commented Nov 21, 2024

Would it be possible to provide a list of devices in the plugin config to retain even if they leave the network?

Not so difficult to do in theory, but if I would have time left to spend on homebridge-z2m this definitely would be at the bottom of the list. If you'd make a PR, I'll try to find some time to review it.. but unfortunately I really didn't have much spare time to spend on this project for the past year or so.

I myself use Controller for HomeKit to frequently make backups. I feel something like that would be a better approach.
Especially since it also allows you to replace a device if it gets broken/lost.

On devicea I don't want to be reset by others, I just tried to make it very hard to do so. 😅

Would be even better if they can marked as unavailable when they leave.

This is quite hard to do in the sense that there's not just a single variable you can change on an accessory to indicate it's unavailable.
You have to actively return an error on commands to get/set attributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants