samsungtv platform allows you to control a Samsung Smart TV.
When the TV is first connected, you will need to accept Home Assistant on the TV to allow communication.
To add a TV to your installation, add the following to your
# Example configuration.yaml entry media_player: - platform: samsungtv host: 192.168.0.10
- host (Required): The IP of the Samsung Smart TV, eg.
- port (Optional): The port of the Samsung Smart TV. Defaults to 55000. If set to 8001, the new websocket connection will be used (required for 2016+ TVs).
- name (Optional): The name you would like to give to the Samsung Smart TV.
- timeout (Optional): The time-out in seconds for the communication with the TV. Defaults to 0 (no timeout).
- mac (Optional): The MAC address of the Samsung Smart TV, eg.
00:11:22:33:44:55:66. Required for power on support via wake on lan.
Currently known supported models:
- U6000 (port must be set to 8001)
- K6500AF (port must be set to 8001)
- KS8005 (port must be set to 8001, and
pip3 install websocket-clientmust be executed)
- K5600AK (partially supported, turn on works but state is not updated)
Currently tested but not working models:
- J5200 - Unable to see state and unable to control
If your model is not on the list then give it a test, if everything works correctly then add it to the list on GitHub. The first letter (U, P, L, H & K) represent the screen type, e.g. LED or Plasma. The second letter represents the region, E is Europe, N is North America and A is Asia & Australia. The two numbers following that represent the screen size. If you add your model remember to remove these before adding them to the list.
Currently the ability to select a source is not implemented.
There’s currently a known issue with some TVs receiving a Key press UP that can interrupt certain applications.