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 television support #132

Closed brutella closed 5 years ago

brutella commented 5 years ago

iOS 12.2 beta 1 supports new HomeKit types for television

timoschilling commented 5 years ago

Thanks for adding Television support. I god an basic setup working. Can you give an example how to use / configure InputSource's?

brutella commented 5 years ago

Take a look func addInputSource(...) in _example/tv/main.go to see how to add an input source to a television accessory.

timoschilling commented 5 years ago

There is no tv example in your tv branch.

brutella commented 5 years ago

Now it is. ;)

timoschilling commented 5 years ago

There is an bug, I don't know if it is a bug from hc or HomeKit / Home App. You can't add input sources to an configured / already added tv accessory. You need to remove and readd it, to get the new input work.