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

mix types in an accessory #81

Open
mihailescu2m opened this issue Dec 2, 2019 · 5 comments
Open

mix types in an accessory #81

mihailescu2m opened this issue Dec 2, 2019 · 5 comments

Comments

@mihailescu2m
Copy link

mihailescu2m commented Dec 2, 2019

Hi,

is there a way to mix types in an accessory?
e.g. my accessory has a temperature sensor service and a switch service (power), how can i log "temp" and "state" for it?

@mihailescu2m
Copy link
Author

@simont77 ?

@simont77
Copy link
Owner

simont77 commented Dec 4, 2019

It’s currently not possible with with the present implementation of fakegato, but it may be possible tweaking the data sent as shown here #75, so that to create custom hybrid accessories. Support from Eve has to tested case by case, so I do not plan to add this to fakegato. You may fork it and customize as needed by you.

@tobekas
Copy link

tobekas commented Dec 4, 2019

I was playing around with that. Maybe I can offer a possible implementation (in a fork) next weekend or some days later.
If it’s mergable, compatible and easy to maintain, it could perhaps be merged into this project.But maybe a fork is is sufficient for now.

@mihailescu2m
Copy link
Author

@tobekas would appreciate sharing it when it's ready, thanks

@nriley
Copy link

nriley commented Jan 10, 2020

Same here — Eve Thermo doesn't do humidity and I can read humidity from my thermostat with Homebridge but the humidity isn't logged. If this is possible to add to TYPE_THERMO without creating a fake Eve Room I'd love to know!

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

No branches or pull requests

4 participants