Panasonic TV Support

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: Panasonic TV Support

Post by deejc »

The homebridge-Panasonic plugin does turn it on via the network from an off state, its using node and can be found on the node website


Sent from my iPhone using Tapatalk
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: Panasonic TV Support

Post by deejc »

Sorry I'm not a programmer so I'm not sure what part you would need


Sent from my iPhone using Tapatalk
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
sijones
Posts: 70
Joined: Wednesday 15 October 2014 14:16
Target OS: Linux
Domoticz version: Git
Location: UK
Contact:

Re: Panasonic TV Support

Post by sijones »

I've done a change but my TV doesn't support the command so i can't test.

If you can build from source then clone this branch https://github.com/sijones/domoticz/tree/panasonic-on

Test if it works and then i'll submit it to be included to mainline.
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: Panasonic TV Support

Post by deejc »

At this time I only have my single system I use with the pre compiled Binary and nothing I can use to build from source right now sorry


Sent from my iPhone using Tapatalk
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
sijones
Posts: 70
Joined: Wednesday 15 October 2014 14:16
Target OS: Linux
Domoticz version: Git
Location: UK
Contact:

Re: Panasonic TV Support

Post by sijones »

which platform do you use?
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: Panasonic TV Support

Post by deejc »

i just went back to my pi
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
sijones
Posts: 70
Joined: Wednesday 15 October 2014 14:16
Target OS: Linux
Domoticz version: Git
Location: UK
Contact:

Re: Panasonic TV Support

Post by sijones »

I haven't got a pi setup for building on at the moment.

I have updated my production system to use this code, as long as nothing breaks i'll push it to main code in a day or 2 - i am away from home at the moment.
sijones
Posts: 70
Joined: Wednesday 15 October 2014 14:16
Target OS: Linux
Domoticz version: Git
Location: UK
Contact:

Re: Panasonic TV Support

Post by sijones »

A change has gone in to the latest code, am not sure when this goes in for the beta build etc, but any beta build after today should include the change.

Once you run this build, run the Panasonic in debug mode, and when you turn off the TV you should see a line say Tv Supports turning on from standby, or something of them words, then this will allow the sending of the On command, if that line isn't seen then my change hasn't worked.
mehtadone
Posts: 8
Joined: Sunday 15 January 2017 11:38
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Panasonic TV Support

Post by mehtadone »

Sorry to resurrect this thread, but I can't seem to get my TV to switch on. I'm getting the same error so wondering if this commit ever went in:

2017-01-19 17:33:26.375 Error: Panasonic Plugin: (Living Room TV) Device is Off, cannot send command.
sijones
Posts: 70
Joined: Wednesday 15 October 2014 14:16
Target OS: Linux
Domoticz version: Git
Location: UK
Contact:

Re: Panasonic TV Support

Post by sijones »

The code went in but if it's not working for you it's not easy to diagnose.

You should see something in the logs like "TV supports on command" when the TV is turned off it should pick this up, you might need to have Domoticz startup with the TV off for it to trigger - am not sure but the only way you know the TV will turn on from Standby is when the TV is in stand by.
Glabbeek
Posts: 1
Joined: Friday 14 August 2015 15:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8775
Location: The Netherlands
Contact:

Re: Panasonic TV Support

Post by Glabbeek »

Hello,

Great piece of coding.

I'm wondering if it would be possible to sent/push messages to the tv. Something like Growl on the iMac.
Incoming call's for instance.

regards,

Willem-Bram
Grtz,
Willem-Bram


Version: 3.8775 Beta
Platform: RasPi
Plugin/Hardware: RFXtrx433,OpenZWave, OpenTherm, Evohome, Caddx/Networx
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: Panasonic TV Support

Post by deejc »

dual post
Last edited by deejc on Tuesday 07 March 2017 23:25, edited 1 time in total.
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: Panasonic TV Support

Post by deejc »

hello
i am still seeing the problem with the plugin not turning on the TV but the code below will turn it on over the network

Code: Select all

curl -i \
-H "Accept: text/xml" \
-H "Cache-Control: no-cache" \
-H "Pragma: no-cache" \
-H 'SOAPACTION: "urn:panasonic-com:service:p00NetworkControl:1#X_SendKey"' \
-H "Content-Length: 200" \
-H 'Content-Type: text/xml;charset="utf-8"' \
-X POST --data '<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> \
<s:Body> \
<u:X_SendKey xmlns:u="urn:panasonic-com:service:p00NetworkControl:1"> \
<X_KeyEvent>NRC_POWER-ONOFF</X_KeyEvent> \
</u:X_SendKey> \
</s:Body> \
</s:Envelope>' http://172.16.30.13:55000/nrc/control_0/
i can live with this as i created some scripts, what i would like to know is there a way to pass multiple number commands in the above code so that i can set a script to pass channel 101 by pressing a button ?
thanks
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: Panasonic TV Support

Post by deejc »

no one knows how to pass multiple commands ?
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
User avatar
nulby
Posts: 4
Joined: Monday 27 March 2017 23:08
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: France
Contact:

Re: Panasonic TV Support

Post by nulby »

deejc wrote:hello
i am still seeing the problem with the plugin not turning on the TV but the code below will turn it on over the network

Code: Select all

curl -i \
-H "Accept: text/xml" \
-H "Cache-Control: no-cache" \
-H "Pragma: no-cache" \
-H 'SOAPACTION: "urn:panasonic-com:service:p00NetworkControl:1#X_SendKey"' \
-H "Content-Length: 200" \
-H 'Content-Type: text/xml;charset="utf-8"' \
-X POST --data '<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> \
<s:Body> \
<u:X_SendKey xmlns:u="urn:panasonic-com:service:p00NetworkControl:1"> \
<X_KeyEvent>NRC_POWER-ONOFF</X_KeyEvent> \
</u:X_SendKey> \
</s:Body> \
</s:Envelope>' http://172.16.30.13:55000/nrc/control_0/
i can live with this as i created some scripts, what i would like to know is there a way to pass multiple number commands in the above code so that i can set a script to pass channel 101 by pressing a button ?
thanks

Have you tried to duplicate this line ?

Code: Select all

<X_KeyEvent>NRC_POWER-ONOFF</X_KeyEvent> \
Sorry for my english
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: Panasonic TV Support

Post by deejc »

Pretty sure I did, but not with on off, I want to change the channels


Sent from my iPad using Tapatalk
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
User avatar
nulby
Posts: 4
Joined: Monday 27 March 2017 23:08
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: France
Contact:

Re: Panasonic TV Support

Post by nulby »

sijones wrote: You should see something in the logs like "TV supports on command" when the TV is turned off it should pick this up, you might need to have Domoticz startup with the TV off for it to trigger - am not sure but the only way you know the TV will turn on from Standby is when the TV is in stand by.
Here is the log i got when turning off my TV :

Code: Select all

2017-03-27 23:39:11.886 Panasonic Plugin: (VieraTV) Connected to '192.168.0.41:55000'.
2017-03-27 23:39:11.886 Panasonic Plugin: (VieraTV) Connected.
2017-03-27 23:39:11.886 Panasonic Plugin: (VieraTV) Attemping write.
2017-03-27 23:39:11.886 Panasonic Plugin: (VieraTV) Attemping read.
2017-03-27 23:39:11.893 Panasonic: (VieraTV) Event: 'Off'.
2017-03-27 23:39:16.995 Panasonic Plugin: (VieraTV) Handling message: 'POST /dmr/control_0 HTTP/1.1 
Host: 192.168.0.41:-55000 
SOAPACTION: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume" 
Content-Type: text/xml; charset="utf-8" 
Content-Length: 379 
TV : TX-42AS650E
Domoticz : V3.7067 on a Synology DS214+
Sorry for my english
User avatar
nulby
Posts: 4
Joined: Monday 27 March 2017 23:08
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: France
Contact:

Re: Panasonic TV Support

Post by nulby »

deejc wrote:Pretty sure I did, but not with on off, I want to change the channels
I managed to get the channel 101 by passing in a shell script 3 successive curl commands (one for each number 1/0/1)
Sorry for my english
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: Panasonic TV Support

Post by deejc »

dont worry, i fixed it...
can you post the script here ?
i created a script but domoticz will not trigger it
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
barrymossel
Posts: 3
Joined: Friday 23 February 2018 14:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Panasonic TV Support

Post by barrymossel »

Never mind. A reboot of the Pi did the trick.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest