98oktay / homebridge-philips-tv6

Homebridge Plugin for Android Philips Tv Api 6
13 stars 19 forks source link

Small mistake #12

Open ZoltXs opened 4 years ago

ZoltXs commented 4 years ago

Hello, the first pardon for my English, I use Google translator, the second thing give you congratulations on the plugin. I have a small problem, it works perfectly except the volume, it does not match the percentage of volume of the app with that of the tv. In app 34% and in tv 20 volume. Could you fix this bug? Also know if you can add another HBO app instead of Netflix. Thank you, greetings.

fastenspy commented 4 years ago

Same problem on my Philipps, I placed to 35% and I have 20 on my TV !

JurgenLB commented 2 years ago

I think this is not a bug since homekit uses 0 - 100 value and the TV 0 - 60 value, in the code it is (current / (max - min)) * 100