rudders / homebridge-http

HTTP Plugin for Homebridge
Apache License 2.0
178 stars 109 forks source link

Additional accesory types #8

Closed Mitch67 closed 8 years ago

Mitch67 commented 8 years ago

Would it be possible to create other accesory types (currently only switch and lightbulb are possible) ? It would help to control doors, ...

rudders commented 8 years ago

Wouldn't be hard at all. I'm away on holidays so can't do much at the moment - feel free to fork and submit a PR though.

NovaGL commented 8 years ago

It's really easy if you know how, in my repo I have added one for volume. I don't have any controllable thermostats or anything like that but simply changing things such as brightness to hue changes the way the light works. You can also do status polling. The way I did that is by adding a field called switchhandling

rudders commented 8 years ago

Update to the new version and thanks to @NovaGL for his PR!