merdok/homebridge-miot

Temporary disable added device

mishablokhin opened this issue · 5 comments

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.

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

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

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

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

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