- Install HACS
- Add PyScript as a custom repository
- Install PyScript as integration (allow imports)
- Restart Home Assistant
- Copy the
telefunken.py
file to theconfig/pyscript
folder - Restart HACS
- Find out the IP address of your Telefunken TV (e.g. look it up in your router or in the TV settings)
- Find out the port of your Telefunken TV (e.g. with
nmap IP_ADDRESS -p-
). The port is usually 56789. - Test the port with
curl -H 'Host: IP_ADDRESS:PORT' --data '<remote><key code="1013"/></remote>' http://IP_ADDRESS:PORT/apps/vr/remote
. This should mute the TV if everything is working correctly. - Use service
python_script.telefunken
with the following data:
action: mute
ip: IP_ADDRESS
port: PORT
- Integrate the service inside your automations
- If you turn off the TV with the remote, the TV will not respond to any commands anymore. You have to turn it on again with the remote to make it work again. So the power command powering off the TV is not the same action as turning off the TV with the remote.
- The TV can change the port. I could find out when the port changes. You can find the new port with
nmap IP_ADDRESS -p-
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- back
- screen_resolution
- power
- mute
- language
- volume_up
- volume_down
- info
- down
- up
- left
- right
- stop
- play_pause
- rewind
- fast_forward
- subtitles
- close
- favourites
- timer
- quick_menu
- app_dashboard
- epg
- menu
- pause
- yellow
- record
- blue
- ok
- green
- red
- image_source
- mediabrowser
- text