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

donate donate
  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.8k

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

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

Twinkly - Basisfunktionen mit ioBroker steuern

Geplant Angeheftet Gesperrt Verschoben Praktische Anwendungen (Showcase)
69 Beiträge 8 Kommentatoren 10.0k 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

    @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
                                • siggi85S siggi85

                                  Ursprünglich habe ich ein kleines Blockly geschrieben (siehe unten in diesem Post). Allerdings hat mittlerweile @patrickbs96 ein wesentlich umfangreiches Skript erstellt, um Twinkly Systeme zu steuern. Die aktuelle Version davon könnt ihr hier finden.

                                  Für alle Fälle lasse ich mein altes Blockly hier drin, aber ich würde definitiv das Skript von @patrickbs96 empfehlen.

                                  Alt:
                                  Ich habe ein kleines Blockly geschrieben, was über Curl Aufrufe die API anfragt und damit Basisfunktionen steuerbar macht wie an/aus (letzte Szene) und die Helligkeit. Die Datenpunkte habe ich unter 0_userdata.0 gepackt.
                                  Damit das Ganze funktioniert, einfach die Datenpunkte importieren und im Blockly die IP-Adresse eures Twinkly Devices eintragen. Zusätzlich mit im Javascript Adapter das exec Kommando erlaubt sein. (Konfiguration in der JavaScript Instanz)

                                  Blockly

                                  <xml xmlns="https://developers.google.com/blockly/xml">
                                   <variables>
                                     <variable id="C2}3(QK:sjn_0;M@WXM6">ip-address</variable>
                                     <variable id="Li8l,iD*a4lAUfTrR./#">result</variable>
                                     <variable id="ATDr!5*=f1mXSwF*B31X">onoff</variable>
                                     <variable id="tvi|}J~k+`CSxDW?#-_G">login_list</variable>
                                     <variable type="timeout" id="timeout2">timeout2</variable>
                                     <variable type="timeout" id="timeout3">timeout3</variable>
                                     <variable type="timeout" id="timeout">timeout</variable>
                                   </variables>
                                   <block type="comment" id="7aO~bSI=}sBUF]!Uj5VW" x="113" y="-12">
                                     <field name="COMMENT">Hier die IP-Adresse des Twinkly angeben.</field>
                                     <next>
                                       <block type="variables_set" id="})]:dOnZEgaB;GwFMYm7">
                                         <field name="VAR" id="C2}3(QK:sjn_0;M@WXM6">ip-address</field>
                                         <value name="VALUE">
                                           <block type="text" id="UPk-=X649M@ReWw=d!/Y">
                                             <field name="TEXT">192.168.1.241</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="on_ext" id="hjfZPnTX~Ue*9(8]/!;C">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                             <field name="CONDITION">ne</field>
                                             <field name="ACK_CONDITION"></field>
                                             <value name="OID0">
                                               <shadow type="field_oid" id="9twVsr7m@F^_y.SIh3v/">
                                                 <field name="oid">0_userdata.0.devices.twinkly1.on</field>
                                               </shadow>
                                             </value>
                                             <statement name="STATEMENT">
                                               <block type="controls_if" id="Vyh(4M|:$PiwH3:ODZ(v">
                                                 <mutation elseif="1"></mutation>
                                                 <value name="IF0">
                                                   <block type="on_source" id=".8e69^VPY]Vwj!#QB8;b">
                                                     <field name="ATTR">state.val</field>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="variables_set" id="[Pbb5axB^[hOzmHwfPcs">
                                                     <field name="VAR" id="ATDr!5*=f1mXSwF*B31X">onoff</field>
                                                     <value name="VALUE">
                                                       <block type="text" id="qYAqrB@?4{kDiZ*iP5Nv">
                                                         <field name="TEXT">movie</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <value name="IF1">
                                                   <block type="logic_negate" id="[)WH1r7P]c-i1[{xOXce">
                                                     <value name="BOOL">
                                                       <block type="on_source" id="LfiaUSvy[Zo`?iQA0%AA">
                                                         <field name="ATTR">state.val</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO1">
                                                   <block type="variables_set" id="$75d~3~;/E1{z?f6Uw`7">
                                                     <field name="VAR" id="ATDr!5*=f1mXSwF*B31X">onoff</field>
                                                     <value name="VALUE">
                                                       <block type="text" id="t`KFGE2EgS={pHOe({dy">
                                                         <field name="TEXT">off</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="exec" id="a8Xsf6X|RT_RKWu+m|4D">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                     <field name="WITH_STATEMENT">TRUE</field>
                                                     <field name="LOG"></field>
                                                     <value name="COMMAND">
                                                       <shadow type="text">
                                                         <field name="TEXT">text</field>
                                                       </shadow>
                                                       <block type="text_join" id="x.E)Ijwm[WHV!_bPRK4/">
                                                         <mutation items="9"></mutation>
                                                         <value name="ADD0">
                                                           <block type="text" id="bMn%~Q14lVR9+BCwRR/1">
                                                             <field name="TEXT">curl -d '{"mode":"</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD1">
                                                           <block type="variables_get" id="6yJXT{FImP5pG}/rrtNy">
                                                             <field name="VAR" id="ATDr!5*=f1mXSwF*B31X">onoff</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD2">
                                                           <block type="text" id="^ujE4oo_X%]da4,(ppuL">
                                                             <field name="TEXT">"}' -H 'Content-Type: application/json</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD3">
                                                           <block type="text_newline" id="c!_Px216Os[.$S/~rarw">
                                                             <field name="Type">\n</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD4">
                                                           <block type="text" id="$Fg2yhXiAQ){16U@!ZSu">
                                                             <field name="TEXT">X-Auth-Token: </field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD5">
                                                           <block type="get_value" id="IXl+3AbS2B.l]YvbqzM6">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">0_userdata.0.devices.twinkly1.token</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD6">
                                                           <block type="text" id="S{EEHm.[zP|vcm#1tnS#">
                                                             <field name="TEXT">'  http://</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD7">
                                                           <block type="variables_get" id="]u@TMc}oUr*ZKNMfa4*r">
                                                             <field name="VAR" id="C2}3(QK:sjn_0;M@WXM6">ip-address</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD8">
                                                           <block type="text" id="bz;89=2*~U#c3SZm,`3R">
                                                             <field name="TEXT">/xled/v1/led/mode</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="STATEMENT">
                                                       <block type="control" id=")*EuNf:*?Mej|oX]c[YG">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">0_userdata.0.devices.twinkly1.last_response</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="sO6_Jt^$^o?%u_FndEof">
                                                             <field name="VAR" id="Li8l,iD*a4lAUfTrR./#">result</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="controls_if" id="6G?]0D()J)}!$||^GZ[g">
                                                             <value name="IF0">
                                                               <block type="logic_compare" id="{`cuuloZIeqXKe;Iydaw">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id=".|80~sPZrcTq)~D%FLqS">
                                                                     <field name="VAR" id="Li8l,iD*a4lAUfTrR./#">result</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="V1j|Yla.{Pkhx;t!dL5A">
                                                                     <field name="TEXT">Invalid Token</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="timeouts_settimeout" id="*hEGRE,x!rFyGvx1sGnk">
                                                                 <field name="NAME">timeout2</field>
                                                                 <field name="DELAY">1000</field>
                                                                 <field name="UNIT">ms</field>
                                                                 <statement name="STATEMENT">
                                                                   <block type="procedures_callnoreturn" id="47rDf|TIj){(r%S/jL|t">
                                                                     <mutation name="tokenerstellung"></mutation>
                                                                     <next>
                                                                       <block type="exec" id="vmrb/I[xcD|UrCR{N5,}">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                                         <field name="WITH_STATEMENT">TRUE</field>
                                                                         <field name="LOG"></field>
                                                                         <value name="COMMAND">
                                                                           <shadow type="text" id="1oqX0]_@1GCaqA|AYG9V">
                                                                             <field name="TEXT">text</field>
                                                                           </shadow>
                                                                           <block type="text_join" id=";|wMTJLvzMlbPBE.f}8(">
                                                                             <mutation items="9"></mutation>
                                                                             <value name="ADD0">
                                                                               <block type="text" id="vSqJqFViMtF_b70KZZ4U">
                                                                                 <field name="TEXT">curl -d '{"mode":"</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD1">
                                                                               <block type="variables_get" id="iL*:FiISRruR#*B:SpWU">
                                                                                 <field name="VAR" id="ATDr!5*=f1mXSwF*B31X">onoff</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD2">
                                                                               <block type="text" id="_H7ZwE!fF3Lh:;B6+mC`">
                                                                                 <field name="TEXT">"}' -H 'Content-Type: application/json</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD3">
                                                                               <block type="text_newline" id="EMmO8}AnS:G1L0.zG*(K">
                                                                                 <field name="Type">\n</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD4">
                                                                               <block type="text" id="IffU.a}O8pGD]^*9G,e5">
                                                                                 <field name="TEXT">X-Auth-Token: </field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD5">
                                                                               <block type="get_value" id="KN#wwJ9wRg[}}Tbh4A)S">
                                                                                 <field name="ATTR">val</field>
                                                                                 <field name="OID">0_userdata.0.devices.twinkly1.token</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD6">
                                                                               <block type="text" id="?QBxH#Gn#va8-Fur=Mri">
                                                                                 <field name="TEXT">'  http://</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD7">
                                                                               <block type="variables_get" id="F8ff%~_KvjsS/r{.$)!A">
                                                                                 <field name="VAR" id="C2}3(QK:sjn_0;M@WXM6">ip-address</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD8">
                                                                               <block type="text" id="bZ1Z,*N[OcaWiEp;f%P8">
                                                                                 <field name="TEXT">/xled/v1/led/mode</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <statement name="STATEMENT">
                                                                           <block type="control" id="Dq-:j;brnrXMKn(MM*]8">
                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                             <field name="OID">0_userdata.0.devices.twinkly1.last_response</field>
                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                             <value name="VALUE">
                                                                               <block type="variables_get" id="%1_~*tS$$o%-C~FLfV,A">
                                                                                 <field name="VAR" id="Li8l,iD*a4lAUfTrR./#">result</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </statement>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </statement>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="on_ext" id="*d77h3XvC|Tj~C2z*Gd`">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                 <field name="CONDITION">ne</field>
                                                 <field name="ACK_CONDITION"></field>
                                                 <value name="OID0">
                                                   <shadow type="field_oid" id="sl:%ZP;c-3T~K6vz?rya">
                                                     <field name="oid">0_userdata.0.devices.twinkly1.bri</field>
                                                   </shadow>
                                                 </value>
                                                 <statement name="STATEMENT">
                                                   <block type="exec" id="SwV21J;Rhw=V[z^`IJw,">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                     <field name="WITH_STATEMENT">TRUE</field>
                                                     <field name="LOG"></field>
                                                     <value name="COMMAND">
                                                       <shadow type="text">
                                                         <field name="TEXT">text</field>
                                                       </shadow>
                                                       <block type="text_join" id="9G(1o6:8.FmD^^LOK8Cn">
                                                         <mutation items="9"></mutation>
                                                         <value name="ADD0">
                                                           <block type="text" id="+GA1[uhyM:KfX1qzqUEF">
                                                             <field name="TEXT">curl -d '{"value":</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD1">
                                                           <block type="on_source" id="_l@jyLbrNk{7FxZj$Zmh">
                                                             <field name="ATTR">state.val</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD2">
                                                           <block type="text" id="|7^t}Cu}B6~Y1mC(0#UL">
                                                             <field name="TEXT">,"mode":"enabled","type":"A"}' -H 'Content-Type: application/json</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD3">
                                                           <block type="text_newline" id="cm,kmJNBdr]RQ%aT^mz.">
                                                             <field name="Type">\n</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD4">
                                                           <block type="text" id="z;)h^VxAjQk8sNE@yXm6">
                                                             <field name="TEXT">X-Auth-Token: </field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD5">
                                                           <block type="get_value" id="SN0q;T8G^i,z`[mK|cbi">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">0_userdata.0.devices.twinkly1.token</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD6">
                                                           <block type="text" id="Qs]@)sCx^T~4~O:-~N%]">
                                                             <field name="TEXT">'  http://</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD7">
                                                           <block type="variables_get" id="Q3qO2s#P(jH/]+s=`sg;">
                                                             <field name="VAR" id="C2}3(QK:sjn_0;M@WXM6">ip-address</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD8">
                                                           <block type="text" id="[GRuP4kVQ)yBXm_~?XLn">
                                                             <field name="TEXT">/xled/v1/led/out/brightness</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="STATEMENT">
                                                       <block type="control" id="w46r4o:A,,aVgr@NCGW2">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">0_userdata.0.devices.twinkly1.last_response</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="VXXDL).b0.4NB_KKb(+v">
                                                             <field name="VAR" id="Li8l,iD*a4lAUfTrR./#">result</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="controls_if" id="+3OyyHh$$_UZAgnj,!EX">
                                                             <value name="IF0">
                                                               <block type="logic_compare" id="*r7*K4LHSml!_+c@?0nf">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="oFL-r!ZE;^X3v-E5{q@r">
                                                                     <field name="VAR" id="Li8l,iD*a4lAUfTrR./#">result</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id=".crTI6#$|W5R_}1|8c~D">
                                                                     <field name="TEXT">Invalid Token</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="timeouts_settimeout" id="]!]T:3c[:^C]UD/4vpaV">
                                                                 <field name="NAME">timeout3</field>
                                                                 <field name="DELAY">1000</field>
                                                                 <field name="UNIT">ms</field>
                                                                 <statement name="STATEMENT">
                                                                   <block type="procedures_callnoreturn" id="EiS$0K4lv~,deH6%Vqi*">
                                                                     <mutation name="tokenerstellung"></mutation>
                                                                     <next>
                                                                       <block type="exec" id="{nu5Ft~q(!9,39eE8O,H">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                                         <field name="WITH_STATEMENT">TRUE</field>
                                                                         <field name="LOG"></field>
                                                                         <value name="COMMAND">
                                                                           <shadow type="text" id="]MnC9RK!/]8A^d2-p{.$">
                                                                             <field name="TEXT">text</field>
                                                                           </shadow>
                                                                           <block type="text_join" id="y6bUQx$R#^T}AEn?e(^r">
                                                                             <mutation items="9"></mutation>
                                                                             <value name="ADD0">
                                                                               <block type="text" id="m:@7^x{FFQvWHWfZ?K0r">
                                                                                 <field name="TEXT">curl -d '{"value":</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD1">
                                                                               <block type="on_source" id="{A,ZJ=}qtv?/9{U-J5Z}">
                                                                                 <field name="ATTR">state.val</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD2">
                                                                               <block type="text" id="DaHQVOV.9DNj`NPEJ;LE">
                                                                                 <field name="TEXT">,"mode":"enabled","type":"A"}' -H 'Content-Type: application/json</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD3">
                                                                               <block type="text_newline" id="1#3uF7ndLmSv1*Am2g[7">
                                                                                 <field name="Type">\n</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD4">
                                                                               <block type="text" id="KDy19da_TUp?9`Xb@L|F">
                                                                                 <field name="TEXT">X-Auth-Token: </field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD5">
                                                                               <block type="get_value" id="7_ycWMaJu(pS;yvdSQId">
                                                                                 <field name="ATTR">val</field>
                                                                                 <field name="OID">0_userdata.0.devices.twinkly1.token</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD6">
                                                                               <block type="text" id="3C;CZ]:wKA*AK6l`f8:}">
                                                                                 <field name="TEXT">'  http://</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD7">
                                                                               <block type="variables_get" id="K4er1ePuhS)xrpTBSh1+">
                                                                                 <field name="VAR" id="C2}3(QK:sjn_0;M@WXM6">ip-address</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD8">
                                                                               <block type="text" id="BLz=[InZOBRg#-5m/jvo">
                                                                                 <field name="TEXT">/xled/v1/led/out/brightness</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <statement name="STATEMENT">
                                                                           <block type="control" id="1%ERGs|hD2^:gC[sA^}z">
                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                             <field name="OID">0_userdata.0.devices.twinkly1.last_response</field>
                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                             <value name="VALUE">
                                                                               <block type="variables_get" id="L1-0?qL3zOPU)]Q8L-^~">
                                                                                 <field name="VAR" id="Li8l,iD*a4lAUfTrR./#">result</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </statement>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </statement>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </statement>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                   <block type="on_ext" id="*=Rz8c^+(Uep[d%kgN^Z" x="913" y="113">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                     <field name="CONDITION">any</field>
                                     <field name="ACK_CONDITION"></field>
                                     <value name="OID0">
                                       <shadow type="field_oid" id="b-H}2tTFUu5fH^xR5S0G">
                                         <field name="oid">0_userdata.0.devices.twinkly1.generate_token</field>
                                       </shadow>
                                     </value>
                                     <statement name="STATEMENT">
                                       <block type="controls_if" id="w)JwIcM8fG[^G2o@g#IU">
                                         <value name="IF0">
                                           <block type="on_source" id="S7l^Ygh^qp/THpb#N/Vi">
                                             <field name="ATTR">state.val</field>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="procedures_callnoreturn" id="glH8Vnu3lq|zhdL*!B4P">
                                             <mutation name="tokenerstellung"></mutation>
                                           </block>
                                         </statement>
                                       </block>
                                     </statement>
                                   </block>
                                   <block type="procedures_defnoreturn" id="^9??;ZMVyU07(54V3Eu6" x="938" y="388">
                                     <field name="NAME">tokenerstellung</field>
                                     <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                     <statement name="STACK">
                                       <block type="exec" id="Bq5LNu.#~ON+t,OLyd(I">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                         <field name="WITH_STATEMENT">TRUE</field>
                                         <field name="LOG"></field>
                                         <value name="COMMAND">
                                           <shadow type="text" id="O9{;*_0^t`dZ%{JAl{J{">
                                             <field name="TEXT"></field>
                                           </shadow>
                                           <block type="text_join" id="#jTB:KIs,db`$/4bj!]I">
                                             <mutation items="3"></mutation>
                                             <value name="ADD0">
                                               <block type="text" id="lO4T;Ob7;f$%g?a{lMLD">
                                                 <field name="TEXT">curl -d '{"challenge": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="}' -H 'Content-Type: application/json' http://</field>
                                               </block>
                                             </value>
                                             <value name="ADD1">
                                               <block type="variables_get" id="N(fQwlPipS~;`%=JO?7G">
                                                 <field name="VAR" id="C2}3(QK:sjn_0;M@WXM6">ip-address</field>
                                               </block>
                                             </value>
                                             <value name="ADD2">
                                               <block type="text" id=")UJ3i2ob.UVF3E3)9TO@">
                                                 <field name="TEXT">/xled/v1/login</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="STATEMENT">
                                           <block type="control" id="Y3E;QMmY1QNsX#EJBcAF">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">0_userdata.0.devices.twinkly1.invalid_token_counter</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_arithmetic" id="`C:HNYfvK.FSEllWcW:W">
                                                 <field name="OP">ADD</field>
                                                 <value name="A">
                                                   <shadow type="math_number" id="^:exn5EkqE)Xz?D|SKy}">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="get_value" id="vy(qI~n0+neTVRz79^xM">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">0_userdata.0.devices.twinkly1.invalid_token_counter</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <shadow type="math_number" id="BE#f|Dp3linv[rzbqD7,">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                 </value>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="control" id="us?L?4O4rHFC5D!fDsdJ">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">0_userdata.0.devices.twinkly1.last_response</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="variables_get" id="7S0c3_b[:aEVF](uS:iX">
                                                     <field name="VAR" id="Li8l,iD*a4lAUfTrR./#">result</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="debug" id="7`oD1gOEU#uh+EL?AUc.">
                                                     <field name="Severity">log</field>
                                                     <value name="TEXT">
                                                       <shadow type="text" id="^IpRqdiDT*-j/Q^/QW,_">
                                                         <field name="TEXT">Starte Tokenerstellung</field>
                                                       </shadow>
                                                     </value>
                                                     <next>
                                                       <block type="debug" id="Xs6X/K_nR}k-ykL[M`16" disabled="true">
                                                         <field name="Severity">log</field>
                                                         <value name="TEXT">
                                                           <shadow type="text" id="js$]6ILdYcAJhz8W=;/n">
                                                             <field name="TEXT">test</field>
                                                           </shadow>
                                                           <block type="variables_get" id="aI{(nALcBG$eenM_JT=b">
                                                             <field name="VAR" id="Li8l,iD*a4lAUfTrR./#">result</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="variables_set" id="B5y.Gk@ojBh]^gBn7Ri|">
                                                             <field name="VAR" id="tvi|}J~k+`CSxDW?#-_G">login_list</field>
                                                             <value name="VALUE">
                                                               <block type="lists_split" id="`#WZQy~#_]DAD#ySTlVV">
                                                                 <mutation mode="SPLIT"></mutation>
                                                                 <field name="MODE">SPLIT</field>
                                                                 <value name="INPUT">
                                                                   <block type="variables_get" id="M]:lZztzzg!QI;t@mWzg">
                                                                     <field name="VAR" id="Li8l,iD*a4lAUfTrR./#">result</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="DELIM">
                                                                   <shadow type="text" id="f;7]A0]C9Iorq7FUh*+I">
                                                                     <field name="TEXT">"</field>
                                                                   </shadow>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="control" id="2`c=|y/iww3.=^}.8I59">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">0_userdata.0.devices.twinkly1.token</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="lists_getIndex" id="F1-qcRR[;NFa^DMlqV{o">
                                                                     <mutation statement="false" at="true"></mutation>
                                                                     <field name="MODE">GET</field>
                                                                     <field name="WHERE">FROM_START</field>
                                                                     <value name="VALUE">
                                                                       <block type="variables_get" id="R2XhFDen:RGmV1nikpp[">
                                                                         <field name="VAR" id="tvi|}J~k+`CSxDW?#-_G">login_list</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="AT">
                                                                       <block type="math_number" id="270Qn=t=#(OQM?R3r!+u">
                                                                         <field name="NUM">4</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="timeouts_settimeout" id=",hW#SP83S3D]=+0I3JoQ">
                                                                     <field name="NAME">timeout</field>
                                                                     <field name="DELAY">1000</field>
                                                                     <field name="UNIT">ms</field>
                                                                     <statement name="STATEMENT">
                                                                       <block type="debug" id="^=K4IGZtu1BUem~dDnFk" disabled="true">
                                                                         <field name="Severity">log</field>
                                                                         <value name="TEXT">
                                                                           <shadow type="text" id=".g[a3HxSe}og?21x+^Qk">
                                                                             <field name="TEXT">test</field>
                                                                           </shadow>
                                                                           <block type="get_value" id="qV_*%10mt5bVx~B/53[A">
                                                                             <field name="ATTR">val</field>
                                                                             <field name="OID">0_userdata.0.devices.twinkly1.token</field>
                                                                           </block>
                                                                         </value>
                                                                         <next>
                                                                           <block type="exec" id="F?4D@ZgD!6%*)kMw+C`#">
                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                                             <field name="WITH_STATEMENT">TRUE</field>
                                                                             <field name="LOG"></field>
                                                                             <value name="COMMAND">
                                                                               <shadow type="text" id="hpVJ5z*?j?fV#n/rTh}i">
                                                                                 <field name="TEXT">text</field>
                                                                               </shadow>
                                                                               <block type="text_join" id="9#Ev1:g,Ufv^SHikoIon">
                                                                                 <mutation items="7"></mutation>
                                                                                 <value name="ADD0">
                                                                                   <block type="text" id="7CCd?lZeczQAQpjj6(??">
                                                                                     <field name="TEXT">curl -d '{"challenge-response": "4ecffc0c669796ea843c4ef4dc7d2a33cf081d92"}' -H 'Content-Type: application/json</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD1">
                                                                                   <block type="text_newline" id="{79JO}FxsmNg_rO],+T^">
                                                                                     <field name="Type">\n</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD2">
                                                                                   <block type="text" id="$n6sdnx`e!VGaK*!He[G">
                                                                                     <field name="TEXT">X-Auth-Token: </field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD3">
                                                                                   <block type="get_value" id="L^*fU+dFPAr!s;E{H`EJ">
                                                                                     <field name="ATTR">val</field>
                                                                                     <field name="OID">0_userdata.0.devices.twinkly1.token</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD4">
                                                                                   <block type="text" id="F5J!U?U$yq-,3xS7UPO(">
                                                                                     <field name="TEXT">'  http://</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD5">
                                                                                   <block type="variables_get" id="{rr$];i8Kyl{k0boEz[S">
                                                                                     <field name="VAR" id="C2}3(QK:sjn_0;M@WXM6">ip-address</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD6">
                                                                                   <block type="text" id="$`0sn]I1P5!8_rl3`:hx">
                                                                                     <field name="TEXT">/xled/v1/verify</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <statement name="STATEMENT">
                                                                               <block type="control" id="|4x]CJ+``GuPe~viuF}*">
                                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                 <field name="OID">0_userdata.0.devices.twinkly1.last_response</field>
                                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="variables_get" id="9HuL3|uRhcfeHa.dU$G6">
                                                                                     <field name="VAR" id="Li8l,iD*a4lAUfTrR./#">result</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <next>
                                                                                   <block type="controls_if" id="JjJG3UmSBHE@6./RA~1K">
                                                                                     <mutation else="1"></mutation>
                                                                                     <value name="IF0">
                                                                                       <block type="logic_compare" id="9GB#=W%O2|z3oZc(QCV)">
                                                                                         <field name="OP">EQ</field>
                                                                                         <value name="A">
                                                                                           <block type="variables_get" id="AsZF48_sLRx}5(@:O=hQ">
                                                                                             <field name="VAR" id="Li8l,iD*a4lAUfTrR./#">result</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="B">
                                                                                           <block type="text" id="1fN*O!Pf=sm`ovt,0/nN">
                                                                                             <field name="TEXT">{"code":1000}</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                     <statement name="DO0">
                                                                                       <block type="debug" id="NHzT/CsYQxEDy9~R6MSQ">
                                                                                         <field name="Severity">log</field>
                                                                                         <value name="TEXT">
                                                                                           <shadow type="text" id="#fx%mvWHriHU8Vw{rnw8">
                                                                                             <field name="TEXT">Tokenerstellung erfolgreich.</field>
                                                                                           </shadow>
                                                                                         </value>
                                                                                         <next>
                                                                                           <block type="control" id="{9;o6mIpuEf`7xT-n)3L">
                                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                             <field name="OID">0_userdata.0.devices.twinkly1.token_verify</field>
                                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                                             <value name="VALUE">
                                                                                               <block type="logic_boolean" id="}=yzK!`!Q@E_hN):CP_d">
                                                                                                 <field name="BOOL">TRUE</field>
                                                                                               </block>
                                                                                             </value>
                                                                                           </block>
                                                                                         </next>
                                                                                       </block>
                                                                                     </statement>
                                                                                     <statement name="ELSE">
                                                                                       <block type="debug" id="+2J+Qkd$;V|:M.)E)4qK">
                                                                                         <field name="Severity">log</field>
                                                                                         <value name="TEXT">
                                                                                           <shadow type="text" id="}TE#6+G@7Zq*9jwGt]}`">
                                                                                             <field name="TEXT">Tokenerstellung fehlgeschlagen.</field>
                                                                                           </shadow>
                                                                                         </value>
                                                                                         <next>
                                                                                           <block type="control" id="2;nVgYFKxBDzpT+aGsxq">
                                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                             <field name="OID">0_userdata.0.devices.twinkly1.token_verify</field>
                                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                                             <value name="VALUE">
                                                                                               <block type="logic_boolean" id="V(w(5r+]OyK6/=sn{xA@">
                                                                                                 <field name="BOOL">FALSE</field>
                                                                                               </block>
                                                                                             </value>
                                                                                           </block>
                                                                                         </next>
                                                                                       </block>
                                                                                     </statement>
                                                                                   </block>
                                                                                 </next>
                                                                               </block>
                                                                             </statement>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </statement>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                       </block>
                                     </statement>
                                   </block>
                                  </xml>
                                  

                                  Datenpunkte


                                  0_userdata.0.devices.twinkly1.json

                                  Die API Dokumentation habe ich hierher.
                                  Ich habe auch versucht die MQTT Konfiguration anzupassen, jedoch scheint diese mittlerweile verschlüsselt zu sein (zumindest laut meinen Netzwerk Mitschnitten). Man kann den Datenverkehr zwar zum ioBroker schicken, der kann ohne passendes Zertifikat aber leider nichts damit anfangen. Ich konnte die Verschlüsselung über die API leider nicht deaktvieren oder anpassen. Schade, denn über MQTT lassen sich anscheinend auch die jeweiligen Szenen ansteuern.
                                  Achja, ich bin kein Programmierer. Bspw. ist die direkte Umsetzung in Javascript sicher wesentlich eleganter und/oder das gleichzeitige packen in einen Adapter. Ich bitte um Nachsicht und hoffe einfach, dass ihr (so wie ich jetzt auch) zumindest zufrieden seid, wenn ihr euer Twinkly nun per ioBroker zumindest an und aus schalten könnt. :)

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

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

                                  M 1 Antwort Letzte Antwort
                                  0
                                  • patrickbs96P patrickbs96

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

                                    M Online
                                    M Online
                                    MCU
                                    schrieb am zuletzt editiert von MCU
                                    #62

                                    @patrickbs96 Wie muss man den Adapter einstellen, bekomme keinen Connect. Obwohl die Instanz auf grün ist.


                                    993eb9cd-3f41-48a4-877c-adf79714aee6-image.png
                                    Beim Speichern bekomme ich immer:
                                    78d62fc8-1c49-4a2e-b513-99cca6753da2-image.png

                                    c8c6c373-27d1-4cdc-87cc-8b6b90780408-image.png

                                    f8e06e40-118a-443d-9aa9-9421c76539ed-image.png

                                    Bin angemeldet als User. v2.12.9(build 5611) als App von gestern.

                                    NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                                    Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                                    patrickbs96P 1 Antwort Letzte Antwort
                                    0
                                    • M MCU

                                      @patrickbs96 Wie muss man den Adapter einstellen, bekomme keinen Connect. Obwohl die Instanz auf grün ist.


                                      993eb9cd-3f41-48a4-877c-adf79714aee6-image.png
                                      Beim Speichern bekomme ich immer:
                                      78d62fc8-1c49-4a2e-b513-99cca6753da2-image.png

                                      c8c6c373-27d1-4cdc-87cc-8b6b90780408-image.png

                                      f8e06e40-118a-443d-9aa9-9421c76539ed-image.png

                                      Bin angemeldet als User. v2.12.9(build 5611) als App von gestern.

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

                                      @MCU Sorry, da war ich wohl etwas zu voreilig mit der Veröffentlichung... Ist mein erster Adapter gewesen, da hatte ich bei der Menge an Aufgaben für die Veröffentlichung das wohl vergessen... Ich habe die Anleitung angepasst.

                                      Ändert trotzdem nichts an deinem Fehler, es ist soweit alles richtig konfiguriert. Könntest du dir die neue Version holen, den Adapter dann auf Debug stellen und mir das Log schicken? Dann kann ich zumindest prüfen, weshalb der nicht startet.

                                      @apollon77 Die Fehlermeldung beim Speichern bekomme ich komischerweise jetzt auch (raspberry pi). Unter Windows habe ich keine Fehler erhalten. Komischerweise kriege ich die Fehlermeldung auch, wenn ich die Einstellungen direkt am Datenpunkt system.adapter.twinkly.0 ändere. Hast du eine Idee woran das liegen kann?

                                      apollon77A patrickbs96P M 3 Antworten Letzte Antwort
                                      0
                                      • patrickbs96P patrickbs96

                                        @MCU Sorry, da war ich wohl etwas zu voreilig mit der Veröffentlichung... Ist mein erster Adapter gewesen, da hatte ich bei der Menge an Aufgaben für die Veröffentlichung das wohl vergessen... Ich habe die Anleitung angepasst.

                                        Ändert trotzdem nichts an deinem Fehler, es ist soweit alles richtig konfiguriert. Könntest du dir die neue Version holen, den Adapter dann auf Debug stellen und mir das Log schicken? Dann kann ich zumindest prüfen, weshalb der nicht startet.

                                        @apollon77 Die Fehlermeldung beim Speichern bekomme ich komischerweise jetzt auch (raspberry pi). Unter Windows habe ich keine Fehler erhalten. Komischerweise kriege ich die Fehlermeldung auch, wenn ich die Einstellungen direkt am Datenpunkt system.adapter.twinkly.0 ändere. Hast du eine Idee woran das liegen kann?

                                        apollon77A Offline
                                        apollon77A Offline
                                        apollon77
                                        schrieb am zuletzt editiert von
                                        #64

                                        @patrickbs96 welchen Fehler? Den oben mit dem invalid token? Dann checke mal das skript, dann ist da ein Fehler drin

                                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                        patrickbs96P 1 Antwort Letzte Antwort
                                        0
                                        • apollon77A apollon77

                                          @patrickbs96 welchen Fehler? Den oben mit dem invalid token? Dann checke mal das skript, dann ist da ein Fehler drin

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

                                          @apollon77 Ne nicht den Invalid Token, sondern das beim Speichern die Meldung kommt "Einige Daten wurden nicht gespeichert. Verwerfen?"

                                          apollon77A 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

                                          798

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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