sermayoral / ha-samsungtv-encrypted

Samsung TV Encrypted Models (H & J Series) custom component for Home Assistant
Apache License 2.0
38 stars 24 forks source link

JS8500 #38

Closed pitoganzado closed 4 years ago

pitoganzado commented 4 years ago

Hi to all :) JS8500 only the power on and off doesn't work, all the rest so far, so good. Thank you!

sermayoral commented 4 years ago

Power on does not work on encrypted TVs.

For powering off in your model, you have to define the 'key_power_off' custom variable, as explained in: https://github.com/sermayoral/ha-samsungtv-encrypted#custom-variables

Probably it works in your TV model in that way:

media_player:
  - platform: samsungtv_encrypted
    host: IP_ADDRESS
    token: TOKEN
    sessionid: SESSION_ID
    port: 8080
    name: Whatever
    key_power_off: KEY_POWER