Page 3 of 4
Re: Panasonic TV Support
Posted: Saturday 17 September 2016 15:18
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
Re: Panasonic TV Support
Posted: Saturday 17 September 2016 15:19
by deejc
Sorry I'm not a programmer so I'm not sure what part you would need
Sent from my iPhone using Tapatalk
Re: Panasonic TV Support
Posted: Saturday 17 September 2016 23:52
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.
Re: Panasonic TV Support
Posted: Sunday 18 September 2016 19:39
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
Re: Panasonic TV Support
Posted: Sunday 18 September 2016 21:32
by sijones
which platform do you use?
Re: Panasonic TV Support
Posted: Monday 19 September 2016 21:36
by deejc
i just went back to my pi
Re: Panasonic TV Support
Posted: Monday 19 September 2016 23:43
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.
Re: Panasonic TV Support
Posted: Friday 23 September 2016 16:48
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.
Re: Panasonic TV Support
Posted: Thursday 19 January 2017 18:36
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.
Re: Panasonic TV Support
Posted: Sunday 22 January 2017 19:52
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.
Re: Panasonic TV Support
Posted: Sunday 05 March 2017 21:22
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
Re: Panasonic TV Support
Posted: Tuesday 07 March 2017 23:24
by deejc
dual post
Re: Panasonic TV Support
Posted: Tuesday 07 March 2017 23:24
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
Re: Panasonic TV Support
Posted: Wednesday 22 March 2017 21:57
by deejc
no one knows how to pass multiple commands ?
Re: Panasonic TV Support
Posted: Monday 27 March 2017 23:14
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> \
Re: Panasonic TV Support
Posted: Monday 27 March 2017 23:36
by deejc
Pretty sure I did, but not with on off, I want to change the channels
Sent from my iPad using Tapatalk
Re: Panasonic TV Support
Posted: Monday 27 March 2017 23:50
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+
Re: Panasonic TV Support
Posted: Tuesday 28 March 2017 16:45
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)
Re: Panasonic TV Support
Posted: Wednesday 29 March 2017 22:36
by deejc
dont worry, i fixed it...
can you post the script here ?
i created a script but domoticz will not trigger it
Re: Panasonic TV Support
Posted: Friday 23 February 2018 14:55
by barrymossel
Never mind. A reboot of the Pi did the trick.