merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
383 stars 62 forks source link

Exclude the optional sensor #395

Closed alexanderek closed 1 year ago

alexanderek commented 1 year ago

Describe the idea or improvement Can the temperature sensor be excluded from the device?

Describe the solution you'd like The Xiami humidifier, for example, has a temperature and humidity sensor, which I would like to remove from the HomeKit.

merdok commented 1 year ago

Currently no, if a device supports temperature and humidity reporting then it will automatically create the accessories for that. Why would you like to disable that?

alexanderek commented 1 year ago

@merdok The values are not correct, compared to the external sensor.

merdok commented 1 year ago

I mean, I am not quite sure why the humidifier would report incorrect values? Maybe a different place of measurement?

alexanderek commented 1 year ago

I do not know, but the values are very different from the external sensor, I think that the built-in sensor is not accurate in such devices, and in automations should not be used.

merdok commented 1 year ago

Understood, i will think of adding a functionality to disable those, but it might take a while...

diogomontenegro commented 1 year ago

This feature would also be very useful for Mi Heater Temperature Sensor... Thanks and keep up this great work!

romacv commented 1 year ago

You can exclude incorrect values from accessory via home app accessory settings. IMG_7174

merdok commented 1 year ago

Some of the auto created sensors can now be excluded in 1.6.0