x2c / homebridge-hdmi

HomeBridge plugin to control HDMI devices
17 stars 3 forks source link

Use supplied name for accessory and fix return value for getOn #5

Closed flole closed 8 years ago

flole commented 8 years ago

I have made some small changes to fix the wrong return value for the getOn method. Without this fix the iOS10 Home application wasn't able to retrieve the current state of the device. Then I changed the setOn method to evaluate the desired state before triggering the tv. This should be more safely.

Also I think it is better to use the supplied name from the user configuration for the accessory display name to give the user the choice about the names.

x2c commented 8 years ago

Im actually considering re-writing this module to better support iOS 10 and possibly Amazon Alexa, let me know if you want to get involved

flole commented 8 years ago

Thats sounds interesting. What do you want to change exactly?