My Panasonic Viera web control module

о модулях и их работе

My Panasonic Viera web control module

Postby xury » 04 Jul 2014, 03:03

Hi. I just done Viera web remote module for Panasonic TVs
This module is based on Iconbit remote by Pocrass.
Im not a developer so for advanced users with good knowledge of php scripting it will be horrible. I just modify something whats was done by others.
So if someone could optimize it I will be very thankful.
Its used DLNA commands what I found on somewhere on the network.

Now most important thing.
After installation you have to set IP address for your Viera TV in ip.conf file.

You can edit ip.conf file from moservices web panel. Using "Settings" from pop up menu.
Please type IP adress only.Do not press Enter at the end of line.
Cheers
Xury

Web remote is available in Navigation menu on moservices web panel.
But if you want use it on mobile device. Better way is direct access:
http://<PLAYER_IP>/modules/vieraremote/viera.php


Download and install module by telnet:
Code: Select all
cd /tmp
wget http://dvbt05.keed.pl/manta/vieraremote.tar.bz2
pm install vieraremote alone

Tested only on Panasonic tx-l47et60e but should be work on others viera TVs.
xury
 
Posts: 75
Joined: 13 Jul 2012, 18:13

Re: My Panasonic Viera web control module

Postby FarVoice » 04 Jul 2014, 06:47

use $_SERVER global variable. E.g. address is $_SERVER['HTTP_HOST']

curl_setopt($curl, CURLOPT_URL, 'http://'. $_SERVER['HTTP_HOST'] .'/nrc/control_0');
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8573
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: My Panasonic Viera web control module

Postby xury » 04 Jul 2014, 11:22

I think its a bad way. Because I want type there TV IP in my home LAN instead media player IP .
Mediaplayer only works as a web server for this script.
I don't know how to automatically discover TV on my home network.
xury
 
Posts: 75
Joined: 13 Jul 2012, 18:13

Re: My Panasonic Viera web control module

Postby FarVoice » 04 Jul 2014, 11:45

Oops. I understood my mistake. I don't know, how to get TV's IP automatically.
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8573
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: My Panasonic Viera web control module

Postby xury » 04 Jul 2014, 15:53

Ok. Now I change configure IP for TV in ip.conf file.
It's editable using settings from moservices panel.

BTW. I need edit main post. Please :(
xury
 
Posts: 75
Joined: 13 Jul 2012, 18:13


Return to Модули

Who is online

Users browsing this forum: Google [Bot] and 3 guests