merdok / homebridge-miot

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

Some advices #192

Closed louliangsheng closed 2 years ago

louliangsheng commented 2 years ago

Describe the idea or improvement Would like to provide options for renaming and disabling some properties such as temperature and humidity.

merdok commented 2 years ago

I think this should be possible within the accessory to rename those. Simply go on the accessory group in the home app where you will find a list of services and there open the settings of either humidity or temperature which can be renamed there. Or do I understand it wrong?

louliangsheng commented 2 years ago

If you rename in homebridge, you can synchronize to homekit; if you rename only in homekit, if you edit homebridge, you may lose rename information.

Marcin @.***>于2022年2月2日 周三15:50写道:

I think this should be possible within the accessory to rename those. Simply go on the accessory group in the home app where you will find a list of services and there open the settings of either humidity or temperature which can be renamed there. Or do I understand it wrong?

— Reply to this email directly, view it on GitHub https://github.com/merdok/homebridge-miot/issues/192#issuecomment-1027668973, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI6YKTWMJDJYO4S6PGBVHYLUZDO43ANCNFSM5NLGC5DQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

merdok commented 2 years ago

Yeah, but how often do you want to rename your accessories? You just do it one single time and afterwards never again, right? Simply renaming it in the home app should do the job. It might be that I somehow do not understand the issue here...

louliangsheng commented 2 years ago

When I restart homebridge, HomeKit's renaming doesn't work, like re-adding

Marcin @.***>于2022年2月2日 周三16:17写道:

Yeah, but how often do you want to rename your accessories? You just do it one single time and afterwards never again, right? Simply renaming it in the home app should do the job. It might be that I somehow do not understand the issue here...

— Reply to this email directly, view it on GitHub https://github.com/merdok/homebridge-miot/issues/192#issuecomment-1027685713, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI6YKTWUFMNA26JQHVOWA4TUZDR77ANCNFSM5NLGC5DQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

merdok commented 2 years ago

The renaming should also work after restart, might be that something is clearing your cache between restarts?