simont77 / fakegato-history

Module to emulate Elgato Eve history
MIT License
167 stars 15 forks source link

mix types in an accessory #81

Open mihailescu2m opened 4 years ago

mihailescu2m commented 4 years ago

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 commented 4 years ago

@simont77 ?

simont77 commented 4 years ago

It’s currently not possible with with the present implementation of fakegato, but it may be possible tweaking the data sent as shown here https://github.com/simont77/fakegato-history/issues/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 commented 4 years ago

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 commented 4 years ago

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

nriley commented 4 years ago

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!