The Panasonic Viera integration allows you to control a Panasonic Viera TV.
There is currently support for the following device types within Home Assistant:
- Media player
To add the Panasonic Viera integration to your Home Assistant instance, use this My button:
If the above My button doesn’t work, you can also perform the following steps manually:
If your TV needs to be paired, you will be prompted to type the PIN code that will be displayed on it.
To allow your TV to be turned on or controlled while off, enable
Powered On By Apps in your settings (if available): Network > TV Remote App Settings
If you prefer to use YAML to set up your Panasonic Viera TV, you can still do it. It also allows for some extra settings.
# Example configuration.yaml entry panasonic_viera: host: YOUR_TV_IP
The name you would like to give to the TV entity.
When you restart Home Assistant, make sure the TV is turned on and connected to your local network. If your TV needs to be paired, you’ll need to go to Settings > Devices & Services to type the PIN code that will be displayed on it and finish the setup.
This example uses a
turn_on_action, to turn on the TV using a magic wake on
LAN packet. This example requires the Wake on LAN
integration to be set up.
# Example turn_on_action configuration.yaml entry with Wake-on-LAN panasonic_viera: host: YOUR_TV_IP name: Living Room TV turn_on_action: - service: wake_on_lan.send_magic_packet data: mac: "AA:BB:CC:DD:99:1A"
play_media function can be used to open web pages and other media types (images, movies) via URLs in the TV web browser.
# Example play_media script script: front_door_camera: alias: "Show who's at the door" sequence: - service: media_player.turn_on target: entity_id: media_player.living_room_tv - service: media_player.play_media target: entity_id: media_player.living_room_tv data: media_content_type: "url" media_content_id: YOUR_URL - delay: seconds: 5 - service: media_player.media_stop target: entity_id: media_player.living_room_tv
When the integration is configured, two entities will be created: a
media_player and a
remote. The remote allows you to send key commands to your TV with the
Some of the known valid key values are:
The list with all known valid keys can be found here. Additionally, you can also send custom commands, such as
"NRC_HOME-ONOFF" (which is the same as
home). Further undocumented commands are
"NRC_HDMI4-ONOFF" for selecting HDMI inputs and
NRC_MYAPP-ONOFF” for apps.
- TC-P60ST50 (can’t power on)
- TH-P60ST50A (can’t power on)
- TX-55CS630E (can’t power on)
- TX-L47ET60E (can’t power on)
- TX LF37E30 (can’t power on)
If your model is not on the list, give it a test. If everything works correctly, then add it to the list on GitHub.