[82_LGTV_WebOS.pm] Modul für LG TV's mit WebOS

Begonnen von CoolTux, 08 Februar 2017, 00:02:58

Vorheriges Thema - Nächstes Thema

TWART016

Oh Mann, da stand ich aber auf dem Schlauch  :'(

Hier der Auszug:
2019.01.06 20:42:34 4: LGTV_WebOS (LG65UF6809) - Corrected JSON String: {"type":"response","id":"request_1546803754.47255","payload":{"appId":"de.sky.skyonline","returnValue":true,"windowId":"","processId":"1003"}}
2019.01.06 20:42:34 4: LGTV_WebOS (LG65UF6809) - JSON detected, run LGTV_WebOS_WriteReadings
2019.01.06 20:42:34 4: LGTV_WebOS (LG65UF6809) - received correct JSON string, start response processing: {"type":"response","id":"request_1546803754.47255","payload":{"appId":"de.sky.skyonline","returnValue":true,"windowId":"","processId":"1003"}}
2019.01.06 20:42:34 4: LGTV_WebOS (LG65UF6809) - ReadFn started
pi{%fv,;Q'i|\?-rW2"#)aVx6.T}1}P}f(Ps4(V|f.{6,P-a+ i,;[/"#9ehG.smmz5-s0*~47|2,i}

CoolTux

OK super. Genau das brauche ich. Ich schaue es mir nachher an.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Habe eine neue Version eingecheckt. Support für SkyOnline App ist enthalten.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

TWART016

Sky taucht leider noch nicht im Dropdown von launchApp auf.

CoolTux

Schaue ich mir an.
Wird es denn wenigstens korrekt als Reading  Value auf?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Ok erledigt. Ab morgen früh per Update. Bitte testen ob die App auch startet.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Können bitte zwei drei Leute eine neue Version von Git testen.
https://github.com/LeonGaultier/fhem-LGTV_WebOS/archive/devel.zip

Es gibt keine neuen Funktionen. Ich habe lediglich auf package (sowas wie Klassen unter C++) umgestellt.


Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

TWART016

Zitat von: CoolTux am 17 Januar 2019, 21:45:40
Ok erledigt. Ab morgen früh per Update. Bitte testen ob die App auch startet.
Funktioniert, besten Dank.

mi.ke

Hi Leon,

da ich im Moment auf Fehlersuche bin (hat nichts mit LGTV_WebOS.pm zu tun), ist mir auf gefallen, dass sobald der Fernseher an ist und stacktrace aktiv ist, ca. alle 10 Sekunden folgende Fehlermeldung in's LOG geschrieben wird.


2019.01.26 02:23:35 1: stacktrace:
2019.01.26 02:23:35 1:     main::__ANON__                      called by fhem.pl (4602)
2019.01.26 02:23:35 1:     main::readingsBulkUpdateIfChanged   called by ./FHEM/82_LGTV_WebOS.pm (948)
2019.01.26 02:23:35 1:     main::LGTV_WebOS_WriteReadings      called by ./FHEM/82_LGTV_WebOS.pm (831)
2019.01.26 02:23:35 1:     main::LGTV_WebOS_ResponseProcessing called by ./FHEM/82_LGTV_WebOS.pm (670)
2019.01.26 02:23:35 1:     main::LGTV_WebOS_Read               called by fhem.pl (3610)
2019.01.26 02:23:35 1:     main::CallFn                        called by fhem.pl (727)
2019.01.26 02:23:45 1: PERL WARNING: Use of uninitialized value $value in string eq at fhem.pl line 4602.
2019.01.26 02:23:45 1: stacktrace:
2019.01.26 02:23:45 1:     main::__ANON__                      called by fhem.pl (4602)
2019.01.26 02:23:45 1:     main::readingsBulkUpdateIfChanged   called by ./FHEM/82_LGTV_WebOS.pm (948)
2019.01.26 02:23:45 1:     main::LGTV_WebOS_WriteReadings      called by ./FHEM/82_LGTV_WebOS.pm (831)
2019.01.26 02:23:45 1:     main::LGTV_WebOS_ResponseProcessing called by ./FHEM/82_LGTV_WebOS.pm (670)
2019.01.26 02:23:45 1:     main::LGTV_WebOS_Read               called by fhem.pl (3610)
2019.01.26 02:23:45 1:     main::CallFn                        called by fhem.pl (727)
2019.01.26 02:23:57 1: PERL WARNING: Use of uninitialized value $value in string eq at fhem.pl line 4602.
2019.01.26 02:23:57 1: stacktrace:
2019.01.26 02:23:57 1:     main::__ANON__                      called by fhem.pl (4602)
2019.01.26 02:23:57 1:     main::readingsBulkUpdateIfChanged   called by ./FHEM/82_LGTV_WebOS.pm (948)
2019.01.26 02:23:57 1:     main::LGTV_WebOS_WriteReadings      called by ./FHEM/82_LGTV_WebOS.pm (831)
2019.01.26 02:23:57 1:     main::LGTV_WebOS_ResponseProcessing called by ./FHEM/82_LGTV_WebOS.pm (670)
2019.01.26 02:23:57 1:     main::LGTV_WebOS_Read               called by fhem.pl (3610)
2019.01.26 02:23:57 1:     main::CallFn                        called by fhem.pl (727)
2019.01.26 02:24:06 1: PERL WARNING: Use of uninitialized value $value in string eq at fhem.pl line 4602.


Ausser der Meldung funktioniert das Modul bei mir ohne Probleme.

Kannst Du damit was anfangen ?

Cheers
mi.ke
FHEM 5.9 | RPi4 + 5 x RPi(Z) + FB7590 + FB 6890 LTE via LAN und WAN (VPN) verbunden.
2 x CUL868 + 3 x RFXTRX(e) + 6 x HMwLanGW + 4 x z2tGw + 5 x LGW + 2 x IRBlast + CO2 +++
FS20, FHT, FMS, Elro(mod), CM160, Revolt, LGTV, STV, AVR, withings, HM-sec-*, HM-CC-RT-DN, AMAD, PCA301, arlo, Aqara

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

the ratman

vielleicht hilfts ja - kommt bei mir auch oft so - aber nur ein paar mal und auch nur dann, wenn ein tv eingeschalten wird.

mir kommts vor, als ob dein modul mitbekommt, das ein tv ein - aber no ned ganz hochgefahren - ist, dein modul aber schon irgendwas vom tv haben will, das selbiger noch nicht liefern will.
diese milchmädchenrechnung rechne ich, weil mein wohnzimmer-tv um ecken schneller hoch kommt, als der billige im schlafzimmer und obige meldungen in 99% der fälle kommt, wenn ich den schlafzimmer-tv aufdreh. manchesmal geht sichs aber scheinbar aus und es kommt gar keine meldung ... also wirklich nachprüfbar ist die sache leider nicht.
eine 2. möglichkeit wäre die anbindung - mein sz-tv ist wlan und mein wohnzimmer-tv lan (nur der vollständigkeit halber)


btw - schon in richtung usb-stick was geguckt?
→do↑p!dnʇs↓shit←

CoolTux

Zitat von: the ratman am 26 Januar 2019, 14:07:17
btw - schon in richtung usb-stick was geguckt?

Noch nicht. Danke für die Info.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

drhirn

Sicher. Auf was genau sollen wir unsere Aufmerksamkeit lenken?

CoolTux

Zitat von: drhirn am 31 Januar 2019, 09:51:58
Sicher. Auf was genau sollen wir unsere Aufmerksamkeit lenken?
Erstmal nur darauf ob sich das Modul so verhält wie vorher auch oder ob es Probleme gibt.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net