gfainky
(Gfainky)
February 23, 2020, 9:18pm
1
I am trying to do automation at home using HomeAssistant, so I need to switch off and switch on my 2012 Philips tv 46PFL9705H/12:
https://www.philips.it/c-p/46PFL9705H_12/serie-9000-tv-led-con-ambilight-spectra-3-e-perfect-pixel-hd-engine
I have enable jointSPACE using this procedure:
https://philips-tvconsumercare.kxondemand.com/Portal/en/Faq/All/3073
And it works fine!!
But I cannot turn it on using Wake On Lan, even if it is connected to the same LAN, i used the turn on action with the MAC address of the TV:
´´´
media_player:
platform: philips_js
host: 192.168.1.99
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
mac: aa:bb:cc:dd:ee:ff
´´´
Any clues or experiences if this works ?
Giulio.
Same here, but for a 50PUS7504 series
This also didn’t do the trick:
To use this integration in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
wake_on_lan:
And yes; I enabled WOL on the tv
migube
(Migube)
December 14, 2020, 5:35pm
3
you could try to compile/install
Download JSTx for free. JSTx is used for displaying overlay graphics and text on top of a Philips television, changing channels, receiving remote control keys and changing television display modes. It is a command line utility to execute jointSPACE...
/opt/scripts/JSTx-0.24/JSTx -k 12 --remote=PUTYPURIP
should switch standby mode…
ACod
(Andrealdo Codazzo)
January 13, 2021, 12:50am
4
Hi, I am trying to switch on my PhilipsTV 32PFS6905/12 and i write the folowing code:
media_player:
- platform: philips_js
name: PhilipsTV 32
host: 192.168.0.80
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
mac: aa:bb:cc:dd:ee:ff
(obviusly I put in my code the correct mac address) but when I clik for turn on the tv, home assistant show me this error:
Call to service is failed media_player/turn_on . Unable to find service wake_on_lan.send_magic_packet
Can help me please? Thank you very much
Eric_Bos
(Eric Bos)
May 27, 2021, 8:53am
6
You may want to try - instead of : in the mac address.
I created a switch with the following code to turn the TV on and off:
switch:
- platform: template
switches:
tv_slaapkamer:
value_template: "{{ is_state('media_player.tv_slaapkamer', 'on') }}"
turn_on:
service: wake_on_lan.send_magic_packet
data:
mac: xx-xx-xx-xx-xx-xx
turn_off:
service: media_player.turn_off
target:
entity_id: media_player.tv_slaapkamer
Change the entity ID with the ID of your own TV and use your own mac address with - as separators
PX80
November 6, 2021, 6:07am
7
Hello Eric,
will this work with the new Philips Generation which only supports WOWLan?
Did you manage to get it to work?
I’m on a new TV that only has the WoWlan option and having real difficulty
PX80
September 16, 2022, 4:34am
9
no doesnt seem to work with WonLAN so guess you will have to workaround with a Smart Plug
foxy82
(foxy82)
April 18, 2023, 3:00pm
10
I’m currently using the following script :
alias: Wake Studio TV
sequence:
- repeat:
until:
- condition: or
conditions:
- condition: not
conditions:
- condition: state
entity_id: media_player.android_tv_192_168_1_3
state: unavailable
- condition: template
value_template: "{{ repeat.index > 10 }}"
sequence:
- service: wake_on_lan.send_magic_packet
data:
broadcast_port: 9
mac: 70:aa:11:32:b1:63
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 500
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: media_player.turn_on
data: {}
target:
entity_id: media_player.android_tv_192_168_1_3
mode: single
media_player.android_tv_192_168_1_3
is the Android ADB integration (Android TV - Home Assistant ) setup for the TV (although I imagine you might be able to just use the normal Philips TV Entity)
I found some info saying that if you ping the tv after it has been off for a while it won’t work and the network interface has been turned off. However when you send the wakeonlan it wakes the TV network interface and ping starts to work (it doesn’t start the TV).
Once that happens and I see the Android ADB become available I then use that to turn on the TV.
To avoid constant wake on lans - I only try 10 times or until the TV turns on and there is a 500ms pause between each wake on lan packet.
1 Like