ebaauw / homebridge-p1

Homebridge plugin for DSMR end-consumer (P1) interface
Apache License 2.0
53 stars 11 forks source link

Can not remove P1 accessory from favorites in Home app #41

Closed tomsteenbakkers closed 3 years ago

tomsteenbakkers commented 3 years ago

After the iOS14 upgrade I discovered something weird. The P1 is added to the Home App as an unsupported accessory. So far nothing new. But is stays in my Favorites. There is no option on the accessory page to remove this.

Any idea how to solve this?

image

ebaauw commented 3 years ago

Somehow Home on iOS14 no longer provides favourite settings for unsupported accessories. You can still change this setting using Home on macOS or on iOS13.

The only thing I can do is expose the meters as something that Home recognises, e.g. a non-functional switch or outlet.

tomsteenbakkers commented 3 years ago

Ok, for now I will change the setting on Mac OS.

gerbenvandijk commented 3 years ago

This option has also disapeared now on the latest MacOs, can I help with exposing this differently?

ebaauw commented 3 years ago

Big Sur? That was to be expected.

Apparently an accessory now needs at least one supported service to be unmarked as favourite. I fail to understand Apple’s reasoning here. I tried a read-only Switch before, but Home doesn’t accept that either. I was thinking maybe to use a Stateless Programmable Switch, but that makes no sense semantically.

gerbenvandijk commented 3 years ago

That indeed doesn't make much sense; but from the user perspective it would be good because the goal is to hide them from the favourites screen. A dummy but supported switch to achieve that goal imho is for now perhaps the best possible way?

ebaauw commented 3 years ago

It's what I did for the bridge/gateway accessory in Homebridge Hue.

ebaauw commented 3 years ago

In v1.1.3.

rhvs commented 3 years ago

In v1.1.3.

Updated everything but no change here

ebaauw commented 3 years ago

Did you set button in config.json?

rhvs commented 3 years ago

Did you set button in config.json?

I guess I was a bit impatient... it works! Thanks!