Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. Praktische Anwendungen (Showcase)
  4. Twinkly - Basisfunktionen mit ioBroker steuern

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.4k

Twinkly - Basisfunktionen mit ioBroker steuern

Geplant Angeheftet Gesperrt Verschoben Praktische Anwendungen (Showcase)
69 Beiträge 8 Kommentatoren 9.8k Aufrufe 9 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • patrickbs96P patrickbs96

    @siggi85 Das freut mich zu hören :-) Theoretisch wäre das ja durch MQTT möglich aber ich weiß nicht wie genau ich es konfigurieren muss. Ich hatte es gestern versucht aber es gab keine Verbindung...

    @W0RSCHD So wie ich das bei meinen Tests festgestellt habe ist, dass Details und Firmware keinen Token benötigen um die Daten abzurufen. Deshalb funktionieren dies beiden auch noch. In deinem Fall sieht es so aus als schlägt die Anmeldung fehl... Ich habe das Logging mal erweitern vielleicht finden wir so den Grund, weshalb es bei dir nicht mit dem Skript klappt.
    Setzte dafür

    const EXTENDED_LOGGING = true;
    
    W Offline
    W Offline
    W0RSCHD
    schrieb am zuletzt editiert von
    #41

    @patrickbs96
    ok, habs mal geändert, hier mal das log dazu

    16:24:15.409	info	javascript.0 (11366) Stop script script.js.Schaltungen.Twinkly_JS
    16:24:17.614	info	javascript.0 (11366) Start javascript script.js.Schaltungen.Twinkly_JS
    16:24:17.662	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setTimeout(ms=2000)
    16:24:17.663	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: onStop(timeout=500)
    16:24:17.663	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: registered 0 subscriptions and 0 schedules
    16:24:17.674	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"}}
    16:24:17.675	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"}})
    16:24:19.665	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: subscribe: {"pattern":{"id":{},"change":"ne","ack":false,"q":0},"name":"script.js.Schaltungen.Twinkly_JS"}
    16:24:19.669	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setInterval(ms=60000)
    16:25:19.673	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":1607181905606,"q":0,"from":"system.adapter.ping.0","user":"system.user.admin","lc":1607157356830}
    16:25:19.677	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"})
    16:25:19.681	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <led/mode>
    16:25:19.682	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
    16:25:19.690	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
    16:25:19.810	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
    16:25:19.811	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
    16:25:19.822	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.mode] [Twinkly.POST.login] 1106 (Error - Login)
    16:25:19.823	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <led/out/brightness>
    16:25:19.824	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
    16:25:19.824	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
    16:25:19.855	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
    16:25:19.856	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
    16:25:19.857	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.bri] [Twinkly.POST.login] 1106 (Error - Login)
    16:25:19.858	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <device_name>
    16:25:19.859	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
    16:25:19.859	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
    16:25:19.901	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
    16:25:19.903	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
    16:25:19.904	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.name] [Twinkly.POST.login] 1106 (Error - Login)
    16:25:19.915	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <mqtt/config>
    16:25:19.916	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
    16:25:19.917	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
    16:25:19.975	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
    16:25:19.976	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
    16:25:19.979	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.mqtt] [Twinkly.POST.login] 1106 (Error - Login)
    16:25:19.993	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <timer>
    16:25:19.995	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
    16:25:20.001	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
    16:25:20.065	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
    16:25:20.073	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
    16:25:20.074	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.timer] [Twinkly.POST.login] 1106 (Error - Login)
    16:25:20.076	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <gestalt>
    16:25:20.085	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
    16:25:20.086	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
    16:25:20.151	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
    16:25:20.152	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
    16:25:20.153	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.details] [Twinkly.POST.login] 1106 (Error - Login)
    16:25:20.155	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <fw/version>
    16:25:20.156	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
    16:25:20.180	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
    16:25:20.242	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
    16:25:20.253	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
    16:25:20.261	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.firmware] [Twinkly.POST.login] 1106 (Error - Login)
    
    patrickbs96P siggi85S 2 Antworten Letzte Antwort
    0
    • W W0RSCHD

      @patrickbs96
      ok, habs mal geändert, hier mal das log dazu

      16:24:15.409	info	javascript.0 (11366) Stop script script.js.Schaltungen.Twinkly_JS
      16:24:17.614	info	javascript.0 (11366) Start javascript script.js.Schaltungen.Twinkly_JS
      16:24:17.662	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setTimeout(ms=2000)
      16:24:17.663	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: onStop(timeout=500)
      16:24:17.663	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: registered 0 subscriptions and 0 schedules
      16:24:17.674	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"}}
      16:24:17.675	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"}})
      16:24:19.665	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: subscribe: {"pattern":{"id":{},"change":"ne","ack":false,"q":0},"name":"script.js.Schaltungen.Twinkly_JS"}
      16:24:19.669	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setInterval(ms=60000)
      16:25:19.673	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":1607181905606,"q":0,"from":"system.adapter.ping.0","user":"system.user.admin","lc":1607157356830}
      16:25:19.677	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"})
      16:25:19.681	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <led/mode>
      16:25:19.682	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
      16:25:19.690	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
      16:25:19.810	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
      16:25:19.811	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
      16:25:19.822	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.mode] [Twinkly.POST.login] 1106 (Error - Login)
      16:25:19.823	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <led/out/brightness>
      16:25:19.824	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
      16:25:19.824	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
      16:25:19.855	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
      16:25:19.856	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
      16:25:19.857	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.bri] [Twinkly.POST.login] 1106 (Error - Login)
      16:25:19.858	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <device_name>
      16:25:19.859	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
      16:25:19.859	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
      16:25:19.901	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
      16:25:19.903	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
      16:25:19.904	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.name] [Twinkly.POST.login] 1106 (Error - Login)
      16:25:19.915	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <mqtt/config>
      16:25:19.916	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
      16:25:19.917	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
      16:25:19.975	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
      16:25:19.976	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
      16:25:19.979	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.mqtt] [Twinkly.POST.login] 1106 (Error - Login)
      16:25:19.993	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <timer>
      16:25:19.995	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
      16:25:20.001	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
      16:25:20.065	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
      16:25:20.073	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
      16:25:20.074	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.timer] [Twinkly.POST.login] 1106 (Error - Login)
      16:25:20.076	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <gestalt>
      16:25:20.085	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
      16:25:20.086	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
      16:25:20.151	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
      16:25:20.152	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
      16:25:20.153	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.details] [Twinkly.POST.login] 1106 (Error - Login)
      16:25:20.155	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <fw/version>
      16:25:20.156	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
      16:25:20.180	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
      16:25:20.242	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
      16:25:20.253	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
      16:25:20.261	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.firmware] [Twinkly.POST.login] 1106 (Error - Login)
      
      patrickbs96P Offline
      patrickbs96P Offline
      patrickbs96
      Developer
      schrieb am zuletzt editiert von patrickbs96
      #42

      @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 Antwort Letzte Antwort
      2
      • W W0RSCHD

        @patrickbs96
        ok, habs mal geändert, hier mal das log dazu

        16:24:15.409	info	javascript.0 (11366) Stop script script.js.Schaltungen.Twinkly_JS
        16:24:17.614	info	javascript.0 (11366) Start javascript script.js.Schaltungen.Twinkly_JS
        16:24:17.662	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setTimeout(ms=2000)
        16:24:17.663	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: onStop(timeout=500)
        16:24:17.663	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: registered 0 subscriptions and 0 schedules
        16:24:17.674	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"}}
        16:24:17.675	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"}})
        16:24:19.665	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: subscribe: {"pattern":{"id":{},"change":"ne","ack":false,"q":0},"name":"script.js.Schaltungen.Twinkly_JS"}
        16:24:19.669	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: setInterval(ms=60000)
        16:25:19.673	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":1607181905606,"q":0,"from":"system.adapter.ping.0","user":"system.user.admin","lc":1607157356830}
        16:25:19.677	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"})
        16:25:19.681	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <led/mode>
        16:25:19.682	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
        16:25:19.690	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
        16:25:19.810	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
        16:25:19.811	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
        16:25:19.822	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.mode] [Twinkly.POST.login] 1106 (Error - Login)
        16:25:19.823	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <led/out/brightness>
        16:25:19.824	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
        16:25:19.824	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
        16:25:19.855	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
        16:25:19.856	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
        16:25:19.857	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.bri] [Twinkly.POST.login] 1106 (Error - Login)
        16:25:19.858	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <device_name>
        16:25:19.859	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
        16:25:19.859	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
        16:25:19.901	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
        16:25:19.903	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
        16:25:19.904	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.name] [Twinkly.POST.login] 1106 (Error - Login)
        16:25:19.915	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <mqtt/config>
        16:25:19.916	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
        16:25:19.917	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
        16:25:19.975	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
        16:25:19.976	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
        16:25:19.979	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.mqtt] [Twinkly.POST.login] 1106 (Error - Login)
        16:25:19.993	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <timer>
        16:25:19.995	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
        16:25:20.001	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
        16:25:20.065	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
        16:25:20.073	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
        16:25:20.074	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.timer] [Twinkly.POST.login] 1106 (Error - Login)
        16:25:20.076	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <gestalt>
        16:25:20.085	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
        16:25:20.086	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
        16:25:20.151	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
        16:25:20.152	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
        16:25:20.153	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.details] [Twinkly.POST.login] 1106 (Error - Login)
        16:25:20.155	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly._get] <fw/version>
        16:25:20.156	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Twinkly.ensure_token] Authentication token expired, will refresh
        16:25:20.180	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [httpRequest.POST] {"url":"http://192.168.178.175/xled/v1/login","body":{"challenge":"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="},"method":"POST","rejectUnauthorized":false,"timeout":3000,"json":true}
        16:25:20.242	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [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}}}
        16:25:20.253	info	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [doPostRequest] body: {"code":1106}
        16:25:20.261	error	javascript.0 (11366) script.js.Schaltungen.Twinkly_JS: [Weihnachtsbaum.firmware] [Twinkly.POST.login] 1106 (Error - Login)
        
        siggi85S Offline
        siggi85S Offline
        siggi85
        schrieb am zuletzt editiert von
        #43

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

        W 1 Antwort Letzte Antwort
        0
        • siggi85S siggi85

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

          W Offline
          W Offline
          W0RSCHD
          schrieb am zuletzt editiert von
          #44

          @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 :)

          patrickbs96P 1 Antwort Letzte Antwort
          0
          • W W0RSCHD

            @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 :)

            patrickbs96P Offline
            patrickbs96P Offline
            patrickbs96
            Developer
            schrieb am zuletzt editiert von
            #45

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

            const USE_CURL_INSTEAD = true;
            
            W 1 Antwort Letzte Antwort
            2
            • patrickbs96P patrickbs96

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

              const USE_CURL_INSTEAD = true;
              
              W Offline
              W Offline
              W0RSCHD
              schrieb am zuletzt editiert von W0RSCHD
              #46

              @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.

              patrickbs96P 1 Antwort Letzte Antwort
              0
              • W 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.

                patrickbs96P Offline
                patrickbs96P Offline
                patrickbs96
                Developer
                schrieb am zuletzt editiert von
                #47

                @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 Antwort Letzte Antwort
                1
                • patrickbs96P patrickbs96

                  @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 Offline
                  W Offline
                  W0RSCHD
                  schrieb am zuletzt editiert von
                  #48

                  @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"})
                  
                  patrickbs96P 1 Antwort Letzte Antwort
                  0
                  • W W0RSCHD

                    @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"})
                    
                    patrickbs96P Offline
                    patrickbs96P Offline
                    patrickbs96
                    Developer
                    schrieb am zuletzt editiert von
                    #49

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

                    W 1 Antwort Letzte Antwort
                    1
                    • patrickbs96P patrickbs96

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

                      W Offline
                      W Offline
                      W0RSCHD
                      schrieb am zuletzt editiert von W0RSCHD
                      #50

                      @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"}
                      
                      patrickbs96P 1 Antwort Letzte Antwort
                      0
                      • W 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"}
                        
                        patrickbs96P Offline
                        patrickbs96P Offline
                        patrickbs96
                        Developer
                        schrieb am zuletzt editiert von patrickbs96
                        #51

                        @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.)

                        siggi85S W 2 Antworten Letzte Antwort
                        2
                        • patrickbs96P 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.)

                          siggi85S Offline
                          siggi85S Offline
                          siggi85
                          schrieb am zuletzt editiert von
                          #52

                          @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 Antwort Letzte Antwort
                          2
                          • patrickbs96P 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.)

                            W Offline
                            W Offline
                            W0RSCHD
                            schrieb am zuletzt editiert von
                            #53

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

                            siggi85S 1 Antwort Letzte Antwort
                            0
                            • W W0RSCHD

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

                              siggi85S Offline
                              siggi85S Offline
                              siggi85
                              schrieb am zuletzt editiert von
                              #54

                              @W0RSCHD Super!
                              @patrickbs96 Good job! 👍

                              1 Antwort Letzte Antwort
                              1
                              • flipjizF Offline
                                flipjizF Offline
                                flipjiz
                                schrieb am zuletzt editiert von
                                #55

                                Moin! Vorweg: Danke für eure Arbeit :D
                                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)
                                
                                patrickbs96P 1 Antwort Letzte Antwort
                                0
                                • flipjizF flipjiz

                                  Moin! Vorweg: Danke für eure Arbeit :D
                                  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)
                                  
                                  patrickbs96P Offline
                                  patrickbs96P Offline
                                  patrickbs96
                                  Developer
                                  schrieb am zuletzt editiert von patrickbs96
                                  #56

                                  @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?

                                  flipjizF 1 Antwort Letzte Antwort
                                  1
                                  • patrickbs96P 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?

                                    flipjizF Offline
                                    flipjizF Offline
                                    flipjiz
                                    schrieb am zuletzt editiert von
                                    #57

                                    @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)
                                        }
                                    };
                                    
                                    patrickbs96P 1 Antwort Letzte Antwort
                                    0
                                    • flipjizF flipjiz

                                      @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)
                                          }
                                      };
                                      
                                      patrickbs96P Offline
                                      patrickbs96P Offline
                                      patrickbs96
                                      Developer
                                      schrieb am zuletzt editiert von
                                      #58

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

                                      flipjizF 1 Antwort Letzte Antwort
                                      1
                                      • patrickbs96P patrickbs96

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

                                        flipjizF Offline
                                        flipjizF Offline
                                        flipjiz
                                        schrieb am zuletzt editiert von
                                        #59

                                        @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!

                                        patrickbs96P 1 Antwort Letzte Antwort
                                        2
                                        • flipjizF flipjiz

                                          @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!

                                          patrickbs96P Offline
                                          patrickbs96P Offline
                                          patrickbs96
                                          Developer
                                          schrieb am zuletzt editiert von
                                          #60

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

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          714

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe