stringbean / homebridge-drayton-wiser

Homebridge plugin for Drayton Wiser heating systems
Apache License 2.0
5 stars 3 forks source link

Smart plugs support #9

Open vanagnostos opened 3 years ago

vanagnostos commented 3 years ago

Hi there,

Would you be interested of adding plugs support to the plugin?

I have fully working implementation based on your code which I did for my home system: https://github.com/vanagnostos/homebridge-drayton-wiser

I have not touched the typescript as it is not exactly my thing, there are changes in few js files + few new files. I can extract just the changes if it will help.

Thanks!

image
timbojoeNBD commented 2 years ago

Hi - sorry for my lack of knowledge - but how do I use your version with smart plug support? Can I install this using the Homebridge UI? Thanks!

vanagnostos commented 2 years ago

Hi @timbojoeNBD, to use my code you'll need to first install this plugin via homebridge, then checkout the two repos that I cloned to my profile and then manually replace the files. This is obviously far from good option.

Best would be if @stringbean added smart plug support to his code. Maybe if we offer him some beers he'd do it :)

timbojoeNBD commented 2 years ago

@vanagnostos thank you for the quick response! Just did it and seems to work well. Happy to buy you and @stringbean some beers!

vanagnostos commented 2 years ago

Glad to hear it :)