onfoot / homebridge-valetudo-xiaomi-vacuum

A Homebridge plugin for Xiaomi/Roborock vacuum cleaners running Valetudo
MIT License
31 stars 9 forks source link

Seeing four 'Vacuum' buttons in Home app, nothing else? #24

Open pennysmythe opened 1 year ago

pennysmythe commented 1 year ago

Hi - I just installed this plugin, but the Home app is just showing four 'Vacuum' power buttons -- there's no way that I can see to tell them apart, so I could tap one and find that it's "return to base" or it could be "start vacuuming". Is there some config / option that I'm missing?

(Thanks for the work you have put into this plugin!)

onfoot commented 1 year ago

Hey! Yes, I noticed this as well. There must've been a change in iOS 16 in handling default accessory names. I need to figure this out. Thanks!

pennysmythe commented 1 year ago

Ah, good to know it's not just me! I'd offer to help but it's not exactly my area of expertise...

onfoot commented 1 year ago

Actually, I've been meaning to convert this plugin into a platform accessory, to also enable other scenarios, like stuff the plugin can figure out at runtime, e.g. rooms and areas, so that would fix this issue as well, since it would actually create separate accessories for all the switches, currently provided by the single one, causing them to share the same name, apparently. Unless there's another change in recent homebridge/iOS versions I need to compensate for. Will keep you posted!