brutella / hc

hc is a lightweight framework to develop HomeKit accessories in Go.
Apache License 2.0
1.74k stars 189 forks source link

Add enviroplus accessory #181

Closed sighmon closed 4 years ago

sighmon commented 4 years ago

Hi,

I'd like to add the Pimoroni EnviroPlus, which is a combination of sensors:

Let me know if I'm missing anything in the PR.

Kind regards, Simon.

Related links:

sighmon commented 4 years ago

@brutella Would you prefer pull requests to be on branches?

brutella commented 4 years ago

I think it would be better to create a separate project for the EnviroPlus accessory.

sighmon commented 4 years ago

@brutella Good call. After playing around with it some more I worked out how to add the other services and characteristics, so it's all working nicely now thanks!

https://github.com/sighmon/homekit-enviroplus/blob/master/homekit-enviroplus.go#L106

Really enjoying the framework.

Best, Simon.