Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. Twinkly - Basisfunktionen mit ioBroker steuern

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Twinkly - Basisfunktionen mit ioBroker steuern

    This topic has been deleted. Only users with topic management privileges can see it.
    • patrickbs96
      patrickbs96 Developer @W0RSCHD last edited by patrickbs96

      @W0RSCHD said in Twinkly - Basisfunktionen mit ioBroker steuern:

      Weihnachtsbaum

      Ich habe deine Aufrufe mal mit meinen verglichen und die sind bis auf die Rückmeldung identisch:

      [httpRequest.POST] {"url":"http://192.168.178.52/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
      
      Deins: [doPostRequest] response: {"statusCode":200,"body":{                                                                                                                                              "code":1106},"headers":{                         "connection":"close","content-length":"13","content-type":"application/json"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.175","port":80,"hostname":"192.168.178.175","hash":null,"search":null,"query":null,"pathname":"/xled/v1/login","path":"/xled/v1/login","href":"http://192.168.178.175/xled/v1/login"},"method":"POST","headers":{"accept":"application/json","content-type":"application/json","content-length":60}}}
      Meins: [doPostRequest] response: {"statusCode":200,"body":{"authentication_token":"BFJmAWqQ8+4=","authentication_token_expires_in":14400,"challenge-response":"b240d1a142fc8346c72453fa8b4bb62e7f44d64b","code":1000},"headers":{"server":"esp-httpd/0.5","connection":"close",                      "content-type":"application/json"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.52", "port":80,"hostname":"192.168.178.52", "hash":null,"search":null,"query":null,"pathname":"/xled/v1/login","path":"/xled/v1/login","href":"http://192.168.178.52/xled/v1/login"}, "method":"POST","headers":{"accept":"application/json","content-type":"application/json","content-length":60}}}
      

      Ich habe leider keine Erklärung dafür... @siggi85 hast du eventuell eine Idee?
      Es scheint ja irgend ein Fehler im Request zu sein, den die erste Generation der Twinkly nicht mag.
      Falls du keine Idee hast würde ich den Request gegen den curl Befehl ersetzen, der scheint ja zu funktionieren.

      1 Reply Last reply Reply Quote 2
      • siggi85
        siggi85 @W0RSCHD last edited by

        @W0RSCHD Funktioniert denn zumindest mein Blockly bei dir? Das nutzt ja die curl Aufrufe, die anscheinend funktionieren.

        W 1 Reply Last reply Reply Quote 0
        • W
          W0RSCHD @siggi85 last edited by

          @siggi85
          Das Blockly lief am Anfang 1a und irgendwann hat das auch gesponnen und es ging nix mehr (keine Ahnung wieso).

          @patrickbs96 kannst du mir mal eine Version machen mit den curl Anfragen, dann kann ich mal testen ob die bei meiner alten Version besser funktionieren.

          Danke euch beiden schon mal 🙂

          patrickbs96 1 Reply Last reply Reply Quote 0
          • patrickbs96
            patrickbs96 Developer @W0RSCHD last edited by

            @W0RSCHD Ist eingebaut 🙂 Aktiviere dafür die folgende Einstellung:

            const USE_CURL_INSTEAD = true;
            
            W 1 Reply Last reply Reply Quote 2
            • W
              W0RSCHD @patrickbs96 last edited by W0RSCHD

              @patrickbs96
              Danke, Authentication funktioniert, es spuckt aber noch Fehler aus,
              hier mal der Log

              10:30:07.001	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/fw/version
              10:30:07.074	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.firmware, state={"val":"2.3.5","ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:31:06.063	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: getState(id=ping.0.iobroker.192_168_178_175, timerId=undefined) => {"val":true,"ack":true,"ts":1607247061634,"q":0,"from":"system.adapter.ping.0","user":"system.user.admin","lc":1607222544951}
              10:31:06.074	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.connected, state={"val":true,"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:31:06.075	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
              10:31:06.338	warn	javascript.0 (11366) at script.js.Schaltungen.Twinkly_JS:190:29
              10:31:06.338	warn	javascript.0 (11366) at Object.<anonymous> (script.js.Schaltungen.Twinkly_JS:188:25)
              10:31:06.338	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.mode, state={"val":{"ack":true},"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:31:06.339	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.on, state={"val":true,"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:31:06.340	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/led/out/brightness
              10:31:06.627	warn	javascript.0 (11366) at script.js.Schaltungen.Twinkly_JS:196:45
              10:31:06.627	warn	javascript.0 (11366) at Object.<anonymous> (script.js.Schaltungen.Twinkly_JS:195:25)
              10:31:06.628	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.bri, state={"val":{"ack":true},"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:31:06.629	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
              10:31:06.829	warn	javascript.0 (11366) at script.js.Schaltungen.Twinkly_JS:200:44
              10:31:06.829	warn	javascript.0 (11366) at Object.<anonymous> (script.js.Schaltungen.Twinkly_JS:199:25)
              10:31:06.829	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.name, state={"val":{"ack":true},"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:31:06.830	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/mqtt/config
              10:31:06.969	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.mqtt, state={"val":"{}","ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:31:06.972	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
              10:31:07.088	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.timer, state={"val":"{}","ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:31:07.093	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/gestalt
              10:31:07.232	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.details, state={"val":"{\"product_name\":\"Twinkly\",\"product_version\":\"16\",\"hardware_version\":\"7\",\"flash_size\":16,\"led_type\":6,\"led_version\":\"1\",\"product_code\":\"TW225SEUP07\",\"device_name\":\"Twinkly_BA1A63\",\"uptime\":\"3842109\",\"hw_id\":\"00ba1a63\",\"mac\":\"84:f3:eb:ba:1a:63\",\"max_supported_led\":255,\"base_leds_number\":225,\"number_of_led\":225,\"led_profile\":\"RGB\",\"frame_rate\":25,\"movie_capacity\":719,\"copyright\":\"LEDWORKS 2017\"}","ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:31:07.234	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/fw/version
              10:31:07.383	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.firmware, state={"val":"2.3.5","ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:32:06.064	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: getState(id=ping.0.iobroker.192_168_178_175, timerId=undefined) => {"val":true,"ack":true,"ts":1607247122573,"q":0,"from":"system.adapter.ping.0","user":"system.user.admin","lc":1607222544951}
              10:32:06.064	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.connected, state={"val":true,"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:32:06.069	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
              10:32:06.148	warn	javascript.0 (11366) at script.js.Schaltungen.Twinkly_JS:190:29
              10:32:06.149	warn	javascript.0 (11366) at Object.<anonymous> (script.js.Schaltungen.Twinkly_JS:188:25)
              10:32:06.149	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.mode, state={"val":{"ack":true},"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:32:06.150	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.on, state={"val":true,"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:32:06.151	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/led/out/brightness
              10:32:06.241	warn	javascript.0 (11366) at script.js.Schaltungen.Twinkly_JS:196:45
              10:32:06.242	warn	javascript.0 (11366) at Object.<anonymous> (script.js.Schaltungen.Twinkly_JS:195:25)
              10:32:06.242	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.bri, state={"val":{"ack":true},"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:32:06.243	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
              10:32:06.321	warn	javascript.0 (11366) at script.js.Schaltungen.Twinkly_JS:200:44
              10:32:06.322	warn	javascript.0 (11366) at Object.<anonymous> (script.js.Schaltungen.Twinkly_JS:199:25)
              10:32:06.322	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.name, state={"val":{"ack":true},"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:32:06.324	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/mqtt/config
              10:32:06.399	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.mqtt, state={"val":"{}","ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:32:06.401	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
              10:32:06.485	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.timer, state={"val":"{}","ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:32:06.489	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/gestalt
              10:32:06.555	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.details, state={"val":"{\"product_name\":\"Twinkly\",\"product_version\":\"16\",\"hardware_version\":\"7\",\"flash_size\":16,\"led_type\":6,\"led_version\":\"1\",\"product_code\":\"TW225SEUP07\",\"device_name\":\"Twinkly_BA1A63\",\"uptime\":\"3901446\",\"hw_id\":\"00ba1a63\",\"mac\":\"84:f3:eb:ba:1a:63\",\"max_supported_led\":255,\"base_leds_number\":225,\"number_of_led\":225,\"led_profile\":\"RGB\",\"frame_rate\":25,\"movie_capacity\":719,\"copyright\":\"LEDWORKS 2017\"}","ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              10:32:06.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: pm6be3o9Vac= Content-Type: application/json' http://192.168.178.175/xled/v1/fw/version
              10:32:06.618	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.firmware, state={"val":"2.3.5","ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
              

              Twinkly_JS2.jpg

              Schalten kann ich auch noch nichts, es scheint nur die Authentifizierung zu klappen bis jetzt.

              patrickbs96 1 Reply Last reply Reply Quote 0
              • patrickbs96
                patrickbs96 Developer @W0RSCHD last edited by

                @W0RSCHD Könntest du bitte das erweiterte Logging aktivieren und mir dann das Log schicken? Ich habe das Gefühl als werden die Inhalte anders übermittelt als bei der 2. Generation.

                W 1 Reply Last reply Reply Quote 1
                • W
                  W0RSCHD @patrickbs96 last edited by

                  @patrickbs96
                  hier mal ein Auszug

                  14:34:03.146	info	javascript.0 (11366) Start javascript script.js.Schaltungen.Twinkly_JS
                  14:34:03.201	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setTimeout(ms=2000)
                  14:34:03.202	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: onStop(timeout=500)
                  14:34:03.204	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: registered 0 subscriptions and 0 schedules
                  14:34:03.215	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: getObject(id=javascript.0.Weihnachtsbaum, enumName=undefined) => {"common":{"name":"Twinkly","role":"state","type":"mixed"},"native":{},"type":"channel","from":"system.adapter.javascript.0","user":"system.user.admin","ts":1607163615438,"_id":"javascript.0.Weihnachtsbaum","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                  14:34:03.216	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setObject(id=javascript.0.Weihnachtsbaum, obj={"common":{"name":"Twinkly","role":"state","type":"mixed"},"native":{},"type":"channel","from":"system.adapter.javascript.0","user":"system.user.admin","ts":1607163615438,"_id":"javascript.0.Weihnachtsbaum","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}})
                  14:34:05.203	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: subscribe: {"pattern":{"id":{},"change":"ne","ack":false,"q":0},"name":"script.js.Schaltungen.Twinkly_JS"}
                  14:34:05.205	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setInterval(ms=60000)
                  14:35:05.206	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: getState(id=ping.0.iobroker.192_168_178_175, timerId=undefined) => {"val":true,"ack":true,"ts":1607261680414,"q":0,"from":"system.adapter.ping.0","user":"system.user.admin","lc":1607256158755}
                  14:35:05.207	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.connected, state={"val":true,"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
                  14:35:05.208	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <led/mode>
                  14:35:05.209	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.212	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -d '{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://192.168.178.175/xled/v1/login
                  14:35:05.303	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"authentication_token":"vZa1C4f9U6E=","authentication_token_expires_in":14400,"challenge-response":"9f0fd8de4ee5869f596dbc60f9cafeea378ff79a","code":1000}
                  14:35:05.305	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._post] <verify>, {"challenge-response":"9f0fd8de4ee5869f596dbc60f9cafeea378ff79a"}, {"X-Auth-Token":"vZa1C4f9U6E="}
                  14:35:05.306	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token still valid (2020-12-6 18:35:05)
                  14:35:05.307	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] curl -d '{"challenge-response":"9f0fd8de4ee5869f596dbc60f9cafeea378ff79a"}' -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/verify
                  14:35:05.308	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -d '{"challenge-response":"9f0fd8de4ee5869f596dbc60f9cafeea378ff79a"}' -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/verify
                  14:35:05.376	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1102}
                  14:35:05.378	warn	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.POST.verify] 1102 (Error), Data: {"challenge-response":"9f0fd8de4ee5869f596dbc60f9cafeea378ff79a"}, Headers: {"X-Auth-Token":"vZa1C4f9U6E=","Content-Type":"application/json"}, Body: {"code":1102}
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.380	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/mode
                  14:35:05.480	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doGetRequest] body: "Invalid Token."
                  14:35:05.485	warn	javascript.0 (11366) at script.js.Schaltungen.Twinkly_JS:190:29
                  14:35:05.485	warn	javascript.0 (11366) at Object.<anonymous> (script.js.Schaltungen.Twinkly_JS:188:25)
                  14:35:05.485	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.mode, state={"val":{"ack":true},"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
                  14:35:05.486	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.on, state={"val":true,"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
                  14:35:05.487	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <led/out/brightness>
                  14:35:05.488	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token still valid (2020-12-6 18:35:05)
                  14:35:05.488	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/out/brightness
                  14:35:05.489	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/led/out/brightness
                  14:35:05.549	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doGetRequest] body: "Invalid Token."
                  14:35:05.552	warn	javascript.0 (11366) at script.js.Schaltungen.Twinkly_JS:196:45
                  14:35:05.553	warn	javascript.0 (11366) at Object.<anonymous> (script.js.Schaltungen.Twinkly_JS:195:25)
                  14:35:05.553	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.bri, state={"val":{"ack":true},"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
                  14:35:05.555	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <device_name>
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token still valid (2020-12-6 18:35:05)
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.557	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/device_name
                  14:35:05.621	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doGetRequest] body: "Invalid Token."
                  14:35:05.625	warn	javascript.0 (11366) at script.js.Schaltungen.Twinkly_JS:200:44
                  14:35:05.626	warn	javascript.0 (11366) at Object.<anonymous> (script.js.Schaltungen.Twinkly_JS:199:25)
                  14:35:05.626	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.name, state={"val":{"ack":true},"ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
                  14:35:05.627	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <mqtt/config>
                  14:35:05.628	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token still valid (2020-12-6 18:35:05)
                  14:35:05.628	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/mqtt/config
                  14:35:05.629	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/mqtt/config
                  14:35:05.702	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doGetRequest] body: "Invalid Token."
                  14:35:05.703	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.mqtt, state={"val":"{}","ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
                  14:35:05.705	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <timer>
                  14:35:05.705	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token still valid (2020-12-6 18:35:05)
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.706	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/timer
                  14:35:05.774	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doGetRequest] body: "Invalid Token."
                  14:35:05.776	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.timer, state={"val":"{}","ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
                  14:35:05.777	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <gestalt>
                  14:35:05.778	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token still valid (2020-12-6 18:35:05)
                  14:35:05.779	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/gestalt
                  14:35:05.779	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/gestalt
                  14:35:05.779	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/gestalt
                  14:35:05.779	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/gestalt
                  14:35:05.779	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/gestalt
                  14:35:05.779	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/gestalt
                  14:35:05.779	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/gestalt
                  14:35:05.779	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/gestalt
                  14:35:05.779	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/gestalt
                  14:35:05.779	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/gestalt
                  14:35:05.854	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doGetRequest] body: {"product_name":"Twinkly","product_version":"16","hardware_version":"7","flash_size":16,"led_type":6,"led_version":"1","product_code":"TW225SEUP07","device_name":"Twinkly_BA1A63","uptime":"1274275","rssi":-78,"hw_id":"00ba1a63","mac":"84:f3:eb:ba:1a:63","uuid":"7F272E77-662E-4E6C-A8A0-D50DCA470F74","max_supported_led":255,"base_leds_number":225,"number_of_led":225,"led_profile":"RGB","frame_rate":25,"movie_capacity":719,"copyright":"LEDWORKS 2017","code":1000}
                  14:35:05.857	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.details, state={"val":"{\"product_name\":\"Twinkly\",\"product_version\":\"16\",\"hardware_version\":\"7\",\"flash_size\":16,\"led_type\":6,\"led_version\":\"1\",\"product_code\":\"TW225SEUP07\",\"device_name\":\"Twinkly_BA1A63\",\"uptime\":\"1274275\",\"hw_id\":\"00ba1a63\",\"mac\":\"84:f3:eb:ba:1a:63\",\"max_supported_led\":255,\"base_leds_number\":225,\"number_of_led\":225,\"led_profile\":\"RGB\",\"frame_rate\":25,\"movie_capacity\":719,\"copyright\":\"LEDWORKS 2017\"}","ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
                  14:35:05.859	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <fw/version>
                  14:35:05.860	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token still valid (2020-12-6 18:35:05)
                  14:35:05.860	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.GET] curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/fw/version
                  14:35:05.861	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: exec: curl -H 'X-Auth-Token: vZa1C4f9U6E= Content-Type: application/json' http://192.168.178.175/xled/v1/fw/version
                  14:35:05.919	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doGetRequest] body: {"version":"2.3.5","code":1000}
                  14:35:05.920	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setForeignState(id=javascript.0.Weihnachtsbaum.firmware, state={"val":"2.3.5","ack":true,"c":"script.js.Schaltungen.Twinkly_JS"})
                  
                  patrickbs96 1 Reply Last reply Reply Quote 0
                  • patrickbs96
                    patrickbs96 Developer @W0RSCHD last edited by

                    @W0RSCHD Versuche es bitte erneut. Da war noch ein Fehler in der curl Anfrage bei der Übergabe des Tokens...

                    W 1 Reply Last reply Reply Quote 1
                    • W
                      W0RSCHD @patrickbs96 last edited by W0RSCHD

                      @patrickbs96 jetzt klappts juhuuu TOP, Danke 🙂

                      Es kommt nur dieser Error dauernd im Log, aber an sich gehts

                      javascript.0	2020-12-06 21:52:15.249	error	(11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.timer] [Twinkly.GET.timer] undefined (undefined), Headers: {"X-Auth-Token":"Knavqszdq6s=","Content-Type":"application/json"}
                      
                      patrickbs96 1 Reply Last reply Reply Quote 0
                      • patrickbs96
                        patrickbs96 Developer @W0RSCHD last edited by patrickbs96

                        @W0RSCHD Super, das freut mich zu hören 🙂
                        Anscheinend wird der Twinkly-Code nicht immer übergeben, dadurch steht dort undefined. Ich habe den Fall ausgeschlossen und der sollte daher keine Fehler mehr produzieren.

                        Da es mit curl mit beiden Generationen funktioniert, habe ich die Verarbeitung für beide gleichgezogen. Dadurch entfällt dann auch die Einstellung für curl. Könntest du das eventuell auch einmal testen @siggi85 ?

                        EDIT: Noch nicht testen, bei mir kommen aktuell noch Fehler.
                        EDIT 2: Bei mir kamen plötzlich "Invalid Token" Meldung und hatten Probleme verursacht. Ich habe es hoffentlich behoben (Es kamen leider keine mehr mit denen ich das testen konnte.)

                        siggi85 W 2 Replies Last reply Reply Quote 2
                        • siggi85
                          siggi85 @patrickbs96 last edited by

                          @patrickbs96 Auch die neue Version des Skriptes funktioniert bei mir. Ich benutze weiterhin die Version ohne curl, aber hatte mit dem aktuellen Skript keine Probleme.

                          Ich habe übrigens den Link zu deinem Skript im ersten Beitrag ergänzt.

                          1 Reply Last reply Reply Quote 2
                          • W
                            W0RSCHD @patrickbs96 last edited by

                            @patrickbs96 klappt nun auch hier ohne Error, Dankeschön! thumbsup

                            siggi85 1 Reply Last reply Reply Quote 0
                            • siggi85
                              siggi85 @W0RSCHD last edited by

                              @W0RSCHD Super!
                              @patrickbs96 Good job! 👍

                              1 Reply Last reply Reply Quote 1
                              • flipjiz
                                flipjiz last edited by

                                Moin! Vorweg: Danke für eure Arbeit 😄
                                Muss ich die Datei runterladen und irgendwo hinschieben oder einfach über die ioBroker Oberfläche ein neues Skript mit dem Inhalt hinzufügen?
                                Ich hab es einfach mal unter Common reingeworfen aber dort gibt es diese Fehler beim Starten:

                                2020-12-08 16:49:59.946 - info: javascript.0 (22601) Start javascript script.js.common.twinkly
                                2020-12-08 16:49:59.960 - error: javascript.0 (22601) script.js.common.twinkly compile failed:
                                at script.js.common.twinkly:221
                                2020-12-08 16:49:59.961 - error: javascript.0 (22601) }, POLLING_IN_SEK * 1_000);
                                2020-12-08 16:49:59.962 - error: javascript.0 (22601) ^
                                2020-12-08 16:49:59.963 - error: javascript.0 (22601) SyntaxError: Invalid or unexpected token
                                2020-12-08 16:49:59.964 - error: javascript.0 (22601) at new Script (vm.js:83:7)
                                2020-12-08 16:49:59.964 - error: javascript.0 (22601) at Object.createScript (vm.js:277:10)
                                2020-12-08 16:49:59.965 - error: javascript.0 (22601) at createVM (/opt/iobroker/node_modules/iobroker.javascript/main.js:1280:28)
                                2020-12-08 16:49:59.966 - error: javascript.0 (22601) at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1503:37)
                                2020-12-08 16:49:59.967 - error: javascript.0 (22601) at createProblemObject (/opt/iobroker/node_modules/iobroker.javascript/main.js:1559:17)
                                2020-12-08 16:49:59.967 - error: javascript.0 (22601) at adapter.getForeignState (/opt/iobroker/node_modules/iobroker.javascript/main.js:1140:17)
                                2020-12-08 16:49:59.968 - error: javascript.0 (22601) at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:616:17)
                                2020-12-08 16:49:59.969 - error: javascript.0 (22601) at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                2020-12-08 16:49:59.969 - error: javascript.0 (22601) at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                2020-12-08 16:49:59.970 - error: javascript.0 (22601) at process._tickCallback (internal/process/next_tick.js:68:7)
                                
                                patrickbs96 1 Reply Last reply Reply Quote 0
                                • patrickbs96
                                  patrickbs96 Developer @flipjiz last edited by patrickbs96

                                  @flipjiz Genau richtig, neues Skript unter Common erstellen und den Inhalt hineinkopieren. Danach musst du nur den Abschnitt mit den devices anpassen, so wie es in dem Beispiel im Skript oder auf der GitHub Seite gezeigt wird.

                                  const devices = {
                                      Twinkly1 : {                                         // State-Name in ioBroker
                                          name           : 'Twinkly Lichterkette 1',       // Name für ioBroker (Falls nicht hinterlegt wird der State-Name verwendet)
                                          ipAdresse      : '192.168.178.52',               // IP-Adresse von der Twinkly-Lichterkette
                                          connectedState : 'ping.0.Twinkly_Lichterkette_1' // State mit true/false der den aktuellen Status der Lichterkette überwacht (bspw. ping, tr-064)
                                      },
                                      Twinkly2 : {                                         // State-Name in ioBroker
                                          name           : 'Twinkly Lichterkette 2',       // Name für ioBroker (Falls nicht hinterlegt wird der State-Name verwendet)
                                          ipAdresse      : '192.168.178.53',               // IP-Adresse von der Twinkly-Lichterkette
                                          connectedState : 'ping.0.Twinkly_Lichterkette_2' // State mit true/false der den aktuellen Status der Lichterkette überwacht (bspw. ping, tr-064)
                                      }
                                  };
                                  

                                  Ich vermute mal, dass dort ein Fehler bei den devices ist. Könntest du mir den Abschnitt einmal zeigen?

                                  flipjiz 1 Reply Last reply Reply Quote 1
                                  • flipjiz
                                    flipjiz @patrickbs96 last edited by

                                    @patrickbs96

                                    /*******************************************************************************
                                     * Settings
                                     *******************************************************************************/
                                    const PATH_ID          = 'javascript.0.MyDevices.Twinkly.'; // Pfad für die Datenpunkte
                                    const POLLING_IN_SEK   = 60;                                // Wie oft sollen die Daten abgefragt werden
                                    const EXTENDED_LOGGING = true;                             // Mehr Informationen loggen
                                    
                                    const devices = {
                                        Twinkly : {                                   // State-Name in ioBroker
                                            name           : 'Twinkly',               // Name für ioBroker (Falls nicht hinterlegt wird der State-Name verwendet)
                                            ipAdresse      : '192.168.25.168',               // IP-Adresse von der Twinkly-Lichterkette
                                            connectedState : 'ping.0.Twinkly' // State mit true/false der den aktuellen Status der Lichterkette überwacht (bspw. ping, tr-064)
                                        }
                                    };
                                    
                                    patrickbs96 1 Reply Last reply Reply Quote 0
                                    • patrickbs96
                                      patrickbs96 Developer @flipjiz last edited by

                                      @flipjiz Das sieht soweit richtig aus. Kannst du mir das gesamte Skript einmal schicken?

                                      flipjiz 1 Reply Last reply Reply Quote 1
                                      • flipjiz
                                        flipjiz @patrickbs96 last edited by

                                        @patrickbs96
                                        Ich habe im Skript einfach die Unterstriche in Zeile 221 und 222 entfernt:

                                                        }, POLLING_IN_SEK * 1_000);
                                                    }, 2_000);
                                        

                                        zu

                                                        }, POLLING_IN_SEK * 1000);
                                                    }, 2000);
                                        

                                        nun läuft es!

                                        patrickbs96 1 Reply Last reply Reply Quote 2
                                        • patrickbs96
                                          patrickbs96 Developer @flipjiz last edited by

                                          @flipjiz Komisch hätte nicht gedacht, dass das Fehler verursacht. Dann werde ich das mal im Skript korrigieren 🙂

                                          1 Reply Last reply Reply Quote 0
                                          • patrickbs96
                                            patrickbs96 Developer @siggi85 last edited by

                                            @siggi85 @W0RSCHD Ich habe den Adapter soweit fertiggestellt. Mir fehlen zwar noch die Übersetzungen aber vom technischen her ist der fertig. Würde mich freuen, wenn ihr den testen würdet 🙂

                                            M 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            584
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            69
                                            6508
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo