Modul für aktuelle LG-TVs?

Begonnen von oxident, 09 September 2013, 21:38:33

Vorheriges Thema - Nächstes Thema

HolyMoly

FHEM auf Raspi2 & Radxa Rock

der-Lolo

sorry, spätestens an der stelle versteh ich nur noch Bahnhof...
Naja abwarten, vielleicht bekommt es ja jemand anderes zum laufen.

rainer1962

Hallo Holy,
das Log sagt folgendes ....
2014.03.14 22:27:19 2: LGTV2011: Sending Command  to No AuthKey, please pair your device first! 2014.03.14 22:27:19 2: Now sending command 8 2014.03.14 22:27:19 2: Could not send command 2014.03.14 22:27:19 2: TV Response :500 Can't connect to ::80 (Bad hostname ':')

Mehr habe ich noch nicht rausbekommen ...
Gruss Rainer

2xFHEM auf Raspi3,MAXLAN,HMLAN,KeyMatic,MAX Heizung,2x HM-WDS10_TH-O,3xHM-SEC-SD,3xHM Wandtaster 2-Kanal, 2xWandtaster 6-Kanal,1xHM Bewegungsmelder,4xHM EinbauActor,4x Jalousien Actor,2xEGPM2LAN,2xHM DimAktor,2xFritzbox 6840/6490,4-20ma Levelsensor-Ina219,PIP5048,Raspi2 als Floorplan,4xJeeLink

HolyMoly

Sind diese module installiert?

use LWP::UserAgent;
use HTTP::Request::Common;
use XML::Simple;
FHEM auf Raspi2 & Radxa Rock

HolyMoly

No AuthKey, please pair your device first weist darauf hin dass der Pairing key nicht gespeichert ist.
set <name> pair <code> hast du gemacht?
FHEM auf Raspi2 & Radxa Rock

rainer1962

hallo holy,
folgendes gebe ich in fhem ein:
define LGTV LGTV2011 192.168.25.20

danach erscheint am fernseher der Paitingcode
daraufhin gebe ich in fhem folgednes ein:
set LGTV pair XXXXX

und weiter passiert nix.
Der Pairingcode bleibt am Fernseher weiter stehen, so als ob er noch auf eine Eingabe von FHEM wartet...

Gruss Rainer
2xFHEM auf Raspi3,MAXLAN,HMLAN,KeyMatic,MAX Heizung,2x HM-WDS10_TH-O,3xHM-SEC-SD,3xHM Wandtaster 2-Kanal, 2xWandtaster 6-Kanal,1xHM Bewegungsmelder,4xHM EinbauActor,4x Jalousien Actor,2xEGPM2LAN,2xHM DimAktor,2xFritzbox 6840/6490,4-20ma Levelsensor-Ina219,PIP5048,Raspi2 als Floorplan,4xJeeLink

HolyMoly

Wie schaut dabei der Logoutput aus?

Zuerst müsste kommen:

Pairing request with key XXXX

Dann entweder

Pairing Successful
TV Response : ....

oder

Could not send pairing request
TV Response : ....
FHEM auf Raspi2 & Radxa Rock

rainer1962

hallo holy,
das kommt im logfile:
2014.03.15 18:30:45 2: LGTV2011: Created new device LGTV 192.168.25.20:8080 2014.03.15 18:30:45 2: Displaying pairing code at http://192.168.25.20:8080/hdcp/api/auth 2014.03.15 18:30:45 2: Displaying pairing code successful 2014.03.15 18:30:45 2: LGTV2011: Sending Command  to No AuthKey, please pair your device first! 2014.03.15 18:30:45 2: Now sending command 8 2014.03.15 18:30:45 2: Could not send command 2014.03.15 18:30:45 2: TV Response :500 Can't connect to ::80 (Bad hostname ':') 2014.03.15 18:30:46 2: LGTV2011: Sending Command  to No AuthKey, please pair your device first! 2014.03.15 18:30:46 2: Now sending command 8 2014.03.15 18:30:46 2: Could not send command 2014.03.15 18:30:46 2: TV Response :500 Can't connect to ::80 (Bad hostname ':') 2014.03.15 18:30:51 2: LGTV2011: Sending Command  to No AuthKey, please pair your device first! 2014.03.15 18:30:51 2: Now sending command 8 2014.03.15 18:30:51 2: Could not send command 2014.03.15 18:30:51 2: TV Response :500 Can't connect to ::80 (Bad hostname ':') 

2xFHEM auf Raspi3,MAXLAN,HMLAN,KeyMatic,MAX Heizung,2x HM-WDS10_TH-O,3xHM-SEC-SD,3xHM Wandtaster 2-Kanal, 2xWandtaster 6-Kanal,1xHM Bewegungsmelder,4xHM EinbauActor,4x Jalousien Actor,2xEGPM2LAN,2xHM DimAktor,2xFritzbox 6840/6490,4-20ma Levelsensor-Ina219,PIP5048,Raspi2 als Floorplan,4xJeeLink

rainer1962

halo holy,
pairing request kommt gar nicht ...

irgendwie habe ich den verdacht dass da etwas nicht richtig gespeichert wird , kann das sein ??
2xFHEM auf Raspi3,MAXLAN,HMLAN,KeyMatic,MAX Heizung,2x HM-WDS10_TH-O,3xHM-SEC-SD,3xHM Wandtaster 2-Kanal, 2xWandtaster 6-Kanal,1xHM Bewegungsmelder,4xHM EinbauActor,4x Jalousien Actor,2xEGPM2LAN,2xHM DimAktor,2xFritzbox 6840/6490,4-20ma Levelsensor-Ina219,PIP5048,Raspi2 als Floorplan,4xJeeLink

rainer1962

hallo holy,
ich habe noch die version 0.1 (2013) von 82_LGTV2011.pm.
Ist das die aktuelle version ?
GRuss Rainer
2xFHEM auf Raspi3,MAXLAN,HMLAN,KeyMatic,MAX Heizung,2x HM-WDS10_TH-O,3xHM-SEC-SD,3xHM Wandtaster 2-Kanal, 2xWandtaster 6-Kanal,1xHM Bewegungsmelder,4xHM EinbauActor,4x Jalousien Actor,2xEGPM2LAN,2xHM DimAktor,2xFritzbox 6840/6490,4-20ma Levelsensor-Ina219,PIP5048,Raspi2 als Floorplan,4xJeeLink

HolyMoly

Hmm, ich teste heut abend mal an meinem LGTV sobald ich zuhause bin...
FHEM auf Raspi2 & Radxa Rock

UliM

Hi,
hab kein LG-TV - wollte nur fragen: das hier geht nicht?
http://fhem.de/commandref.html#LGTV
Gruß, Uli
RPi4/Raspbian, CUL V3 (ca. 30 HomeMatic-devices), LAN (HarmonyHub, alexa etc.).  Fördermitglied des FHEM e.V.

HolyMoly

Das LGTV Modul ist eine Art "Hypermodul" welches ein Low-Level Treiber Modul wie z.B. xxLG7000 voraussetzt.
Das xxLG7000 Modul wiederum funktioniert nur über eine serielle Schnittstelle, welche die aktuellen Modelle aber nicht mehr haben.

Idealerweise könnte man irgendwann das LGTV2011 Modul so umschreiben dass es als Treiber fürs LGTV Modul funktioniert.
FHEM auf Raspi2 & Radxa Rock

der-Lolo

Wie HolyMoly schon schreibt,
das "alte Modul" kommuniziert über die Serielle Schnittstelle - bei "neueren Geräten" gibt es die nichtmal mehr...
LG hat aber Möglichkeit gegeben übers Ethernet zu steuern, es gibt auch eine API HolyMoly hat die hier in diesem Thread verlinkt.. Es gibt ja auch eine Remote-App direkt von LG.
Die Einbindung in FHEM fehlt leider - aber ich bin optimistisch, vielleicht findet sich ja bald jemand der ein Modul schreiben kann...

HolyMoly

Benutzung so:

define myTV LGTV2011 192.168.181.6
set myTV pair
set myTV pair xxxxx
set myTV channel_up
FHEM auf Raspi2 & Radxa Rock