Ankündigung

Einklappen
Keine Ankündigung bisher.

LBS 19000309 - LG TV webOS

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    LBS 19000309 - LG TV webOS

    Zur Migration vom HS zu EDOMI habe ich die Anzeige von kurzen Hinweistexten auf LG-TV mit webOS benötigt.

    Auf Grundlage der Vorarbeit von jonofe (vielen Dank für die Unterstützung) ist die erste Version des LBS 19000309 entstanden, der drei einfache Funktionen bietet:
    - Anzeige von Texten/Hinweisen/Messages auf dem TV-Gerät
    - Ändern der Lautstärke
    - Gerät ausschalten

    Dieser LBS ist "nur" eine 0.x-Version. Soll heißen, dass André - wie bereits angekündigt - noch weiterentwickeln wird (dann unter Version 1.x).
    Wir haben uns darauf geeinigt, dass dieser LBS gleich die passende ID bekommt und deshalb in Andrés Nummernkreis hochgeladen wurde.
    Ich werde (soweit es meine beschränkten php-Kentnisse zulassen) Fragen/Hinweise zur Version 0.x bearbeiten.

    So, jetzt aber erst einmal ein paar schöne Weihnachtsfeiertage ...
    ... und vielleicht gibt es ja irgendwo einen neuen LG-TV mit webOS. Dann könnt ihr gleich probieren und berichten - freue mich auf Rückmeldung.

    Gruß Marco

    #2
    Hi,

    ich bin dabei. Hab einen LG mit webOS und auch schonmal das script von Andre am laufen gehabt.

    Werde ich heute abend oder spätestens morgen früh testen.

    Danke

    Gruß Benjamin

    Kommentar


      #3
      Baustein läuft bei mir vom feinsten. Hab die Eingänge jetzt nur mal schnell über LiveView getriggert aber funktioniert super.

      Gruß Benjamin

      Kommentar


        #4
        ... schön dass es läuft.
        Dann ist ja die inc von Andre robust und meinen Installationsanleitung verständlich

        Gruß Marco

        Kommentar


          #5
          Anleitung von dir habe ich nichts genutzt, ich hatte das script ja schonmal laufen und die Dateien auch noch bei mir auf dem Server liegen.
          Hab mir eben mal angeschaut die Anleitung. Sieht so ganz gut aus und ist verständlich.

          Jedoch vielleicht zwei Punkte ein wenig anpassen ändern:

          1. die Anpassung der IP in test_lg_webos.php eventuell vor dem hochladen durchführen. (Ist für viele Nutzer einfacher als mit nano)
          2. In der Anleitung erwähnen, dass man nach dem aufrufen von test_lg_webos.php dies auf dem TV mit zulassen bestätigen muss.


          Sonst finde ich es klar und verständlich.

          Message senden ist einfach klasse

          Gruß

          Kommentar


            #6
            Die neue Version 0.5 des LG webOS LBS ist ab sofort im Downloadportal verfügbar und unterstützt folgenden Funktionen:
            • Power on/off
            • Set volume 0-100
            • Volume up/down
            • Mute / unmute
            • Select input
            • Select channel
            • Channel up/down
            • Show notification message
            • Start browser with URL
            • Media play/stop/pause/rew/ffwd
            • 3D mode on/off
            • Start/Close app
            • Play youtube video by ID/URL (does not work yet. Currently it starts only the youtube app)
            • Status updates of following information
              • Power
              • Volume
              • Mute
              • Channel number/name/type
              • Input
              • RAW JSON list of channels, inputs, apps, services, SW info

            Viel Spass damit ...

            Kommentar


              #7
              Hallo Andre,
              vielen Dank für deinen LG-WebOS-Baustein, dass ist genau das, was ich für meine Fernsehsteuerung benötige.
              Aber leider funktioniert die aktuelle Version bei mit nicht, wohingegen deine vorherige Version mit dem externen PHP-Skript ohne Probleme den Fernseher steuerte.

              Im Log steht nur folgendes, nach dem der Fernseher eingeschaltet wurde:
              Code:
               
              2018-08-19 09:48:02 744874 28175 debug LBS19000309 [v0.5.2]: LG WebOS LBS started (2567)
              2018-08-19 09:48:02 747073 28175 debug LBS19000309 [v0.5.2]: Stopping LG WebOS daemon... (2567)
              2018-08-19 09:48:02 789365 28175 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
              2018-08-19 09:48:02 897635 28175 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
              2018-08-19 09:48:02 899782 28175 debug LBS19000309 [v0.5.2]: LG WebOS LBS ended (2567)
              2018-08-19 09:48:45 985645 28175 debug LBS19000309 [v0.5.2]: LG WebOS LBS started (2567)
              2018-08-19 09:48:46 033045 28175 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
              2018-08-19 09:48:46 080876 28175 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
              2018-08-19 09:48:46 082928 28175 debug LBS19000309 [v0.5.2]: Starting daemon ... (2567)
              2018-08-19 09:48:46 164709 28175 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
              2018-08-19 09:48:46 166651 28175 debug LBS19000309 [v0.5.2]: LG WebOS LBS ended (2567)
              2018-08-19 09:48:46 175707 28175 debug LBS19000309 [v0.5.2]: LG WebOS LBS started (2567)
              2018-08-19 09:48:46 218570 28175 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
              2018-08-19 09:48:46 220593 28175 debug LBS19000309 [v0.5.2]: LG WebOS LBS ended (2567)
              und meine Logik zeigt der Screenshot.

              Hast du eine Idee wo bei mir der Fehler liegen könnte?

              LG Logik.png

              Kommentar


                #8
                Nachtrag, nach einer Projektaktivierung von EDOMI tut sich kurzzeitig etwas:
                Code:
                 
                2018-08-19 10:11:54 355901 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS started (2567)
                2018-08-19 10:11:54 402544 3585 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
                2018-08-19 10:11:54 449315 3585 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
                2018-08-19 10:11:54 450933 3585 debug LBS19000309 [v0.5.2]: Starting daemon ... (2567)
                2018-08-19 10:11:54 540345 3585 debug LBS19000309 [v0.5.2]: Daemon is running with PID: 4285 (2567)
                2018-08-19 10:11:54 542896 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS ended (2567)
                2018-08-19 10:11:54 558052 4285 debug EXE19000309 [v0.5.2]: Starting LG WebOS daemon... (2567)
                2018-08-19 10:11:54 578651 4285 debug EXE19000309 [v0.5.2]: Sending WS handshake: GET / HTTP/1.1[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Version: 13[CR][LF]Sec-WebSocket-Key: SlFmT0lmL1QpcHppRVI3MA==[CR][LF]Host: 192.168.0.24:3000[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:54 845830 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: HTTP/1.1 101 Switching Protocols[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Accept: qinyjovgbLVAcwFs5e8e9YOojaI=[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:54 849719 4285 debug EXE19000309 [v0.5.2]: WS Handshake Response: HTTP/1.1 101 Switching Protocols[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Accept: qinyjovgbLVAcwFs5e8e9YOojaI=[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:54 852400 4285 debug EXE19000309 [v0.5.2]: Sucessfull WS connection to 192.168.0.24:3000 (2567)
                2018-08-19 10:11:54 855144 4285 debug EXE19000309 [v0.5.2]: Sending LG handshake[LF]{"type":"register","id":"register_0","payload":{"forcePairing":false,"pairingType":"PROMPT","client-key":"b8c642565fe4da47449d5fa571c2cf5b","manifest":{"manifestVersion":1,"appVersion":"1.1","signed":{"created":"20140509","appId":"com.lge.test","vendorId":"com.lge","localizedAppNames":{"":"LG Remote App","ko-KR":"??? ?","zxx-XX":"?? R??ot? A??"},"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"],"signatures":[{"signatureVersion":1,"signature":"eyJhbGdvcml0aG0iOiJSU0EtU0hBMjU2Iiwia2V5SWQiOiJ0ZXN0LXNpZ25pbmctY2VydCIsInNpZ25hdHVyZVZlcnNpb24iOjF9.hrVRgjCwXVvE2OOSpDZ58hR+59aFNwYDyjQgKk3auukd7pcegmE2CzPCa0bJ0ZsRAcKkCTJrWo5iDzNhMBWRyaMOv5zWSrthlf7G128qvIlpMT0YNY+n/FaOHE73uLrS/g7swl3/qH/BGFG2Hu4RlL48eb3lLKqTt2xKHdCs6Cd4RMfJPYnzgvI4BNrFUKsjkcu+WD4OO2A27Pq1n50cMchmcaXadJhGrOqH5YmHdOCj5NSHzJYrsW0HPlpuAx/ECMeIZYDh6RMqaFM2DXzdKX9NmmyqzJ3o/0lkk/N97gfVRLW5hA29yeAwaCViZNCP8iC9aO0q9fQojoa7NQnAtw=="}]}}} (2567)
                2018-08-19 10:11:55 124560 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: �c{"type":"registered","id":"register_0","payload":{"client-key":"b8c642565fe4da47449d5fa571c2cf5b"}} (2567)
                2018-08-19 10:11:55 135210 4285 debug EXE19000309 [v0.5.2]: LG Login Response (2567)
                2018-08-19 10:11:55 135468 4285 debug EXE19000309 [v0.5.2]: ================ ARRAY/OBJECT START ================
                2018-08-19 10:11:55 135658 4285 debug EXE19000309 [v0.5.2]: "{\"type\":\"registered\",\"id\":\"register_0\",\"payload\":{\"client-key\":\"b8c642565fe4da47449d5fa571c2cf5b\"}}"
                2018-08-19 10:11:55 135835 4285 debug EXE19000309 [v0.5.2]: ================ ARRAY/OBJECT END ================
                2018-08-19 10:11:55 138453 4285 debug EXE19000309 [v0.5.2]: LG Client-Key successfully confirmed => LOGIN sucessfull (2567)
                2018-08-19 10:11:55 149108 4285 debug EXE19000309 [v0.5.2]: Sending command :{"id":"get_volume","type":"request","uri":"ssap://audio/getVolume"} (2567)
                2018-08-19 10:11:55 416197 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: �~�{"type":"response","id":"get_volume","payload":{"returnValue":true,"scenario":"mastervolume_tv_speaker","volume":0,"muted":false}} (2567)
                2018-08-19 10:11:55 423015 4285 debug EXE19000309 [v0.5.2]: Command response : {"type":"response","id":"get_volume","payload":{"returnValue":true,"scenario":"mastervolume_tv_speaker","volume":0,"muted":false}} (2567)
                2018-08-19 10:11:55 435204 4285 debug EXE19000309 [v0.5.2]: Sending WS handshake: GET / HTTP/1.1[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Version: 13[CR][LF]Sec-WebSocket-Key: SlFmT0lmL1QpcHppRVI3MA==[CR][LF]Host: 192.168.0.24:3000[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:55 704080 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: HTTP/1.1 101 Switching Protocols[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Accept: qinyjovgbLVAcwFs5e8e9YOojaI=[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:55 710311 4285 debug EXE19000309 [v0.5.2]: WS Handshake Response: HTTP/1.1 101 Switching Protocols[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Accept: qinyjovgbLVAcwFs5e8e9YOojaI=[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:55 713129 4285 debug EXE19000309 [v0.5.2]: Sucessfull WS connection to 192.168.0.24:3000 (2567)
                2018-08-19 10:11:55 721034 4285 debug EXE19000309 [v0.5.2]: Sending LG handshake[LF]{"type":"register","id":"register_0","payload":{"forcePairing":false,"pairingType":"PROMPT","client-key":"b8c642565fe4da47449d5fa571c2cf5b","manifest":{"manifestVersion":1,"appVersion":"1.1","signed":{"created":"20140509","appId":"com.lge.test","vendorId":"com.lge","localizedAppNames":{"":"LG Remote App","ko-KR":"??? ?","zxx-XX":"?? R??ot? A??"},"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"],"signatures":[{"signatureVersion":1,"signature":"eyJhbGdvcml0aG0iOiJSU0EtU0hBMjU2Iiwia2V5SWQiOiJ0ZXN0LXNpZ25pbmctY2VydCIsInNpZ25hdHVyZVZlcnNpb24iOjF9.hrVRgjCwXVvE2OOSpDZ58hR+59aFNwYDyjQgKk3auukd7pcegmE2CzPCa0bJ0ZsRAcKkCTJrWo5iDzNhMBWRyaMOv5zWSrthlf7G128qvIlpMT0YNY+n/FaOHE73uLrS/g7swl3/qH/BGFG2Hu4RlL48eb3lLKqTt2xKHdCs6Cd4RMfJPYnzgvI4BNrFUKsjkcu+WD4OO2A27Pq1n50cMchmcaXadJhGrOqH5YmHdOCj5NSHzJYrsW0HPlpuAx/ECMeIZYDh6RMqaFM2DXzdKX9NmmyqzJ3o/0lkk/N97gfVRLW5hA29yeAwaCViZNCP8iC9aO0q9fQojoa7NQnAtw=="}]}}} (2567)
                2018-08-19 10:11:55 989937 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: �c{"type":"registered","id":"register_0","payload":{"client-key":"b8c642565fe4da47449d5fa571c2cf5b"}} (2567)
                2018-08-19 10:11:55 993968 4285 debug EXE19000309 [v0.5.2]: LG Login Response (2567)
                2018-08-19 10:11:55 994196 4285 debug EXE19000309 [v0.5.2]: ================ ARRAY/OBJECT START ================
                2018-08-19 10:11:55 994344 4285 debug EXE19000309 [v0.5.2]: "{\"type\":\"registered\",\"id\":\"register_0\",\"payload\":{\"client-key\":\"b8c642565fe4da47449d5fa571c2cf5b\"}}"
                2018-08-19 10:11:55 994504 4285 debug EXE19000309 [v0.5.2]: ================ ARRAY/OBJECT END ================
                2018-08-19 10:11:55 997155 4285 debug EXE19000309 [v0.5.2]: LG Client-Key successfully confirmed => LOGIN sucessfull (2567)
                2018-08-19 10:11:56 007204 4285 debug EXE19000309 [v0.5.2]: Sending command :{"id":"get_channel","type":"request","uri":"ssap://tv/getCurrentChannel"} (2567)
                2018-08-19 10:11:56 277309 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: (2567)
                2018-08-19 10:11:56 279356 4285 debug EXE19000309 [v0.5.2]: Error sending command: {"id":"get_channel","type":"request","uri":"ssap://tv/getCurrentChannel"} (2567)
                2018-08-19 10:11:56 292568 4285 debug EXE19000309 [v0.5.2]: Sending WS handshake: GET / HTTP/1.1[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Version: 13[CR][LF]Sec-WebSocket-Key: SlFmT0lmL1QpcHppRVI3MA==[CR][LF]Host: 192.168.0.24:3000[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:56 560482 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: (2567)
                2018-08-19 10:11:56 569165 4285 debug EXE19000309 [v0.5.2]: ERROR during WS handshake! (2567)
                2018-08-19 10:11:56 572390 4285 debug EXE19000309 [v0.5.2]: Connection closed to 192.168.0.24 (2567)
                2018-08-19 10:11:56 577225 4285 debug EXE19000309 [v0.5.2]: Sending WS handshake: GET / HTTP/1.1[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Version: 13[CR][LF]Sec-WebSocket-Key: SlFmT0lmL1QpcHppRVI3MA==[CR][LF]Host: 192.168.0.24:3000[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:56 844780 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: HTTP/1.1 101 Switching Protocols[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Accept: qinyjovgbLVAcwFs5e8e9YOojaI=[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:56 849199 4285 debug EXE19000309 [v0.5.2]: WS Handshake Response: HTTP/1.1 101 Switching Protocols[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Accept: qinyjovgbLVAcwFs5e8e9YOojaI=[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:56 851844 4285 debug EXE19000309 [v0.5.2]: Sucessfull WS connection to 192.168.0.24:3000 (2567)
                2018-08-19 10:11:56 854501 4285 debug EXE19000309 [v0.5.2]: Sending LG handshake[LF]{"type":"register","id":"register_0","payload":{"forcePairing":false,"pairingType":"PROMPT","client-key":"b8c642565fe4da47449d5fa571c2cf5b","manifest":{"manifestVersion":1,"appVersion":"1.1","signed":{"created":"20140509","appId":"com.lge.test","vendorId":"com.lge","localizedAppNames":{"":"LG Remote App","ko-KR":"??? ?","zxx-XX":"?? R??ot? A??"},"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"],"signatures":[{"signatureVersion":1,"signature":"eyJhbGdvcml0aG0iOiJSU0EtU0hBMjU2Iiwia2V5SWQiOiJ0ZXN0LXNpZ25pbmctY2VydCIsInNpZ25hdHVyZVZlcnNpb24iOjF9.hrVRgjCwXVvE2OOSpDZ58hR+59aFNwYDyjQgKk3auukd7pcegmE2CzPCa0bJ0ZsRAcKkCTJrWo5iDzNhMBWRyaMOv5zWSrthlf7G128qvIlpMT0YNY+n/FaOHE73uLrS/g7swl3/qH/BGFG2Hu4RlL48eb3lLKqTt2xKHdCs6Cd4RMfJPYnzgvI4BNrFUKsjkcu+WD4OO2A27Pq1n50cMchmcaXadJhGrOqH5YmHdOCj5NSHzJYrsW0HPlpuAx/ECMeIZYDh6RMqaFM2DXzdKX9NmmyqzJ3o/0lkk/N97gfVRLW5hA29yeAwaCViZNCP8iC9aO0q9fQojoa7NQnAtw=="}]}}} (2567)
                2018-08-19 10:11:57 124931 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: �c{"type":"registered","id":"register_0","payload":{"client-key":"b8c642565fe4da47449d5fa571c2cf5b"}} (2567)
                2018-08-19 10:11:57 136739 4285 debug EXE19000309 [v0.5.2]: LG Login Response (2567)
                2018-08-19 10:11:57 137017 4285 debug EXE19000309 [v0.5.2]: ================ ARRAY/OBJECT START ================
                2018-08-19 10:11:57 137166 4285 debug EXE19000309 [v0.5.2]: "{\"type\":\"registered\",\"id\":\"register_0\",\"payload\":{\"client-key\":\"b8c642565fe4da47449d5fa571c2cf5b\"}}"
                2018-08-19 10:11:57 137301 4285 debug EXE19000309 [v0.5.2]: ================ ARRAY/OBJECT END ================
                2018-08-19 10:11:57 139600 4285 debug EXE19000309 [v0.5.2]: LG Client-Key successfully confirmed => LOGIN sucessfull (2567)
                2018-08-19 10:11:57 149118 4285 debug EXE19000309 [v0.5.2]: Sending command :{"id":"get_chanel_list","type":"request","uri":"ssap://tv/getChannelList"} (2567)
                2018-08-19 10:11:57 411993 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: �d{"type":"error","id":"get_chanel_list","error":"1010 tuner channel map does not exist","payload":{}} (2567)
                2018-08-19 10:11:57 416325 4285 debug EXE19000309 [v0.5.2]: Command response : {"type":"error","id":"get_chanel_list","error":"1010 tuner channel map does not exist","payload":{}} (2567)
                2018-08-19 10:11:57 421802 4285 debug EXE19000309 [v0.5.2]: Sending WS handshake: GET / HTTP/1.1[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Version: 13[CR][LF]Sec-WebSocket-Key: SlFmT0lmL1QpcHppRVI3MA==[CR][LF]Host: 192.168.0.24:3000[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:57 691102 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: HTTP/1.1 101 Switching Protocols[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Accept: qinyjovgbLVAcwFs5e8e9YOojaI=[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:57 696135 4285 debug EXE19000309 [v0.5.2]: WS Handshake Response: HTTP/1.1 101 Switching Protocols[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Accept: qinyjovgbLVAcwFs5e8e9YOojaI=[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:57 697854 4285 debug EXE19000309 [v0.5.2]: Sucessfull WS connection to 192.168.0.24:3000 (2567)
                2018-08-19 10:11:57 705938 4285 debug EXE19000309 [v0.5.2]: Sending LG handshake[LF]{"type":"register","id":"register_0","payload":{"forcePairing":false,"pairingType":"PROMPT","client-key":"b8c642565fe4da47449d5fa571c2cf5b","manifest":{"manifestVersion":1,"appVersion":"1.1","signed":{"created":"20140509","appId":"com.lge.test","vendorId":"com.lge","localizedAppNames":{"":"LG Remote App","ko-KR":"??? ?","zxx-XX":"?? R??ot? A??"},"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"],"signatures":[{"signatureVersion":1,"signature":"eyJhbGdvcml0aG0iOiJSU0EtU0hBMjU2Iiwia2V5SWQiOiJ0ZXN0LXNpZ25pbmctY2VydCIsInNpZ25hdHVyZVZlcnNpb24iOjF9.hrVRgjCwXVvE2OOSpDZ58hR+59aFNwYDyjQgKk3auukd7pcegmE2CzPCa0bJ0ZsRAcKkCTJrWo5iDzNhMBWRyaMOv5zWSrthlf7G128qvIlpMT0YNY+n/FaOHE73uLrS/g7swl3/qH/BGFG2Hu4RlL48eb3lLKqTt2xKHdCs6Cd4RMfJPYnzgvI4BNrFUKsjkcu+WD4OO2A27Pq1n50cMchmcaXadJhGrOqH5YmHdOCj5NSHzJYrsW0HPlpuAx/ECMeIZYDh6RMqaFM2DXzdKX9NmmyqzJ3o/0lkk/N97gfVRLW5hA29yeAwaCViZNCP8iC9aO0q9fQojoa7NQnAtw=="}]}}} (2567)
                2018-08-19 10:11:57 975337 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: �c{"type":"registered","id":"register_0","payload":{"client-key":"b8c642565fe4da47449d5fa571c2cf5b"}} (2567)
                2018-08-19 10:11:57 984139 4285 debug EXE19000309 [v0.5.2]: LG Login Response (2567)
                2018-08-19 10:11:57 984394 4285 debug EXE19000309 [v0.5.2]: ================ ARRAY/OBJECT START ================
                2018-08-19 10:11:57 984602 4285 debug EXE19000309 [v0.5.2]: "{\"type\":\"registered\",\"id\":\"register_0\",\"payload\":{\"client-key\":\"b8c642565fe4da47449d5fa571c2cf5b\"}}"
                2018-08-19 10:11:57 984745 4285 debug EXE19000309 [v0.5.2]: ================ ARRAY/OBJECT END ================
                2018-08-19 10:11:57 987539 4285 debug EXE19000309 [v0.5.2]: LG Client-Key successfully confirmed => LOGIN sucessfull (2567)
                2018-08-19 10:11:57 996150 4285 debug EXE19000309 [v0.5.2]: Sending command :{"id":"get_input_list","type":"request","uri":"ssap://tv/getExternalInputList"} (2567)
                2018-08-19 10:11:58 263570 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: �~({"type":"response","id":"get_input_list","payload":{"returnValue":true,"devices":[{"id":"AV_1","label":"AV","port":1,"appId":"com.webos.app.externalinput.av1","icon":"http://192.168.0.24:3000/resources/8b297b72c70cecbaad6c9ef7d6a33a8425235f25/av.png","modified":false,"subList":[],"subCount":0,"connected":false,"favorite":false},{"id":"COMP_1","label":"Komponente","port":1,"appId":"com.webos.app.externalinput.component","icon":"http://192.168.0.24:3000/resources/7d643feb491b3a15a290dc822acfbe62014b1682/component.png","modified":false,"subList":[],"subCount":0,"connected":false,"favorite":false},{"id":"HDMI_1","label":"NVidia Shield TV","port":1,"appId":"com.webos.app.hdmi1","icon":"http://192.168.0.24:3000/resources/a8fc93e9e05c6bdfe0136bdcc975d3c0482b065c/streamingbox.png","modified":true,"subList":[],"subCount":0,"connected":true,"favorite":true},{"id":"HDMI_2","label":"Heimkinosystem","port":2,"appId":"com.webos.app.hdmi2","icon":"http://192.168.0.24:3000/resources/dfc1fe47d654dba2f7b52027c526a486130029ae/hometheater.png","modified":true,"subList":[{"id":"URCU","serviceType":"hts","connectedInput":"HDMI_2","serviceName":"","serviceId":"","serviceArea":"","manufacturerName":"Marantz","manufacturerId":"30000028","settopCode":"","settopOption":"","irType":"A"}],"subCount":1,"connected":true,"favorite":true},{"id":"HDMI_3","label":"HDMI-3","port":3,"appId":"com.webos.app.hdmi3","icon":"http://192.168.0.24:3000/resources/b78b05e1b093a0566321530c014a51e59f96c197/HDMI_3.png","modified":false,"subList":[],"subCount":0,"connected":false,"favorite":false}]}} (2567)
                2018-08-19 10:11:58 268089 4285 debug EXE19000309 [v0.5.2]: Command response : {"type":"response","id":"get_input_list","payload":{"returnValue":true,"devices":[{"id":"AV_1","label":"AV","port":1,"appId":"com.webos.app.externalinput.av1","icon":"http://192.168.0.24:3000/resources/8b297b72c70cecbaad6c9ef7d6a33a8425235f25/av.png","modified":false,"subList":[],"subCount":0,"connected":false,"favorite":false},{"id":"COMP_1","label":"Komponente","port":1,"appId":"com.webos.app.externalinput.component","icon":"http://192.168.0.24:3000/resources/7d643feb491b3a15a290dc822acfbe62014b1682/component.png","modified":false,"subList":[],"subCount":0,"connected":false,"favorite":false},{"id":"HDMI_1","label":"NVidia Shield TV","port":1,"appId":"com.webos.app.hdmi1","icon":"http://192.168.0.24:3000/resources/a8fc93e9e05c6bdfe0136bdcc975d3c0482b065c/streamingbox.png","modified":true,"subList":[],"subCount":0,"connected":true,"favorite":true},{"id":"HDMI_2","label":"Heimkinosystem","port":2,"appId":"com.webos.app.hdmi2","icon":"http://192.168.0.24:3000/resources/dfc1fe47d654dba2f7b52027c526a486130029ae/hometheater.png","modified":true,"subList":[{"id":"URCU","serviceType":"hts","connectedInput":"HDMI_2","serviceName":"","serviceId":"","serviceArea":"","manufacturerName":"Marantz","manufacturerId":"30000028","settopCode":"","settopOption":"","irType":"A"}],"subCount":1,"connected":true,"favorite":true},{"id":"HDMI_3","label":"HDMI-3","port":3,"appId":"com.webos.app.hdmi3","icon":"http://192.168.0.24:3000/resources/b78b05e1b093a0566321530c014a51e59f96c197/HDMI_3.png","modified":false,"subList":[],"subCount":0,"connected":false,"favorite":false}]}} (2567)
                2018-08-19 10:11:58 273016 4285 debug EXE19000309 [v0.5.2]: Sending WS handshake: GET / HTTP/1.1[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Version: 13[CR][LF]Sec-WebSocket-Key: SlFmT0lmL1QpcHppRVI3MA==[CR][LF]Host: 192.168.0.24:3000[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:58 541464 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: HTTP/1.1 101 Switching Protocols[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Accept: qinyjovgbLVAcwFs5e8e9YOojaI=[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:58 556814 4285 debug EXE19000309 [v0.5.2]: WS Handshake Response: HTTP/1.1 101 Switching Protocols[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Accept: qinyjovgbLVAcwFs5e8e9YOojaI=[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:58 564985 4285 debug EXE19000309 [v0.5.2]: Sucessfull WS connection to 192.168.0.24:3000 (2567)
                2018-08-19 10:11:58 598607 4285 debug EXE19000309 [v0.5.2]: Sending LG handshake[LF]{"type":"register","id":"register_0","payload":{"forcePairing":false,"pairingType":"PROMPT","client-key":"b8c642565fe4da47449d5fa571c2cf5b","manifest":{"manifestVersion":1,"appVersion":"1.1","signed":{"created":"20140509","appId":"com.lge.test","vendorId":"com.lge","localizedAppNames":{"":"LG Remote App","ko-KR":"??? ?","zxx-XX":"?? R??ot? A??"},"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"],"signatures":[{"signatureVersion":1,"signature":"eyJhbGdvcml0aG0iOiJSU0EtU0hBMjU2Iiwia2V5SWQiOiJ0ZXN0LXNpZ25pbmctY2VydCIsInNpZ25hdHVyZVZlcnNpb24iOjF9.hrVRgjCwXVvE2OOSpDZ58hR+59aFNwYDyjQgKk3auukd7pcegmE2CzPCa0bJ0ZsRAcKkCTJrWo5iDzNhMBWRyaMOv5zWSrthlf7G128qvIlpMT0YNY+n/FaOHE73uLrS/g7swl3/qH/BGFG2Hu4RlL48eb3lLKqTt2xKHdCs6Cd4RMfJPYnzgvI4BNrFUKsjkcu+WD4OO2A27Pq1n50cMchmcaXadJhGrOqH5YmHdOCj5NSHzJYrsW0HPlpuAx/ECMeIZYDh6RMqaFM2DXzdKX9NmmyqzJ3o/0lkk/N97gfVRLW5hA29yeAwaCViZNCP8iC9aO0q9fQojoa7NQnAtw=="}]}}} (2567)
                2018-08-19 10:11:58 870928 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: �c{"type":"registered","id":"register_0","payload":{"client-key":"b8c642565fe4da47449d5fa571c2cf5b"}} (2567)
                2018-08-19 10:11:58 884402 4285 debug EXE19000309 [v0.5.2]: LG Login Response (2567)
                2018-08-19 10:11:58 884687 4285 debug EXE19000309 [v0.5.2]: ================ ARRAY/OBJECT START ================
                2018-08-19 10:11:58 884846 4285 debug EXE19000309 [v0.5.2]: "{\"type\":\"registered\",\"id\":\"register_0\",\"payload\":{\"client-key\":\"b8c642565fe4da47449d5fa571c2cf5b\"}}"
                2018-08-19 10:11:58 884984 4285 debug EXE19000309 [v0.5.2]: ================ ARRAY/OBJECT END ================
                2018-08-19 10:11:58 887475 4285 debug EXE19000309 [v0.5.2]: LG Client-Key successfully confirmed => LOGIN sucessfull (2567)
                2018-08-19 10:11:58 902677 4285 debug EXE19000309 [v0.5.2]: Sending command :{"id":"get_app_list","type":"request","uri":"ssap://com.webos.applicationManager/listLaunchPoints"} (2567)
                2018-08-19 10:11:59 169939 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: �X{"type":"error","id":"get_app_list","error":"401 insufficient permissions","payload":{}} (2567)
                2018-08-19 10:11:59 173976 4285 debug EXE19000309 [v0.5.2]: Command response : {"type":"error","id":"get_app_list","error":"401 insufficient permissions","payload":{}} (2567)
                2018-08-19 10:11:59 179721 4285 debug EXE19000309 [v0.5.2]: Sending WS handshake: GET / HTTP/1.1[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Version: 13[CR][LF]Sec-WebSocket-Key: SlFmT0lmL1QpcHppRVI3MA==[CR][LF]Host: 192.168.0.24:3000[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:59 449956 4285 debug EXE19000309 [v0.5.2]: send() - RAW Response received: HTTP/1.1 101 Switching Protocols[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Accept: qinyjovgbLVAcwFs5e8e9YOojaI=[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:59 454127 4285 debug EXE19000309 [v0.5.2]: WS Handshake Response: HTTP/1.1 101 Switching Protocols[CR][LF]Upgrade: websocket[CR][LF]Connection: Upgrade[CR][LF]Sec-WebSocket-Accept: qinyjovgbLVAcwFs5e8e9YOojaI=[CR][LF][CR][LF] (2567)
                2018-08-19 10:11:59 455965 4285 debug EXE19000309 [v0.5.2]: Sucessfull WS connection to 192.168.0.24:3000 (2567)
                2018-08-19 10:11:59 457762 4285 debug EXE19000309 [v0.5.2]: Sending LG handshake[LF]{"type":"register","id":"register_0","payload":{"forcePairing":false,"pairingType":"PROMPT","client-key":"b8c642565fe4da47449d5fa571c2cf5b","manifest":{"manifestVersion":1,"appVersion":"1.1","signed":{"created":"20140509","appId":"com.lge.test","vendorId":"com.lge","localizedAppNames":{"":"LG Remote App","ko-KR":"??? ?","zxx-XX":"?? R??ot? A??"},"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"],"signatures":[{"signatureVersion":1,"signature":"eyJhbGdvcml0aG0iOiJSU0EtU0hBMjU2Iiwia2V5SWQiOiJ0ZXN0LXNpZ25pbmctY2VydCIsInNpZ25hdHVyZVZlcnNpb24iOjF9.hrVRgjCwXVvE2OOSpDZ58hR+59aFNwYDyjQgKk3auukd7pcegmE2CzPCa0bJ0ZsRAcKkCTJrWo5iDzNhMBWRyaMOv5zWSrthlf7G128qvIlpMT0YNY+n/FaOHE73uLrS/g7swl3/qH/BGFG2Hu4RlL48eb3lLKqTt2xKHdCs6Cd4RMfJPYnzgvI4BNrFUKsjkcu+WD4OO2A27Pq1n50cMchmcaXadJhGrOqH5YmHdOCj5NSHzJYrsW0HPlpuAx/ECMeIZYDh6RMqaFM2DXzdKX9NmmyqzJ3o/0lkk/N97gfVRLW5hA29yeAwaCViZNCP8iC9aO0q9fQojoa7NQnAtw=="}]}}} (2567)
                2018-08-19 10:11:59 498677 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS started (2567)
                2018-08-19 10:11:59 500336 3585 debug LBS19000309 [v0.5.2]: Stopping LG WebOS daemon... (2567)
                2018-08-19 10:11:59 547847 3585 debug LBS19000309 [v0.5.2]: Daemon is running with PID: 4285 (2567)
                2018-08-19 10:11:59 553365 3585 debug LBS19000309 [v0.5.2]: Terminating daemon ... (2567)
                2018-08-19 10:11:59 668773 3585 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
                2018-08-19 10:11:59 670888 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS ended (2567)
                2018-08-19 10:12:01 189948 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS started (2567)
                2018-08-19 10:12:01 236412 3585 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
                2018-08-19 10:12:01 238154 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS ended (2567)
                2018-08-19 10:12:02 662050 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS started (2567)
                2018-08-19 10:12:02 704058 3585 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
                2018-08-19 10:12:02 705878 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS ended (2567)
                2018-08-19 10:12:04 014868 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS started (2567)
                2018-08-19 10:12:04 056535 3585 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
                2018-08-19 10:12:04 058311 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS ended (2567)
                2018-08-19 10:12:04 624308 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS started (2567)
                2018-08-19 10:12:04 674905 3585 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
                2018-08-19 10:12:04 680386 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS ended (2567)
                2018-08-19 10:13:10 976352 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS started (2567)
                2018-08-19 10:13:11 022815 3585 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
                2018-08-19 10:13:11 024749 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS ended (2567)
                2018-08-19 10:13:22 791627 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS started (2567)
                2018-08-19 10:13:22 840378 3585 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
                2018-08-19 10:13:22 887831 3585 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
                2018-08-19 10:13:22 889616 3585 debug LBS19000309 [v0.5.2]: Starting daemon ... (2567)
                2018-08-19 10:13:22 971585 3585 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
                2018-08-19 10:13:22 973305 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS ended (2567)
                2018-08-19 10:13:22 981785 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS started (2567)
                2018-08-19 10:13:23 024157 3585 debug LBS19000309 [v0.5.2]: Daemon is not running (2567)
                2018-08-19 10:13:23 025922 3585 debug LBS19000309 [v0.5.2]: LG WebOS LBS ended (2567)

                Kommentar


                  #9
                  Sieht so aus, als würde der restart vom exec Daemon bei dir nicht funktionieren.

                  bei mir klappt der LBS außer halt die beschriebenen Sachen. Ich hab noch ein LBS von André welchen ich heute Abend testen kann .

                  Kommentar


                    #10
                    Belege mal E3 und E5 mit festen Werten und nicht mit iKOs und teste dann nochmal.

                    Kommentar


                      #11
                      E3 und E5 habe ich feste Werte gegeben, ändert aber nichts.
                      Ich habe EDOMI jetzt noch drei mal neugestartet, immer mit dem Ergebnis vom zweiten Log-Auszug.
                      Auffällig sind die Zeilen:
                      Code:
                       
                      2018-08-19 10:11:59 500336 3585 debug LBS19000309 [v0.5.2]: Stopping LG WebOS daemon... (2567)
                      2018-08-19 10:11:59 547847 3585 debug LBS19000309 [v0.5.2]: Daemon is running with PID: 4285 (2567)
                      2018-08-19 10:11:59 553365 3585 debug LBS19000309 [v0.5.2]: Terminating daemon ... (2567)
                      ab dann funktioniert der LBS nicht mehr...

                      Kommentar


                        #12
                        Hast du zu dem Zeitpunkt eine 0 auf E1 gesendet?
                        Dann sähe es Danach aus, dass der Neustart nicht funktioniert.
                        Trage doch mal die 1 fest auf E1 ein und teste ob es dann stabil funktioniert, wenn du den LBS nicht stoppst.

                        Kommentar


                          #13
                          Problem gefunden. Es ist ein Nebeneffekt der neuen EXEC Multitasking Option, die Christian mit EDOMI 1.60 eingeführt hat. Da teilweise meine LBS den EXEC Daemon mit einem SIGTERM Signal beenden, bekommt EDOMI dies scheinbar nicht mit, d.h. aus EDOMI Sicht läuft der EXEC Daemon noch, obwohl er beendet wurde. Und da die Defaulteinstellung in EDOMI Singletasking ist, kann der EXEC Daemon nicht mehr neu gestartet werden.

                          gaert : Kann EDOMI irgendwie feststellen, wenn ich den EXEC Daemon per SIGTERM beende, so dass danach wieder ein Start erlaubt ist? Oder kann ich EDOMI aus dem LBS Teil irgendwie mitteilen, dass ich den EXEC Daemon beendet habe? Wenn ich aktuell den EXEC Daemon per SIGTERM beende, dann blinkt der LBS fröhlich weiter in der Liveansicht, so dass EDOMI offensichtlich denkt, dass der LBS noch läuft.

                          Vielleicht wäre auch Multitasking=true eine bessere Defaulteinstellung für die logic_callExec() Funktion bzgl. Abwärtskompatibilität, denn vor v1.60, war es ja grundsätzlich immer möglich den EXEC Teil mehrfach zu starten und man musste als LBS Entwickler selbst sicherstellen, wenn dies unterbunden werden sollte. Dies würde dem multitasking=true entsprechen.

                          Kommentar


                            #14
                            SIGTERM ist ja kein Beenden, sondern eher ein abschießen (zumindest im EDOMI-Kontext).

                            Sobald Du den EXEC-Teil "ordnungsgemäß" beendest (also die "Hauptschleife" verlässt), bekommt EDOMI dies mit und setzt entsprechende interne Flags. Auch ein exit() müsste funktionieren - habe ich noch nicht getestet, da ja auch irgendwie unsauber.

                            Zudem solltest Du nach Möglichkeit die aktuellen Funktionsnamen verwenden, denn die alten "Alias-Funktionen" werde ich irgendwann abschaffen... Und dieser nette iFrame ist eigentlich auch nicht soooo erwünscht, da dieser u.U. das Layout der Hilfe verhuddeln könnte. Ein Link sollte es doch auch tun
                            EDOMI - Intelligente Steuerung und Visualisierung KNX-basierter Elektro-Installationen (http://www.edomi.de)

                            Kommentar


                              #15
                              Die 0.5.3 Version funktioniert jetzt bei mir
                              Vielen Dank für die schnelle Korrektur

                              Kommentar

                              Lädt...
                              X