Autor Thema: [82_LGTV_WebOS.pm] Modul für LG TV's mit WebOS  (Gelesen 107796 mal)

Offline ToM_ToM

  • Sr. Member
  • ****
  • Beiträge: 966
    • ThomasZFoto
Hey CoolTux,

habe die neue Version gerade mal wieder getestet.

set VolumeUp - funktioniert
set VolumeDown - funktioniert
set Volume %ZAHL% - funktioniert nicht

set mute on - funktioniert
set mute off - funktioniert nicht

set channelUp - funktioniert
set channelDown - funktioniert
set channel %ZAHL% - wäre wünschenswert für direkte Programmanwahl.  :)

Alles getestet mit WebOS 3.3x
PS: Werde mich auch weiterhin als Tester zur Verfügung stellen sofern es meine Zeit zulässt. 8)

VG, Thomas
Hardware: BananaPi, Busmaster CUL, SanDisk 16GB Ultra SD, 16 GB USB-Stick | Software: Armbian, FHEM 5.8
Gefällt mir Gefällt mir x 1 Liste anzeigen

Online CoolTux

  • Developer
  • Hero Member
  • ****
  • Beiträge: 24158
kackt leider immer noch ab, wie du ja andeutest'"' expected, at character offset 1 (before "{"type":"response","...") at ./FHEM/82_LGTV_WebOS.pm line 714.

Ja leider. Es kommen so viele fehlerhafte Zeichen zwischen den JSON Strings. Ich bin aber dran. Liegt daran das wir jetzt so viele Anfragen haben, da kommen schon mal Strings zusammen rein und dann noch die blöden Zwischenzeichen. Die muss ich alle weg parsen
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://paypal.me/pools/c/8gULisr9BT
FHEM GitHub: https://github.com/fhem/
Mein Dokuwiki:
https://tuxnetwiki-tuxnet.ddns.net
Informativ Informativ x 1 Liste anzeigen

Online CoolTux

  • Developer
  • Hero Member
  • ****
  • Beiträge: 24158
Guten Morgen,

Leider ist meine neue Vorverarbeitung und das Händling mit unvollständigen JSON Strings voll für den Po.
Ich habe erstmal wieder die alte Methode aktiviert. Einzig die InputList und InputReadings gehen nicht. Dafür sollte es, so hoffe ich stabil laufen.

Ich habe im Moment keine Zeit da jetzt weiter zu forschen. Das wird ein paar Tage dauern, da aber die meisten hier wie auch ich das Modul Recht weit ins System eingebunden haben, gibt es erstmal eine stabile Version mit nur einer fehlenden, für mich unwichtigen, Anzeige.

Verion 0.0.55 liegt im Git zum Download.



Grüße
Leon
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://paypal.me/pools/c/8gULisr9BT
FHEM GitHub: https://github.com/fhem/
Mein Dokuwiki:
https://tuxnetwiki-tuxnet.ddns.net
Gefällt mir Gefällt mir x 5 Liste anzeigen

Offline vitolinker

  • Full Member
  • ***
  • Beiträge: 146
Klasse, Leon, dafür einen Applaus bitte :-)

Online CoolTux

  • Developer
  • Hero Member
  • ****
  • Beiträge: 24158
Die Version 0.0.55 läuft bei mir seit Stunden stabil. Ich möchte alle bitten sich diese Version zu installieren. Ein FHEM Modul soll ja nicht deprimieren sondern Freude bereiten.

Ich melde mich dann wieder wenn ich die Tage eine vernünftige Lösung finde.



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://paypal.me/pools/c/8gULisr9BT
FHEM GitHub: https://github.com/fhem/
Mein Dokuwiki:
https://tuxnetwiki-tuxnet.ddns.net

Offline destogl

  • New Member
  • *
  • Beiträge: 21

Mit Premissions meinst Du "Hybi10Encode" oder was ganz anderes? Kannst Du mir vielleicht verraten wonach ich im Netz suchen muß dann kann ich das machen.


Hallo Leon,

Danke für Entwicklung des Moduls. Ich habe es allerdings noch nicht getestet, aber hoffentlich nächste wochenende :)

Bezüglich Premissions, fallst du das noch nicht verstanden hast... Ich meinte diese Teil vom Manifest:

"manifest" => {
        "manifestVersion" => 1,
        "appVersion" => "1.1",
        "signed" => {
            "created" => "20161123",
            "appId" => "com.lge.test",
            "vendorId" => "com.lge",
            "localizedAppNames" => {
                "" => "FHEM LG Remote",
                "de-DE" => "FHEM LG Fernbedinung"
                },
            "localizedVendorNames" => {
                "" => "LG Electronics"
                },
            "permissions" => [
                "TEST_SECURE",
                "CONTROL_INPUT_TEXT",
                "CONTROL_MOUSE_AND_KEYBOARD",
                "READ_INSTALLED_APPS",
                "READ_LGE_SDX",
                "READ_NOTIFICATIONS",
                "SEARCH",
                "WRITE_SETTINGS",
                "WRITE_NOTIFICATION_ALERT",
                "CONTROL_POWER",
                "READ_CURRENT_CHANNEL",
                "READ_RUNNING_APPS",
                "READ_UPDATE_INFO",
                "UPDATE_FROM_REMOTE_APP",
                "READ_LGE_TV_INPUT_EVENTS",
                "READ_TV_CURRENT_TIME"
                ],
            "serial" => "2f930e2d2cfe083771f68e4fe7bb07"
            },
        "permissions" => [
            "LAUNCH",
            "LAUNCH_WEBAPP",
            "APP_TO_APP",
            "CLOSE",
            "TEST_OPEN",
            "TEST_PROTECTED",
            "CONTROL_AUDIO",
            "CONTROL_DISPLAY",
            "CONTROL_INPUT_JOYSTICK",
            "CONTROL_INPUT_MEDIA_RECORDING",
            "CONTROL_INPUT_MEDIA_PLAYBACK",
            "CONTROL_INPUT_TV",
            "CONTROL_POWER",
            "READ_APP_STATUS",
            "READ_CURRENT_CHANNEL",
            "READ_INPUT_DEVICE_LIST",
            "READ_NETWORK_STATE",
            "READ_RUNNING_APPS",
            "READ_TV_CHANNEL_LIST",
            "WRITE_NOTIFICATION_TOAST",
            "READ_POWER_STATE",
            "READ_COUNTRY_INFO"
            ],

Hier sollte man alle Premissions vom App definiert werden. Hier war ich damals verzweifelt, da ich bei vielen Befehlen Premissions-Error vom Fernseher bekommen habe.

Aber, da man jetzt Lautstärke und Programme einstellen kann, hoffe ich das ist jetzt auch vom Tisch.

Meine Wissensquellen waren:
  • lgtv2 - JavaScript modul
  • Connect-SDK-Andorid - Java Implementierung

P.S. Sorry so spät zu schreiben, aber ich habe gerade sehr viel an der Backe...
« Letzte Änderung: 12 Februar 2017, 11:05:01 von destogl »

Online CoolTux

  • Developer
  • Hero Member
  • ****
  • Beiträge: 24158
Hallo Leon,


Aber, da man jetzt Lautstärke und Programme einstellen kann, hoffe ich das ist jetzt auch vom Tisch.

Meine Wissensquellen waren:
  • lgtv2 - JavaScript modul
  • Connect-SDK-Andorid - Java Implementierung

P.S. Sorry so spät zu schreiben, aber ich habe gerade sehr viel an der Backe...

Leider kann man Lautstärke und Programme immer noch nicht direkt einstellen. Nur über Up und Down.
Danke Dir ganz soll, ich schaue es mir die Tage 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://paypal.me/pools/c/8gULisr9BT
FHEM GitHub: https://github.com/fhem/
Mein Dokuwiki:
https://tuxnetwiki-tuxnet.ddns.net

Offline the ratman

  • Hero Member
  • *****
  • Beiträge: 2277
  • cosmoprolet & intelligenzdiabetiker
nur zur kenntnisname. sonst kommt heute nix mehr im log2017.02.12 15:27:49 1: PERL WARNING: Use of uninitialized value $cmdList in concatenation (.) or string at ./FHEM/98_DOIF.pm line 2030.
2017.02.12 15:27:49 1: stacktrace:
2017.02.12 15:27:49 1:     main::__ANON__                      called by ./FHEM/98_DOIF.pm (2030)
2017.02.12 15:27:49 1:     main::DOIF_Set                      called by fhem.pl (3304)
2017.02.12 15:27:49 1:     main::CallFn                        called by fhem.pl (1640)
2017.02.12 15:27:49 1:     main::DoSet                         called by fhem.pl (1682)
2017.02.12 15:27:49 1:     main::CommandSet                    called by fhem.pl (2451)
2017.02.12 15:27:49 1:     main::getAllSets                    called by ./FHEM/01_FHEMWEB.pm (2891)
2017.02.12 15:27:49 1:     main::FW_devState                   called by ./FHEM/01_FHEMWEB.pm (1653)
2017.02.12 15:27:49 1:     main::FW_makeDeviceLine             called by ./FHEM/01_FHEMWEB.pm (1788)
2017.02.12 15:27:49 1:     main::FW_showRoom                   called by ./FHEM/01_FHEMWEB.pm (1023)
2017.02.12 15:27:49 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (523)
2017.02.12 15:27:49 1:     main::FW_Read                       called by fhem.pl (3304)
2017.02.12 15:27:49 1:     main::CallFn                        called by fhem.pl (674)
→do↑p!dnʇs↓shit←

Online CoolTux

  • Developer
  • Hero Member
  • ****
  • Beiträge: 24158
Ist kein Problem vom Modul. Ist wohl vom DOIF
« Letzte Änderung: 12 Februar 2017, 15:55:01 von 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://paypal.me/pools/c/8gULisr9BT
FHEM GitHub: https://github.com/fhem/
Mein Dokuwiki:
https://tuxnetwiki-tuxnet.ddns.net

Offline the ratman

  • Hero Member
  • *****
  • Beiträge: 2277
  • cosmoprolet & intelligenzdiabetiker
i bin blöd ... vergiss es und genieß den restsonntag
→do↑p!dnʇs↓shit←

Online CoolTux

  • Developer
  • Hero Member
  • ****
  • Beiträge: 24158
Version 0.0.58 liegt im Git vor. Es sind wieder Input Readings im Spiel und ausserdem ist Programminfo für den aktuellen Sender hinzugekommen.
Bitte testet vorsichtig und sichert Eure eventuell funktionierende Version weg.

ACHTET bitte auf eventuelles blockieren von FHEM. Eventuell haben einige Tester ja perfmon am laufen und können was sagen.
Ich werde auf jeden Fall noch das ganze erweitern da die Laufzeit doch Recht hoch ist.



Grüße
Leon
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://paypal.me/pools/c/8gULisr9BT
FHEM GitHub: https://github.com/fhem/
Mein Dokuwiki:
https://tuxnetwiki-tuxnet.ddns.net

Online CoolTux

  • Developer
  • Hero Member
  • ****
  • Beiträge: 24158
Version 0.0.60 liegt im Git. Habe Readings umbenannt, bitte löscht mal alle Readings

deletereading DEVICENAME .*


Aber bitte mit vorsicht.
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://paypal.me/pools/c/8gULisr9BT
FHEM GitHub: https://github.com/fhem/
Mein Dokuwiki:
https://tuxnetwiki-tuxnet.ddns.net

Offline ToM_ToM

  • Sr. Member
  • ****
  • Beiträge: 966
    • ThomasZFoto
Hey,

ich habe gerade die neue Version installiert, fhem neu gestartet, dann ein deletereadings durchgeführt. Anschließend musste ich neu pairen. Nachdem ich dann auch "connect" ausgeführt habe, ist fhem direkt abgeschmiert.

Auszug aus dem Log:

2017.02.14 15:30:27 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:30:27 1: stacktrace:
2017.02.14 15:30:27 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:30:27 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:30:27 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:30:27 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:30:27 1: stacktrace:
2017.02.14 15:30:27 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:30:27 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:30:27 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:30:43 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:30:43 1: stacktrace:
2017.02.14 15:30:43 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:30:43 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:30:43 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:30:43 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:30:43 1: stacktrace:
2017.02.14 15:30:43 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:30:43 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:30:43 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:00 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:00 1: stacktrace:
2017.02.14 15:31:00 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:00 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:00 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:00 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:00 1: stacktrace:
2017.02.14 15:31:00 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:00 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:00 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:01 3: SONOS0: Connection accepted from localhost:33148
2017.02.14 15:31:15 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:15 1: stacktrace:
2017.02.14 15:31:15 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:15 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:15 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:15 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:15 1: stacktrace:
2017.02.14 15:31:15 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:16 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:16 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:21 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:21 1: stacktrace:
2017.02.14 15:31:21 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:21 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (684)
2017.02.14 15:31:21 1:     main::LGTV_WebOS_Handshake          called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (528)
2017.02.14 15:31:21 1:     main::LGTV_WebOS_Open               called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (352)
2017.02.14 15:31:21 1:     main::LGTV_WebOS_Set                called by /opt/fhem/fhem.pl (3299)
2017.02.14 15:31:22 1:     main::CallFn                        called by /opt/fhem/fhem.pl (1650)
2017.02.14 15:31:22 1:     main::DoSet                         called by /opt/fhem/fhem.pl (1682)
2017.02.14 15:31:22 1:     main::CommandSet                    called by /opt/fhem/fhem.pl (1107)
2017.02.14 15:31:22 1:     main::AnalyzeCommand                called by /opt/fhem/FHEM/01_FHEMWEB.pm (2410)
2017.02.14 15:31:22 1:     main::FW_fC                         called by /opt/fhem/FHEM/01_FHEMWEB.pm (868)
2017.02.14 15:31:22 1:     main::FW_answerCall                 called by /opt/fhem/FHEM/01_FHEMWEB.pm (523)
2017.02.14 15:31:22 1:     main::FW_Read                       called by /opt/fhem/fhem.pl (3304)
2017.02.14 15:31:22 1:     main::CallFn                        called by /opt/fhem/fhem.pl (674)
2017.02.14 15:31:22 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:22 1: stacktrace:
2017.02.14 15:31:22 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:22 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (684)
2017.02.14 15:31:22 1:     main::LGTV_WebOS_Handshake          called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (528)
2017.02.14 15:31:22 1:     main::LGTV_WebOS_Open               called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (352)
2017.02.14 15:31:22 1:     main::LGTV_WebOS_Set                called by /opt/fhem/fhem.pl (3299)
2017.02.14 15:31:22 1:     main::CallFn                        called by /opt/fhem/fhem.pl (1650)
2017.02.14 15:31:22 1:     main::DoSet                         called by /opt/fhem/fhem.pl (1682)
2017.02.14 15:31:22 1:     main::CommandSet                    called by /opt/fhem/fhem.pl (1107)
2017.02.14 15:31:22 1:     main::AnalyzeCommand                called by /opt/fhem/FHEM/01_FHEMWEB.pm (2410)
2017.02.14 15:31:22 1:     main::FW_fC                         called by /opt/fhem/FHEM/01_FHEMWEB.pm (868)
2017.02.14 15:31:22 1:     main::FW_answerCall                 called by /opt/fhem/FHEM/01_FHEMWEB.pm (523)
2017.02.14 15:31:22 1:     main::FW_Read                       called by /opt/fhem/fhem.pl (3304)
2017.02.14 15:31:22 1:     main::CallFn                        called by /opt/fhem/fhem.pl (674)
2017.02.14 15:31:31 3: SONOS0: Connection accepted from localhost:33151
2017.02.14 15:31:37 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:37 1: stacktrace:
2017.02.14 15:31:37 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:37 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:37 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:37 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:37 1: stacktrace:
2017.02.14 15:31:37 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:37 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:37 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:52 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:52 1: stacktrace:
2017.02.14 15:31:52 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:52 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:52 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:53 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:53 1: stacktrace:
2017.02.14 15:31:53 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:53 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:53 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
garbage after JSON object, at character offset 115 (before "\x{81}~\x{0}\x{c2}\x{8f}...") at /opt/fhem/FHEM/82_LGTV_WebOS.pm line 746.

webOS: 3.3

VG, Thomas
Hardware: BananaPi, Busmaster CUL, SanDisk 16GB Ultra SD, 16 GB USB-Stick | Software: Armbian, FHEM 5.8

Online CoolTux

  • Developer
  • Hero Member
  • ****
  • Beiträge: 24158
Hey,

ich habe gerade die neue Version installiert, fhem neu gestartet, dann ein deletereadings durchgeführt. Anschließend musste ich neu pairen. Nachdem ich dann auch "connect" ausgeführt habe, ist fhem direkt abgeschmiert.

Auszug aus dem Log:

2017.02.14 15:30:27 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:30:27 1: stacktrace:
2017.02.14 15:30:27 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:30:27 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:30:27 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:30:27 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:30:27 1: stacktrace:
2017.02.14 15:30:27 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:30:27 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:30:27 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:30:43 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:30:43 1: stacktrace:
2017.02.14 15:30:43 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:30:43 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:30:43 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:30:43 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:30:43 1: stacktrace:
2017.02.14 15:30:43 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:30:43 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:30:43 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:00 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:00 1: stacktrace:
2017.02.14 15:31:00 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:00 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:00 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:00 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:00 1: stacktrace:
2017.02.14 15:31:00 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:00 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:00 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:01 3: SONOS0: Connection accepted from localhost:33148
2017.02.14 15:31:15 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:15 1: stacktrace:
2017.02.14 15:31:15 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:15 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:15 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:15 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:15 1: stacktrace:
2017.02.14 15:31:15 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:16 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:16 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:21 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:21 1: stacktrace:
2017.02.14 15:31:21 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:21 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (684)
2017.02.14 15:31:21 1:     main::LGTV_WebOS_Handshake          called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (528)
2017.02.14 15:31:21 1:     main::LGTV_WebOS_Open               called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (352)
2017.02.14 15:31:21 1:     main::LGTV_WebOS_Set                called by /opt/fhem/fhem.pl (3299)
2017.02.14 15:31:22 1:     main::CallFn                        called by /opt/fhem/fhem.pl (1650)
2017.02.14 15:31:22 1:     main::DoSet                         called by /opt/fhem/fhem.pl (1682)
2017.02.14 15:31:22 1:     main::CommandSet                    called by /opt/fhem/fhem.pl (1107)
2017.02.14 15:31:22 1:     main::AnalyzeCommand                called by /opt/fhem/FHEM/01_FHEMWEB.pm (2410)
2017.02.14 15:31:22 1:     main::FW_fC                         called by /opt/fhem/FHEM/01_FHEMWEB.pm (868)
2017.02.14 15:31:22 1:     main::FW_answerCall                 called by /opt/fhem/FHEM/01_FHEMWEB.pm (523)
2017.02.14 15:31:22 1:     main::FW_Read                       called by /opt/fhem/fhem.pl (3304)
2017.02.14 15:31:22 1:     main::CallFn                        called by /opt/fhem/fhem.pl (674)
2017.02.14 15:31:22 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:22 1: stacktrace:
2017.02.14 15:31:22 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:22 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (684)
2017.02.14 15:31:22 1:     main::LGTV_WebOS_Handshake          called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (528)
2017.02.14 15:31:22 1:     main::LGTV_WebOS_Open               called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (352)
2017.02.14 15:31:22 1:     main::LGTV_WebOS_Set                called by /opt/fhem/fhem.pl (3299)
2017.02.14 15:31:22 1:     main::CallFn                        called by /opt/fhem/fhem.pl (1650)
2017.02.14 15:31:22 1:     main::DoSet                         called by /opt/fhem/fhem.pl (1682)
2017.02.14 15:31:22 1:     main::CommandSet                    called by /opt/fhem/fhem.pl (1107)
2017.02.14 15:31:22 1:     main::AnalyzeCommand                called by /opt/fhem/FHEM/01_FHEMWEB.pm (2410)
2017.02.14 15:31:22 1:     main::FW_fC                         called by /opt/fhem/FHEM/01_FHEMWEB.pm (868)
2017.02.14 15:31:22 1:     main::FW_answerCall                 called by /opt/fhem/FHEM/01_FHEMWEB.pm (523)
2017.02.14 15:31:22 1:     main::FW_Read                       called by /opt/fhem/fhem.pl (3304)
2017.02.14 15:31:22 1:     main::CallFn                        called by /opt/fhem/fhem.pl (674)
2017.02.14 15:31:31 3: SONOS0: Connection accepted from localhost:33151
2017.02.14 15:31:37 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:37 1: stacktrace:
2017.02.14 15:31:37 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:37 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:37 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:37 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:37 1: stacktrace:
2017.02.14 15:31:37 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:37 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:37 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:52 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:52 1: stacktrace:
2017.02.14 15:31:52 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:52 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:52 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:53 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:53 1: stacktrace:
2017.02.14 15:31:53 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:53 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:53 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
garbage after JSON object, at character offset 115 (before "\x{81}~\x{0}\x{c2}\x{8f}...") at /opt/fhem/FHEM/82_LGTV_WebOS.pm line 746.

webOS: 3.3

VG, Thomas

Ok dann schaue ich es mir nachher an. Seltsam bei mir läuft es durch. Aber ich denke ich weiß wo ich ansetzen muss.

Danke
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://paypal.me/pools/c/8gULisr9BT
FHEM GitHub: https://github.com/fhem/
Mein Dokuwiki:
https://tuxnetwiki-tuxnet.ddns.net

Online CoolTux

  • Developer
  • Hero Member
  • ****
  • Beiträge: 24158
Hey,

ich habe gerade die neue Version installiert, fhem neu gestartet, dann ein deletereadings durchgeführt. Anschließend musste ich neu pairen. Nachdem ich dann auch "connect" ausgeführt habe, ist fhem direkt abgeschmiert.

Auszug aus dem Log:

2017.02.14 15:30:27 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:30:27 1: stacktrace:
2017.02.14 15:30:27 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:30:27 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:30:27 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:30:27 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:30:27 1: stacktrace:
2017.02.14 15:30:27 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:30:27 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:30:27 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:30:43 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:30:43 1: stacktrace:
2017.02.14 15:30:43 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:30:43 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:30:43 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:30:43 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:30:43 1: stacktrace:
2017.02.14 15:30:43 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:30:43 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:30:43 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:00 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:00 1: stacktrace:
2017.02.14 15:31:00 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:00 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:00 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:00 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:00 1: stacktrace:
2017.02.14 15:31:00 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:00 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:00 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:01 3: SONOS0: Connection accepted from localhost:33148
2017.02.14 15:31:15 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:15 1: stacktrace:
2017.02.14 15:31:15 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:15 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:15 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:15 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:15 1: stacktrace:
2017.02.14 15:31:15 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:16 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:16 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:21 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:21 1: stacktrace:
2017.02.14 15:31:21 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:21 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (684)
2017.02.14 15:31:21 1:     main::LGTV_WebOS_Handshake          called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (528)
2017.02.14 15:31:21 1:     main::LGTV_WebOS_Open               called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (352)
2017.02.14 15:31:21 1:     main::LGTV_WebOS_Set                called by /opt/fhem/fhem.pl (3299)
2017.02.14 15:31:22 1:     main::CallFn                        called by /opt/fhem/fhem.pl (1650)
2017.02.14 15:31:22 1:     main::DoSet                         called by /opt/fhem/fhem.pl (1682)
2017.02.14 15:31:22 1:     main::CommandSet                    called by /opt/fhem/fhem.pl (1107)
2017.02.14 15:31:22 1:     main::AnalyzeCommand                called by /opt/fhem/FHEM/01_FHEMWEB.pm (2410)
2017.02.14 15:31:22 1:     main::FW_fC                         called by /opt/fhem/FHEM/01_FHEMWEB.pm (868)
2017.02.14 15:31:22 1:     main::FW_answerCall                 called by /opt/fhem/FHEM/01_FHEMWEB.pm (523)
2017.02.14 15:31:22 1:     main::FW_Read                       called by /opt/fhem/fhem.pl (3304)
2017.02.14 15:31:22 1:     main::CallFn                        called by /opt/fhem/fhem.pl (674)
2017.02.14 15:31:22 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:22 1: stacktrace:
2017.02.14 15:31:22 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:22 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (684)
2017.02.14 15:31:22 1:     main::LGTV_WebOS_Handshake          called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (528)
2017.02.14 15:31:22 1:     main::LGTV_WebOS_Open               called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (352)
2017.02.14 15:31:22 1:     main::LGTV_WebOS_Set                called by /opt/fhem/fhem.pl (3299)
2017.02.14 15:31:22 1:     main::CallFn                        called by /opt/fhem/fhem.pl (1650)
2017.02.14 15:31:22 1:     main::DoSet                         called by /opt/fhem/fhem.pl (1682)
2017.02.14 15:31:22 1:     main::CommandSet                    called by /opt/fhem/fhem.pl (1107)
2017.02.14 15:31:22 1:     main::AnalyzeCommand                called by /opt/fhem/FHEM/01_FHEMWEB.pm (2410)
2017.02.14 15:31:22 1:     main::FW_fC                         called by /opt/fhem/FHEM/01_FHEMWEB.pm (868)
2017.02.14 15:31:22 1:     main::FW_answerCall                 called by /opt/fhem/FHEM/01_FHEMWEB.pm (523)
2017.02.14 15:31:22 1:     main::FW_Read                       called by /opt/fhem/fhem.pl (3304)
2017.02.14 15:31:22 1:     main::CallFn                        called by /opt/fhem/fhem.pl (674)
2017.02.14 15:31:31 3: SONOS0: Connection accepted from localhost:33151
2017.02.14 15:31:37 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:37 1: stacktrace:
2017.02.14 15:31:37 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:37 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:37 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:37 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:37 1: stacktrace:
2017.02.14 15:31:37 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:37 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:37 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:52 1: readingsUpdate(LG55UH950V,state,on) missed to call readingsBeginUpdate first.
2017.02.14 15:31:52 1: stacktrace:
2017.02.14 15:31:52 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (312)
2017.02.14 15:31:52 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:52 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
2017.02.14 15:31:53 1: readingsUpdate(LG55UH950V,presence,present) missed to call readingsBeginUpdate first.
2017.02.14 15:31:53 1: stacktrace:
2017.02.14 15:31:53 1:     main::readingsBulkUpdate            called by /opt/fhem/FHEM/82_LGTV_WebOS.pm (313)
2017.02.14 15:31:53 1:     main::LGTV_WebOS_TimerStatusRequest called by /opt/fhem/fhem.pl (2902)
2017.02.14 15:31:53 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (606)
garbage after JSON object, at character offset 115 (before "\x{81}~\x{0}\x{c2}\x{8f}...") at /opt/fhem/FHEM/82_LGTV_WebOS.pm line 746.

webOS: 3.3

VG, Thomas



Hallo Thomas,

Magst Du mal bitte die neue Version 0.0.61 testen. Hoffe es klappt nun.


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://paypal.me/pools/c/8gULisr9BT
FHEM GitHub: https://github.com/fhem/
Mein Dokuwiki:
https://tuxnetwiki-tuxnet.ddns.net

 

decade-submarginal