Having enabled the integration, and then managed to get the following script to work with my Panasonic Viera TV (55FZ952b); it made me wonder what other Panny/HASS scripts/automations do people have in use out there.
So, if you’re willing to help - please feel free to reply and share your Viera code examples in the thread below.
# On execution, switch the screen over to the built in web browser and load the specified URL
panny_url:
alias: "Show me a url"
sequence:
- service: media_player.turn_on
data:
entity_id: media_player.panasonic_viera_tv
- service: media_player.play_media
data:
entity_id: media_player.panasonic_viera_tv
media_content_type: "url"
media_content_id: http://www.google.co.uk
- delay:
seconds: 5
- service: media_player.media_stop
data:
entity_id: media_player.panasonic_viera_tv
As this particular script fires up the built in web browser, and loads a url on the screen, there a many different use cases. - a couple of which are below…
if you had a network camera and motion sensor covering a particular area, via automation if the motion sensor was tripped, it could fire up the browser and show you the camera video feed on your tv
If you were waiting for an update to occur to a particular website, you could add a trigger to fire up than web page at a particular date/time.
Any idea how to fix the issue that media_player.media_stop isn’t working anymore?
Normally this would close the browser on the panasonic tv… I use this script to display the camera at my frontdoor when the doorbell rings… picture is displayed fine but browser is not closed…
This function was working but I thing that after an update of viera this is not working anymore.
I just managed to integrate the panasonic viera into HA using the integration. The reason why I did this is to capture the on vs off state of the TV (to be used in a Bayesian Sensor). Unfortunately, when the tv is in standby (we always use the remote, going to sleep, to put the tv in standby), it still remains as state ‘ON’. Is this normal, is there no state idle to capture ? or Off ?