Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only expose selected components to HomeKit? #82

Open
diamolly opened this issue Dec 19, 2019 · 9 comments
Open

Only expose selected components to HomeKit? #82

diamolly opened this issue Dec 19, 2019 · 9 comments

Comments

@diamolly
Copy link

Hi. Is there a way to select which of the Verisure components that gets exposed to HomeKit? I don't want all the temperature components and such because they only update (from Verisures side) every 6 hours.

Thanks for your work on this plugin :)

@ptz0n
Copy link
Owner

ptz0n commented Dec 19, 2019

There is corrently no config option to include or exclude devices.

Can you tell me more about your use-case? Why is it a problem to have these accessories exposed?

You can always remove each one of them from the home screen (favorites).

@diamolly
Copy link
Author

Ok I see. I would like to remove certain components because temperatures from Verisure components update only every 6 hours, making them not very reliable for temperature measurement. I have EVE or hue sensors in all rooms that handle temperature. When I ask my HomePod for the temperature in my house it tells me it ranges from lowest temperature in the house to the highest temperature in the house. This gives an incorrect response because the Verisure temperatures are so off.

Same with magnetic sensors. I have EVE to monitor windows and doors.

It might be OCD and I have removed them from the home screen, but I prefer not to throw a bunch of components I don't use into the default room and lock the door hehe :)

I would love a blacklist-feature, but understand its a lot of work.

@oskarlindell
Copy link

I would like this functionality as well. And of the same reason as @diamolly, to avoid seeing the slow updating Verisure sensors in HomeKit.

@oskarlindell
Copy link

I did a tiny hack in my installation of homebridge-verisure to hide some of the sensors and it seems to work fine.

In platform.js I simply forced the contact sensors and climate detectors to be an empty array like this:

const deviceTypes = {
      alarm,
//      climateSensor: overview.climateValues || [],
//      contactSensor: (overview.doorWindow && overview.doorWindow.doorWindowDevice) || [],
      climateSensor: [],
      contactSensor: [],
      doorLock: overview.doorLockStatusList || [],
      smartPlug: overview.smartPlugs || [],
    };

This hides all climate and contact sensors. Preferably though I would like a way to expose a couple of the sensors to Homekit. But my programming knowledge isn't enough to pull this off.

@ptz0n Would It be possible to include an official way in your plugin to hide an entire class of sensors like I did above and maybe also individual components in config.json?

@jeaz
Copy link

jeaz commented Apr 30, 2020

I’d love to see this functionality, but for different reasons than above. I have two Verisure installation (one at home and one at summer house). They are separated as two installations in Verisure but shows up as one through Homebridge.

@palletodap
Copy link

Would be a great feature. Maybe just a filter for device types? My point of view it that i dont want to spam Verisure's servers by getting the status of sensors more than once a minut, so for me the contact sensors are useless for automations in homekit anyways.

@ptz0n
Copy link
Owner

ptz0n commented Jan 10, 2022

I’d love to see this functionality, but for different reasons than above. I have two Verisure installation (one at home and one at summer house). They are separated as two installations in Verisure but shows up as one through Homebridge.

This will be resolved by #134 but keeping this issue strictly to individual or types of accessories.

@oskarlindell
Copy link

oskarlindell commented Oct 8, 2023

I'm still interested in a include/exclude listing feature for selected components. Any chance of implementing this?

@ptz0n
Copy link
Owner

ptz0n commented Oct 9, 2023

Should be a quick addition. Feel free to support the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants