Panasonic Viera

The Panasonic Viera integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] allows you to control a Panasonic Viera TV.

There is currently support for the following device types within Home Assistant:

配置

要将 Panasonic Viera integration 添加到您的 Home Assistant 实例中,请使用此 My 按钮:

手动配置步骤

如果上述 My 按钮不起作用,您也可以手动执行以下步骤:

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

Manual configuration

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. To enable the integration via YAML, add it to your configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file. 在更改了configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] 文件后,重启 Home Assistant 以应用更改。 该集成现在显示在集成页面的 设置 > 设备与服务 下。其实体在集成卡片上以及实体标签上列出。

# Example configuration.yaml entry
panasonic_viera:
  host: YOUR_TV_IP

Configuration Variables

host string Required

The IP address of your Panasonic Viera TV, e.g., 192.168.1.10.

name string (Optional, default: Panasonic Viera TV)

The name you would like to give to the TV entity.

port integer (Optional, default: 55000)

The port number of your Panasonic Viera TV.

turn_on_action list (Optional)

Defines an action to turn the TV on. If not specified, a power key signal will try to be sent to the TV. Be aware that it might not work properly with some models.

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.

Example turn_on_action

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:
    - action: wake_on_lan.send_magic_packet
      data:
        mac: "AA:BB:CC:DD:99:1A"

Example play_media script

The 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:
      - action: media_player.turn_on
        target:
          entity_id: media_player.living_room_tv
      - action: 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
      - action: media_player.media_stop
        target:
          entity_id: media_player.living_room_tv

Remote

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 remote.send_command action.

Some of the known valid key values are:

  • up
  • down
  • left
  • right
  • enter
  • home
  • back
  • power

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_HDMI1-ONOFF", "NRC_HDMI2-ONOFF", "NRC_HDMI3-ONOFF" and "NRC_HDMI4-ONOFF" for selecting HDMI inputs and "NRC_NETFLIX-ONOFF", "NRC_APPS-ONOFF", “NRC_MYAPP-ONOFF” for apps.

Currently known supported models

  • TC-P50ST50
  • TC-P55ST50
  • TC-P60S60
  • TC-P60ST50 (can’t power on)
  • TC-P65VT30
  • TH-32ES500
  • TH-P60ST50A (can’t power on)
  • TX-32AS520E
  • TX-32DSX609
  • TX-40CXE720
  • TX-40DX600
  • TX-40DX700B
  • TX-42AS650
  • TX-49DX650B
  • TX-50DX700B
  • TX-55ASM655
  • TX-55ASW654
  • TX-55CS630E (can’t power on)
  • TX-55CX680B
  • TX-55CX700E
  • TX-55EXW584
  • TX-55EXW604S
  • TX-55FX680W
  • TX-55FZ802B
  • TX-55JZ1000W
  • TX-58AX802B
  • TX-58DX700B
  • TX-58DX800E
  • TX-65CX800E
  • TX-65EXW784
  • TX-65FX720W
  • TX-L42ET50
  • TX-L47ET60E (can’t power on)
  • TX LF37E30 (can’t power on)
  • TX-P42STW50
  • TX-P42VT30E
  • TX-P50GT30Y
  • TX-P50GT60E
  • TX-65HZ1000W
  • TX-65HZ1500

If your model is not on the list, give it a test. If everything works correctly, then add it to the list on GitHub.