We have moved at community.getvera.com

Author Topic: Luup Plugin: Panasonic TV Control over RS-232/Serial  (Read 26350 times)

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #15 on: February 13, 2010, 02:33:39 am »
Nice, i might see if this works on my V10 :)
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline guessed

  • Community Beta
  • Master Member
  • ******
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #16 on: February 13, 2010, 12:23:09 pm »
I can see the support call now...

Quote
Um, is this Panasonic?
    Yes
Um, How do I reflash my Viera V10 with new Firmware?
    Why...
Um, well, I followed some instructions on HackADay.com
    <click>

there is, after all only one letter difference with "Viera" and "Vera"  ;-)

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #17 on: February 13, 2010, 02:59:09 pm »
I'd like to find out what extra you would gain by doing this but on second thoughts i think i might give it a skip

Guessed, after you...? ;)
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline guessed

  • Community Beta
  • Master Member
  • ******
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #18 on: February 13, 2010, 03:11:21 pm »
@strangely, Mine is model before the V10's.  The Hex-offsets will be all different, and whilst I love hacking things, this is probably going a little too far... esp since the "gain" is unexplained in the site.

There are times I don't mind being a crash-test-dummy, but this is not one of those times  8)

Offline denix

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1088
  • Karma: +1/-0
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #19 on: February 14, 2010, 04:02:05 am »
As the message says - "unlocking several new settings menus, or bricking your entertainment centerpiece"  :D
Veras (1, 2, 3, Lite, Plus), lots of different Z-Wave modules, Luup plugins and theater/security integration.

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #20 on: February 14, 2010, 04:40:59 am »
@strangely, Mine is model before the V10's.  The Hex-offsets will be all different, and whilst I love hacking things, this is probably going a little too far... esp since the "gain" is unexplained in the site.

There are times I don't mind being a crash-test-dummy, but this is not one of those times  8)
Just look at it this way, if you brick it i can get you a nice big discount on a new one with all the nice Skype or 3D features etc :)
Seriously though, i wouldn't even risk it with mine which is probably much closer to the G10 series.
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #21 on: April 10, 2010, 03:11:45 am »
;). That's why I include test URLs for Volume Up/down as it's fairly non disruptive to test... Once you have the cabling in place of course...
Hi guessed, have you tried any of the recent software releases to see if the STX ETX bug was fixed? i updated to 1.1.307 and volume still doesn't appear to work and was wondering if you had heard anything about it?
« Last Edit: April 10, 2010, 11:12:03 am by guessed »
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline guessed

  • Community Beta
  • Master Member
  • ******
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #22 on: April 10, 2010, 11:11:38 am »
@strangely, it's not an STX-ETX [Protocol] bug that's stopping Volume-Up and Volume-Down from working.  There's a problem with how Vera handles duplication ACTION elements in the Plugin descriptor.

In this case, the Plugin implements both of the serviceIDs:
  •     urn:micasaverde-com:serviceId:MenuNavigation1
  •     urn:micasaverde-com:serviceId:Volume1

each of which contains an ACTIONs called "Up" and "Down".  It looks like Vera will always fire the "second" definition if there are dups, so I filed Findvera tech support Ticket #2106 on Apr8th to get that fixed.

... I have the same problem with my Onkyo Receiver plugin so I kinda need it fixed to move forward with using SQRemote correctly.


If you want to work around it, and don't mind "losing" the Up/Down "cursor" (MenuNavigation1) keys, you can change the text on the following lines:

http://code.mios.com/trac/mios_panasonic-tv/browser/I_PanasonicVieraTV1.xml#L367
    Change <name>Up</name>
    to <name>Up1</name>

http://code.mios.com/trac/mios_panasonic-tv/browser/I_PanasonicVieraTV1.xml#L312
    Change <name>Down</name>
    to <name>Down1</name>


These are the Up/Down from the MenuNavigation1 serviceId.

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #23 on: April 17, 2010, 12:57:01 am »
I'll give that a go but I'm also perhaps wondering if my TVs command structure might be a little different? Does anything on yours work apart power on on off? I couldn't get the mute to work either, and wouldn't have thought this would've been a duplicated action with anything else.

Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline guessed

  • Community Beta
  • Master Member
  • ******
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #24 on: April 23, 2010, 12:38:11 am »
@strangely, I just re-tested the Panasonic's "Mute" function and it's working correctly on my set.  I normally mute via the Amp/Receiver, but I manually configured a Remote page to "press" the Mute key on the TV Plugin and it's working correctly.

It's possible that your TV has different codes.  I hope not, but it's possible ;-)


I did notice that one of the Panasonic models has discrete codes for Mute On/Off, which wouldn't be handled by the Volume1 API (it assumes toggle-Mute)

Any chance you can chase down the "codes" for your specific model?  Then we can compare notes.

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #25 on: April 24, 2010, 03:09:14 am »
I suppose its about time to try and pull in some favors, and see if i can get the docs for this!
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline guessed

  • Community Beta
  • Master Member
  • ******
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #26 on: April 25, 2010, 11:30:47 pm »
@strangely, I just published a new version of I_PanasonicVieraTV1.xml that attempts to work-around the Problem with Volume Up/Down not working, the diffs are here:

    http://code.mios.com/trac/mios_panasonic-tv/changeset/2

Basically, I "sacrifice" the Cursor Up/Down actions, in order to get the Volume Up/Down actions working (a code re-order to work-around Ticket #2106).  I figure Volume Up/Down are more important than cursor movement... at least until MCV and team have a chance to fix the issue on their side.

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #27 on: April 25, 2010, 11:54:26 pm »
Ok cool, i'll give it a try!

I contacted somebody on our consumer entertainment side yesterday at Panasonic who said they would email the RS232 commands for my TV but it never turned up in my inbox :(
 
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #28 on: April 26, 2010, 12:29:17 am »
Thanks, that works for me too; so it looks like Volume is the same on mine at least. Who needs mute anyway! :)
« Last Edit: April 26, 2010, 12:30:27 am by guessed »
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline wseverino

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 854
  • Karma: +0/-0
  • Da Man, Da Myth, Da Legend - in his own mind!
Re: Luup Plugin: Panasonic TV Control over RS-232/Serial
« Reply #29 on: May 16, 2010, 08:00:02 pm »
Anyone know where to find the commands for a Samsung LED TV? I just noticed in Vera that my TV shows up under the upnp devices since its ethernet connected to my network.
My ZWave Network: Too friggin big to list.....