merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
391 stars 61 forks source link

Temporary disable added device #586

Closed mishablokhin closed 5 months ago

mishablokhin commented 5 months ago

Hello! It would be great to have option to temporary disable added device. For example, i have Xiaomi MiHumidifier which is being used during winter period. For now it's offline for a long time and HomeBridge trying to get it state every few seconds. Only one option to fix that - remove device.

merdok commented 5 months ago

How would you expect to be able to disable the device? Through a config entry or using a switch?

mishablokhin commented 5 months ago

How would you expect to be able to disable the device? Through a config entry or using a switch?

Yes, i think all of these options are suitable for solving this problem :) Switch in Miot Config UI, which will be able to add new record to JSON config file

merdok commented 5 months ago

Yeah, i would need to think about it. I will see what i can do.

mishablokhin commented 5 months ago

Yeah, i would need to think about it. I will see what i can do.

Thanks a lot! This would be great! Because those messages are really annoying :)

image
merdok commented 5 months ago

Added a new deviceEnabled property in version 1.7.1 which allows you to disable a device using the config. Hope that satisifes you :)