Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [Blockly] Sonnenaufgang mit Tradfri

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Blockly] Sonnenaufgang mit Tradfri

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

      @Homoran:

      Naja, das was passte 😉 `
      Der Log ist schon mal super. Ich glaube was hier passiert, ist folgendes:

      Die library will so wenig wie möglich Daten senden. Daher wird vor jedem Senden ermittelt, welche Änderungen zum zuletzt gespeicherten Lampenzustand erfolgt sind. Der Lampenzustand wird immer dann gespeichert, wenn das Gateway antwortet. In deinem Fall antwortet es, NACHDEM 3 Änderungen geschickt wurden, d.h. es sind 3 Schaltbefehle unterwegs, die jeweils eine Eigenschaft bezogen auf den alten Zustand ändern.

      Das ist normalerweise kein Problem, da dann auch immer nur die eine Eigenschaft geändert wird. Hue und Saturation werden aber zusammengerechnet in zwei Eigenschaften colorX und colorY (Koordinaten im CIE-Farbraum). D.h. du setzt das neue Hue mit dem alten Sättigungswert und dann die neue Sättigung mit dem alten Hue-Wert.

      Möglicherweise gibts da auch noch nen Fehler in der Berechnung, denn die Payloads liegen recht weit auseinander von den Werten her:

      Hue geändert: {"3311":[{"5709":25164,"5710":23427,"5712":0}]}
      Sat geändert: {"3311":[{"5709":34795,"5710":28707,"5712":0}]}
      
      

      Das Problem dürfte sich umgehen lassen, wenn du zusätzlich zwischen den Schaltbefehlen verzögerst. Nach deinen Logs sollten je 200ms ausreichen (etwas mehr wäre sicherer).

      Am liebsten würde ich das ganze colorX/Y-Gefummel aber rauswerfen. Es gibt für hue und sat getrennte Eigenschaften, die bei meinem letzten Test leider noch nicht funktioniert haben. Bei colorTemperature ging er nach irgendeinem Gateway-Update plötzlich.

      Wir hatten das Spiel vor einer Weile ja schon mal im RGB-Test-Thread. Bitte mal ein javascript erstellen mit folgendem Inhalt:

      sendTo("tradfri.0", "request", {
         path: "15001/65539",
         method: "put",
         payload: {
            "3311": [{
               "5707": huewert,
               "5708": satwert
            }]
         }
      }, function (ret) {
         log(JSON.stringify(ret.result.payload));
      });
      
      

      huewert und satwert musst du noch händisch berechnen:

      huewert = runden( (hue in %) / 100 * 65279 )
      

      und analog für satwert.

      Das ganze mal für verschiedene hue/sat-Werte testen => geht es überhaupt? Und funktioniert es wie erwartet?

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        Erst einmal:

        DANKE!

        @AlCalzone:

        Das Problem dürfte sich umgehen lassen, wenn du zusätzlich zwischen den Schaltbefehlen verzögerst. Nach deinen Logs sollten je 200ms ausreichen (etwas mehr wäre sicherer). `

        Deswegen hatte ich schon einmal mit 700ms versucht -> grausam (allerdings noch ohne Transition =0)

        @AlCalzone:

        Wir hatten das Spiel vor einer Weile ja schon mal im RGB-Test-Thread. Bitte mal ein javascript erstellen mit folgendem Inhalt: `
        Da war das :oops:

        Ich erinnerte mich noch an das SendTo und wollte es damit versuchen

        @AlCalzone:

        huewert und satwert musst du noch händisch berechnen: `
        Wäre es sehr unverschämt dich um ein "einfaches" script zu bitten, das eine Sequenz erzeugt?

        Ich teste dann alles!!

        Gruß

        Rainer

        1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators last edited by

          @AlCalzone:

          geht es überhaupt? `

          sendTo("tradfri.0", "request", {
             path: "15001/65539",
             method: "put",
             payload: {
                "3311": [{
                   "5707": 35069,
                   "5708": 58639
                }]
             }
          }, function (ret) {
             log(JSON.stringify(ret.result.payload));
          });
          

          oder

          sendTo("tradfri.0", "request", {
             path: "15001/65539",
             method: "put",
             payload: {
                "3311": [{
                   "5707": 28069,
                   "5708": 32639
                }]
             }
          }, function (ret) {
             log(JSON.stringify(ret.result.payload));
          });
          

          Hat etwas mit der Lampe gemacht 😉

          1 Reply Last reply Reply Quote 0
          • AlCalzone
            AlCalzone Developer last edited by

            @Homoran:

            Hat etwas mit der Lampe gemacht 😉 `
            Steht irgendwas im Log (Stufe debug)?

            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators last edited by

              Wenn du noch logs brauchst mach ich dir welche.

              Kann dir aber versichern, dass ich jetzt viele Zahlenkombinationen versucht habe, zwar grün statt Kerzenlicht bekomme, aber alles klappt soweit.

              Gruß

              Rainer

              1 Reply Last reply Reply Quote 0
              • AlCalzone
                AlCalzone Developer last edited by

                na dann glaub ich dir mal und hau die nächste Version raus 🙂

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators last edited by

                  und dann mache ich dir auch wieder ein log!

                  Ist jetzt eine neue Version auf Github?

                  Gruß

                  Rainer

                  1 Reply Last reply Reply Quote 0
                  • N
                    NemoN last edited by

                    Ich hatte letztlich irgendwo gelesen (finde den Link leider nicht mehr) das die farbigen Lampen nicht das volle Spektrum unterstützen. Evtl. Macht das ja Probleme.

                    Gesendet von meinem SM-G935F mit Tapatalk

                    1 Reply Last reply Reply Quote 0
                    • AlCalzone
                      AlCalzone Developer last edited by

                      @Homoran:

                      Ist jetzt eine neue Version auf Github? `
                      Jetzt! v1.1.2

                      Bitte testen, ob Color/Hue/Saturation allgemein funktioniert. Dann nochmal dein Skript anschmeißen und schauen ob es jetzt läuft.

                      @NemoN:

                      Ich hatte letztlich irgendwo gelesen (finde den Link leider nicht mehr) das die farbigen Lampen nicht das volle Spektrum unterstützen. `
                      Ich weiß, hab ich des öfteren gepostet 😉

                      1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators last edited by

                        Habe 1.1.2 installiert, version wird auch angezeigt.

                        Nicht weiter getestet und sonnenaufgang im schnelldurchlauf wie zuletzt gepostet gestartet.

                        Blitzt immer noch 😞

                        Farbverlauf und Helligkeitssteigerung passt

                        Muss noch ein upload gemacht werden?

                        Edit

                        Auch ein upload verbessert das nicht.

                        Edit2

                        Mit Verzögerungen von je 250ms bleibt der Blitz länger an

                        Edit3

                        Bisher blitzte die Sat immer mit 25% auf, jetzt mit 0%

                        Entsprechend beim manuellen verändern der hue unter objekten -> sat=0

                        Gruß Rainer

                        1 Reply Last reply Reply Quote 0
                        • AlCalzone
                          AlCalzone Developer last edited by

                          @Homoran:

                          Habe 1.1.2 installiert, version wird auch angezeigt.

                          Nicht weiter getestet und sonnenaufgang im schnelldurchlauf wie zuletzt gepostet gestartet.

                          Blitzt immer noch 😞

                          Farbverlauf und Helligkeitssteigerung passt `
                          Dann brauch ich nochmal ein Debug-Log, um zu sehen was passiert.

                          Übrigens: 1.1.3 kann Kommazahlen (abhängig vom state mehr oder weniger fein aufgelöst).

                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators last edited by

                            @AlCalzone:

                            Dann brauch ich nochmal ein Debug-Log, um zu sehen was passiert. `
                            Danke!

                            Mach ich dann heute nachmitteag/abend.

                            Heute morgen hing der Haussegen extrem schief.

                            In einer früheren Version blitzte das nur ganz selten, inzwischen bei jedem Wechsel, also alle 30 Sekunden.

                            Anscheinend mit voller Helligkeit, was besonders am Anfang extrem störend ist.

                            Ich führe das darauf zurück, dass der SAT-Wert kurzfristig auf 0 (=Ultraweiß) zurückgestellt wird.

                            Bis später

                            Rainer

                            1 Reply Last reply Reply Quote 0
                            • AlCalzone
                              AlCalzone Developer last edited by

                              @Homoran:

                              Mach ich dann heute nachmitteag/abend. `
                              Prima! Ich würde es ja selbst machen, aber ich habe und brauche auch keine RGB-Birne 😉

                              1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators last edited by

                                @AlCalzone:

                                aber ich habe und brauche auch keine RGB-Birne `
                                …und ich habe sie nur für dich gekauft 😉

                                Update auf 1.1.3 und Turbomodus:

                                ! ````
                                2018-02-16 15:56:40.672 - debug: tradfri.0 ping successful...
                                2018-02-16 15:56:50.701 - debug: tradfri.0 ping successful...
                                2018-02-16 15:57:00.707 - debug: tradfri.0 ping successful...
                                2018-02-16 15:57:02.316 - info: javascript.0 script.js.Sonnenaufgang_alt: Die Helligkeit ist 0%
                                2018-02-16 15:57:02.317 - info: javascript.0 script.js.Sonnenaufgang_alt: Die Hue ist 30%
                                2018-02-16 15:57:02.318 - info: javascript.0 script.js.Sonnenaufgang_alt: Die Sat ist 100%
                                2018-02-16 15:57:02.324 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":false,"ts":1518793022321,"q":0,"from":"system.adapter.javascript.0","lc":1518693662696}
                                2018-02-16 15:57:02.325 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=false; val=0
                                2018-02-16 15:57:02.332 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":0,"ack":false,"ts":1518793022321,"q":0,"from":"system.adapter.javascript.0","lc":1518793022321}
                                2018-02-16 15:57:02.364 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=false; val=0
                                2018-02-16 15:57:02.372 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":false,"ts":1518793022323,"q":0,"from":"system.adapter.javascript.0","lc":1518693662696}
                                2018-02-16 15:57:02.376 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=false; val=0
                                2018-02-16 15:57:02.378 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":30,"ack":false,"ts":1518793022330,"q":0,"from":"system.adapter.javascript.0","lc":1518793022330}
                                2018-02-16 15:57:02.379 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=false; val=30
                                2018-02-16 15:57:02.386 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":false,"ts":1518793022330,"q":0,"from":"system.adapter.javascript.0","lc":1518693662696}
                                2018-02-16 15:57:02.387 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=false; val=0
                                2018-02-16 15:57:02.404 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":100,"ack":false,"ts":1518793022331,"q":0,"from":"system.adapter.javascript.0","lc":1518793022331}
                                2018-02-16 15:57:02.413 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=false; val=100
                                2018-02-16 15:57:02.539 - debug: tradfri.0 updateResource(15001/65539) > sending payload: {"3311":[{"5712":0,"5851":0}]}
                                2018-02-16 15:57:02.599 - debug: tradfri.0 updateResource(15001/65539) > sending payload: {"3311":[{"5707":5440,"5712":0}]}
                                2018-02-16 15:57:02.652 - debug: tradfri.0 updateResource(15001/65539) > sending payload: {"3311":[{"5708":65279,"5712":0}]}
                                2018-02-16 15:57:02.660 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":true,"ts":1518793022321,"q":0,"from":"system.adapter.tradfri.0","lc":1518693662696}
                                2018-02-16 15:57:02.667 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0
                                2018-02-16 15:57:02.675 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":true,"ts":1518793022323,"q":0,"from":"system.adapter.tradfri.0","lc":1518693662696}
                                2018-02-16 15:57:02.676 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0
                                2018-02-16 15:57:02.677 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":true,"ts":1518793022330,"q":0,"from":"system.adapter.tradfri.0","lc":1518693662696}
                                2018-02-16 15:57:02.678 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0
                                2018-02-16 15:57:02.722 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"f5faf6","5707":5800,"5708":24394,"5709":25022,"5710":24884,"5850":0,"5851":0,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:02.785 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":5440,"5708":0,"5709":20413,"5710":21477,"5850":0,"5851":0,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:02.828 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":5440,"5708":0,"5709":20413,"5710":21477,"5850":0,"5851":0,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:02.935 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":0,"5708":65279,"5709":41779,"5710":21542,"5850":0,"5851":0,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:02.956 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793022859,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:02.956 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:02.957 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793022862,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:02.958 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:02.958 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"f5faf6","ack":true,"ts":1518793022864,"q":0,"from":"system.adapter.tradfri.0","lc":1518764626037}
                                2018-02-16 15:57:02.959 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=f5faf6
                                2018-02-16 15:57:02.960 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":32,"ack":true,"ts":1518793022866,"q":0,"from":"system.adapter.tradfri.0","lc":1518793022866}
                                2018-02-16 15:57:02.961 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=32
                                2018-02-16 15:57:02.962 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":37.4,"ack":true,"ts":1518793022869,"q":0,"from":"system.adapter.tradfri.0","lc":1518793022869}
                                2018-02-16 15:57:02.963 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=37.4
                                2018-02-16 15:57:02.964 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":0,"ack":true,"ts":1518793022871,"q":0,"from":"system.adapter.tradfri.0","lc":1518793022321}
                                2018-02-16 15:57:02.964 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=0
                                2018-02-16 15:57:02.966 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":false,"ack":true,"ts":1518793022873,"q":0,"from":"system.adapter.tradfri.0","lc":1518792970845}
                                2018-02-16 15:57:02.966 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=false
                                2018-02-16 15:57:02.967 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793022876,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:02.968 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:02.968 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793022878,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:02.970 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:02.970 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ffffff","ack":true,"ts":1518793022880,"q":0,"from":"system.adapter.tradfri.0","lc":1518793022880}
                                2018-02-16 15:57:02.971 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ffffff
                                2018-02-16 15:57:02.972 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":30,"ack":true,"ts":1518793022893,"q":0,"from":"system.adapter.tradfri.0","lc":1518793022330}
                                2018-02-16 15:57:02.973 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=30
                                2018-02-16 15:57:02.974 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":0,"ack":true,"ts":1518793022906,"q":0,"from":"system.adapter.tradfri.0","lc":1518793022906}
                                2018-02-16 15:57:02.974 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=0
                                2018-02-16 15:57:02.976 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":0,"ack":true,"ts":1518793022909,"q":0,"from":"system.adapter.tradfri.0","lc":1518793022321}
                                2018-02-16 15:57:02.980 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=0
                                2018-02-16 15:57:02.984 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":false,"ack":true,"ts":1518793022911,"q":0,"from":"system.adapter.tradfri.0","lc":1518792970845}
                                2018-02-16 15:57:02.984 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=false
                                2018-02-16 15:57:02.985 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793022914,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:02.986 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:02.986 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793022916,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:02.987 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:02.992 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ffffff","ack":true,"ts":1518793022919,"q":0,"from":"system.adapter.tradfri.0","lc":1518793022919}
                                2018-02-16 15:57:02.993 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ffffff
                                2018-02-16 15:57:02.994 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":30,"ack":true,"ts":1518793022921,"q":0,"from":"system.adapter.tradfri.0","lc":1518793022330}
                                2018-02-16 15:57:03.000 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=30
                                2018-02-16 15:57:03.002 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":0,"ack":true,"ts":1518793022923,"q":0,"from":"system.adapter.tradfri.0","lc":1518793022923}
                                2018-02-16 15:57:03.003 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=0
                                2018-02-16 15:57:03.004 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":0,"ack":true,"ts":1518793022926,"q":0,"from":"system.adapter.tradfri.0","lc":1518793022321}
                                2018-02-16 15:57:03.005 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=0
                                2018-02-16 15:57:03.005 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":false,"ack":true,"ts":1518793022928,"q":0,"from":"system.adapter.tradfri.0","lc":1518792970845}
                                2018-02-16 15:57:03.006 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=false
                                2018-02-16 15:57:03.028 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793023008,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:03.029 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:03.029 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793023010,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:03.030 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:03.030 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ff0000","ack":true,"ts":1518793023012,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023012}
                                2018-02-16 15:57:03.031 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:03.032 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":0,"ack":true,"ts":1518793023014,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023014}
                                2018-02-16 15:57:03.032 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=0
                                2018-02-16 15:57:03.033 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":100,"ack":true,"ts":1518793023016,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023016}
                                2018-02-16 15:57:03.033 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=100
                                2018-02-16 15:57:03.037 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":0,"ack":true,"ts":1518793023022,"q":0,"from":"system.adapter.tradfri.0","lc":1518793022321}
                                2018-02-16 15:57:03.047 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=0
                                2018-02-16 15:57:03.052 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":false,"ack":true,"ts":1518793023024,"q":0,"from":"system.adapter.tradfri.0","lc":1518792970845}
                                2018-02-16 15:57:03.053 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=false
                                2018-02-16 15:57:03.295 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.color {"val":"ff0000","ack":true,"ts":1518793023285,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023285}
                                2018-02-16 15:57:03.297 - debug: tradfri.0 state with id tradfri.0.G-169143.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:03.297 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.color {"val":"ff0000","ack":true,"ts":1518793023287,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023287}
                                2018-02-16 15:57:03.298 - debug: tradfri.0 state with id tradfri.0.VG-00001.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:03.298 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.hue {"val":0,"ack":true,"ts":1518793023289,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023289}
                                2018-02-16 15:57:03.299 - debug: tradfri.0 state with id tradfri.0.G-169143.hue updated: ack=true; val=0
                                2018-02-16 15:57:03.299 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.hue {"val":0,"ack":true,"ts":1518793023291,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023291}
                                2018-02-16 15:57:03.300 - debug: tradfri.0 state with id tradfri.0.VG-00001.hue updated: ack=true; val=0
                                2018-02-16 15:57:03.310 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.saturation {"val":100,"ack":true,"ts":1518793023300,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023300}
                                2018-02-16 15:57:03.311 - debug: tradfri.0 state with id tradfri.0.G-169143.saturation updated: ack=true; val=100
                                2018-02-16 15:57:03.312 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.saturation {"val":100,"ack":true,"ts":1518793023302,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023302}
                                2018-02-16 15:57:03.314 - debug: tradfri.0 state with id tradfri.0.VG-00001.saturation updated: ack=true; val=100
                                2018-02-16 15:57:03.324 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.brightness {"val":0,"ack":true,"ts":1518793023315,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023315}
                                2018-02-16 15:57:03.325 - debug: tradfri.0 state with id tradfri.0.G-169143.brightness updated: ack=true; val=0
                                2018-02-16 15:57:03.325 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.brightness {"val":0,"ack":true,"ts":1518793023317,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023317}
                                2018-02-16 15:57:03.326 - debug: tradfri.0 state with id tradfri.0.VG-00001.brightness updated: ack=true; val=0
                                2018-02-16 15:57:03.327 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.state {"val":false,"ack":true,"ts":1518793023319,"q":0,"from":"system.adapter.tradfri.0","lc":1518792971131}
                                2018-02-16 15:57:03.327 - debug: tradfri.0 state with id tradfri.0.G-169143.state updated: ack=true; val=false
                                2018-02-16 15:57:03.328 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.state {"val":false,"ack":true,"ts":1518793023322,"q":0,"from":"system.adapter.tradfri.0","lc":1518792971132}
                                2018-02-16 15:57:03.328 - debug: tradfri.0 state with id tradfri.0.VG-00001.state updated: ack=true; val=false
                                2018-02-16 15:57:04.320 - info: javascript.0 script.js.Sonnenaufgang_alt: Die Helligkeit ist 1%
                                2018-02-16 15:57:04.320 - info: javascript.0 script.js.Sonnenaufgang_alt: Die Hue ist 30.1%
                                2018-02-16 15:57:04.321 - info: javascript.0 script.js.Sonnenaufgang_alt: Die Sat ist 99%
                                2018-02-16 15:57:04.325 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":false,"ts":1518793024322,"q":0,"from":"system.adapter.javascript.0","lc":1518693662696}
                                2018-02-16 15:57:04.330 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=false; val=0
                                2018-02-16 15:57:04.331 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":1,"ack":false,"ts":1518793024322,"q":0,"from":"system.adapter.javascript.0","lc":1518793024322}
                                2018-02-16 15:57:04.332 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=false; val=1
                                2018-02-16 15:57:04.333 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":false,"ts":1518793024323,"q":0,"from":"system.adapter.javascript.0","lc":1518693662696}
                                2018-02-16 15:57:04.335 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=false; val=0
                                2018-02-16 15:57:04.336 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":30.1,"ack":false,"ts":1518793024323,"q":0,"from":"system.adapter.javascript.0","lc":1518793024323}
                                2018-02-16 15:57:04.338 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=false; val=30.1
                                2018-02-16 15:57:04.340 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":false,"ts":1518793024324,"q":0,"from":"system.adapter.javascript.0","lc":1518693662696}
                                2018-02-16 15:57:04.341 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=false; val=0
                                2018-02-16 15:57:04.342 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":99,"ack":false,"ts":1518793024324,"q":0,"from":"system.adapter.javascript.0","lc":1518793024324}
                                2018-02-16 15:57:04.342 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=false; val=99
                                2018-02-16 15:57:04.394 - debug: tradfri.0 updateResource(15001/65539) > sending payload: {"3311":[{"5712":0,"5851":3}]}
                                2018-02-16 15:57:04.416 - debug: tradfri.0 updateResource(15001/65539) > sending payload: {"3311":[{"5707":5458,"5712":0}]}
                                2018-02-16 15:57:04.436 - debug: tradfri.0 updateResource(15001/65539) > sending payload: {"3311":[{"5708":64626,"5712":0}]}
                                2018-02-16 15:57:04.444 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":true,"ts":1518793024322,"q":0,"from":"system.adapter.tradfri.0","lc":1518693662696}
                                2018-02-16 15:57:04.445 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0
                                2018-02-16 15:57:04.446 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":true,"ts":1518793024323,"q":0,"from":"system.adapter.tradfri.0","lc":1518693662696}
                                2018-02-16 15:57:04.447 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0
                                2018-02-16 15:57:04.450 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":true,"ts":1518793024324,"q":0,"from":"system.adapter.tradfri.0","lc":1518693662696}
                                2018-02-16 15:57:04.451 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0
                                2018-02-16 15:57:04.475 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":0,"5708":65279,"5709":41779,"5710":21542,"5850":0,"5851":3,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:04.497 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":0,"5708":65279,"5709":41779,"5710":21542,"5850":1,"5851":3,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:04.520 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":5458,"5708":0,"5709":20413,"5710":21477,"5850":1,"5851":3,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:04.538 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":5458,"5708":0,"5709":20413,"5710":21477,"5850":1,"5851":3,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:04.623 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":0,"5708":64626,"5709":41775,"5710":21542,"5850":1,"5851":3,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:04.637 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793024553,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:04.637 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:04.638 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793024556,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:04.639 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:04.639 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ff0000","ack":true,"ts":1518793024558,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023012}
                                2018-02-16 15:57:04.642 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:04.646 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":0,"ack":true,"ts":1518793024560,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024560}
                                2018-02-16 15:57:04.646 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=0
                                2018-02-16 15:57:04.648 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":100,"ack":true,"ts":1518793024563,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024563}
                                2018-02-16 15:57:04.649 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=100
                                2018-02-16 15:57:04.650 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":1.2,"ack":true,"ts":1518793024565,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024565}
                                2018-02-16 15:57:04.654 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=1.2
                                2018-02-16 15:57:04.657 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":false,"ack":true,"ts":1518793024568,"q":0,"from":"system.adapter.tradfri.0","lc":1518792970845}
                                2018-02-16 15:57:04.658 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=false
                                2018-02-16 15:57:04.659 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793024570,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:04.659 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:04.659 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793024573,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:04.660 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:04.660 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ff0000","ack":true,"ts":1518793024575,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023012}
                                2018-02-16 15:57:04.661 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:04.662 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":0,"ack":true,"ts":1518793024577,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024577}
                                2018-02-16 15:57:04.663 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=0
                                2018-02-16 15:57:04.664 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":100,"ack":true,"ts":1518793024580,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024580}
                                2018-02-16 15:57:04.665 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=100
                                2018-02-16 15:57:04.665 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":1.2,"ack":true,"ts":1518793024582,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024582}
                                2018-02-16 15:57:04.666 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=1.2
                                2018-02-16 15:57:04.667 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":true,"ack":true,"ts":1518793024584,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024584}
                                2018-02-16 15:57:04.667 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=true
                                2018-02-16 15:57:04.670 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793024586,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:04.671 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:04.671 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793024589,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:04.672 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:04.672 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ffffff","ack":true,"ts":1518793024591,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024591}
                                2018-02-16 15:57:04.673 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ffffff
                                2018-02-16 15:57:04.674 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":30.1,"ack":true,"ts":1518793024593,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024323}
                                2018-02-16 15:57:04.674 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=30.1
                                2018-02-16 15:57:04.675 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":0,"ack":true,"ts":1518793024596,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024596}
                                2018-02-16 15:57:04.677 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=0
                                2018-02-16 15:57:04.678 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":1.2,"ack":true,"ts":1518793024598,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024598}
                                2018-02-16 15:57:04.678 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=1.2
                                2018-02-16 15:57:04.679 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":true,"ack":true,"ts":1518793024600,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024600}
                                2018-02-16 15:57:04.680 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=true
                                2018-02-16 15:57:04.683 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793024602,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:04.684 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:04.684 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793024605,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:04.684 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:04.686 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ffffff","ack":true,"ts":1518793024607,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024607}
                                2018-02-16 15:57:04.686 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ffffff
                                2018-02-16 15:57:04.687 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":30.1,"ack":true,"ts":1518793024609,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024323}
                                2018-02-16 15:57:04.688 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=30.1
                                2018-02-16 15:57:04.689 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":0,"ack":true,"ts":1518793024612,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024612}
                                2018-02-16 15:57:04.689 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=0
                                2018-02-16 15:57:04.690 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":1.2,"ack":true,"ts":1518793024614,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024614}
                                2018-02-16 15:57:04.691 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=1.2
                                2018-02-16 15:57:04.692 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":true,"ack":true,"ts":1518793024616,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024616}
                                2018-02-16 15:57:04.692 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=true
                                2018-02-16 15:57:04.717 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793024694,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:04.718 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:04.718 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793024696,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:04.719 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:04.719 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ff0000","ack":true,"ts":1518793024698,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024698}
                                2018-02-16 15:57:04.720 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:04.721 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":0,"ack":true,"ts":1518793024701,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024701}
                                2018-02-16 15:57:04.721 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=0
                                2018-02-16 15:57:04.723 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":99,"ack":true,"ts":1518793024703,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024703}
                                2018-02-16 15:57:04.725 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=99
                                2018-02-16 15:57:04.745 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":1.2,"ack":true,"ts":1518793024705,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024614}
                                2018-02-16 15:57:04.747 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=1.2
                                2018-02-16 15:57:04.749 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":true,"ack":true,"ts":1518793024708,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024616}
                                2018-02-16 15:57:04.754 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=true
                                2018-02-16 15:57:04.992 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.color {"val":"ff0000","ack":true,"ts":1518793024978,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023285}
                                2018-02-16 15:57:04.993 - debug: tradfri.0 state with id tradfri.0.G-169143.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:04.994 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.color {"val":"ff0000","ack":true,"ts":1518793024980,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023287}
                                2018-02-16 15:57:04.995 - debug: tradfri.0 state with id tradfri.0.VG-00001.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:04.995 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.hue {"val":0,"ack":true,"ts":1518793024982,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023289}
                                2018-02-16 15:57:04.996 - debug: tradfri.0 state with id tradfri.0.G-169143.hue updated: ack=true; val=0
                                2018-02-16 15:57:04.996 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.hue {"val":0,"ack":true,"ts":1518793024983,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023291}
                                2018-02-16 15:57:04.996 - debug: tradfri.0 state with id tradfri.0.VG-00001.hue updated: ack=true; val=0
                                2018-02-16 15:57:04.997 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.saturation {"val":99,"ack":true,"ts":1518793024986,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024986}
                                2018-02-16 15:57:04.997 - debug: tradfri.0 state with id tradfri.0.G-169143.saturation updated: ack=true; val=99
                                2018-02-16 15:57:04.997 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.saturation {"val":99,"ack":true,"ts":1518793024989,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024989}
                                2018-02-16 15:57:04.998 - debug: tradfri.0 state with id tradfri.0.VG-00001.saturation updated: ack=true; val=99
                                2018-02-16 15:57:05.005 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.brightness {"val":1.2,"ack":true,"ts":1518793025000,"q":0,"from":"system.adapter.tradfri.0","lc":1518793025000}
                                2018-02-16 15:57:05.006 - debug: tradfri.0 state with id tradfri.0.G-169143.brightness updated: ack=true; val=1.2
                                2018-02-16 15:57:05.006 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.brightness {"val":1.2,"ack":true,"ts":1518793025002,"q":0,"from":"system.adapter.tradfri.0","lc":1518793025002}
                                2018-02-16 15:57:05.007 - debug: tradfri.0 state with id tradfri.0.VG-00001.brightness updated: ack=true; val=1.2
                                2018-02-16 15:57:05.011 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.state {"val":true,"ack":true,"ts":1518793025009,"q":0,"from":"system.adapter.tradfri.0","lc":1518793025009}
                                2018-02-16 15:57:05.012 - debug: tradfri.0 state with id tradfri.0.G-169143.state updated: ack=true; val=true
                                2018-02-16 15:57:05.018 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.state {"val":true,"ack":true,"ts":1518793025015,"q":0,"from":"system.adapter.tradfri.0","lc":1518793025015}
                                2018-02-16 15:57:05.019 - debug: tradfri.0 state with id tradfri.0.VG-00001.state updated: ack=true; val=true
                                2018-02-16 15:57:06.322 - info: javascript.0 script.js.Sonnenaufgang_alt: Die Helligkeit ist 2%
                                2018-02-16 15:57:06.322 - info: javascript.0 script.js.Sonnenaufgang_alt: Die Hue ist 30.200000000000003%
                                2018-02-16 15:57:06.323 - info: javascript.0 script.js.Sonnenaufgang_alt: Die Sat ist 98%
                                2018-02-16 15:57:06.326 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":false,"ts":1518793026325,"q":0,"from":"system.adapter.javascript.0","lc":1518693662696}
                                2018-02-16 15:57:06.329 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=false; val=0
                                2018-02-16 15:57:06.380 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":2,"ack":false,"ts":1518793026325,"q":0,"from":"system.adapter.javascript.0","lc":1518793026325}
                                2018-02-16 15:57:06.382 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=false; val=2
                                2018-02-16 15:57:06.383 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":false,"ts":1518793026326,"q":0,"from":"system.adapter.javascript.0","lc":1518693662696}
                                2018-02-16 15:57:06.384 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=false; val=0
                                2018-02-16 15:57:06.386 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":30.200000000000003,"ack":false,"ts":1518793026326,"q":0,"from":"system.adapter.javascript.0","lc":1518793026326}
                                2018-02-16 15:57:06.387 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=false; val=30.200000000000003
                                2018-02-16 15:57:06.388 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":false,"ts":1518793026327,"q":0,"from":"system.adapter.javascript.0","lc":1518693662696}
                                2018-02-16 15:57:06.389 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=false; val=0
                                2018-02-16 15:57:06.392 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":98,"ack":false,"ts":1518793026328,"q":0,"from":"system.adapter.javascript.0","lc":1518793026328}
                                2018-02-16 15:57:06.392 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=false; val=98
                                2018-02-16 15:57:06.440 - debug: tradfri.0 updateResource(15001/65539) > sending payload: {"3311":[{"5712":0,"5851":5}]}
                                2018-02-16 15:57:06.476 - debug: tradfri.0 updateResource(15001/65539) > sending payload: {"3311":[{"5707":5476,"5712":0}]}
                                2018-02-16 15:57:06.511 - debug: tradfri.0 updateResource(15001/65539) > sending payload: {"3311":[{"5708":63973,"5712":0}]}
                                2018-02-16 15:57:06.521 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":true,"ts":1518793026325,"q":0,"from":"system.adapter.tradfri.0","lc":1518693662696}
                                2018-02-16 15:57:06.525 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0
                                2018-02-16 15:57:06.527 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":true,"ts":1518793026326,"q":0,"from":"system.adapter.tradfri.0","lc":1518693662696}
                                2018-02-16 15:57:06.528 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0
                                2018-02-16 15:57:06.529 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":true,"ts":1518793026327,"q":0,"from":"system.adapter.tradfri.0","lc":1518693662696}
                                2018-02-16 15:57:06.530 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0
                                2018-02-16 15:57:06.544 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":0,"5708":64626,"5709":41775,"5710":21542,"5850":1,"5851":5,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:06.573 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":5476,"5708":0,"5709":20413,"5710":21477,"5850":1,"5851":5,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:06.602 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":5476,"5708":0,"5709":20413,"5710":21477,"5850":1,"5851":5,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:06.701 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":0,"5708":63973,"5709":41760,"5710":21542,"5850":1,"5851":5,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:06.749 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793026625,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:06.750 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:06.751 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793026628,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:06.752 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:06.752 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ff0000","ack":true,"ts":1518793026631,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024698}
                                2018-02-16 15:57:06.753 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:06.757 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":0,"ack":true,"ts":1518793026635,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026635}
                                2018-02-16 15:57:06.758 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=0
                                2018-02-16 15:57:06.759 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":99,"ack":true,"ts":1518793026638,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026638}
                                2018-02-16 15:57:06.760 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=99
                                2018-02-16 15:57:06.762 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":2,"ack":true,"ts":1518793026642,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026325}
                                2018-02-16 15:57:06.763 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=2
                                2018-02-16 15:57:06.779 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":true,"ack":true,"ts":1518793026646,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024616}
                                2018-02-16 15:57:06.780 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=true
                                2018-02-16 15:57:06.783 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793026649,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:06.784 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:06.784 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793026652,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:06.785 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:06.786 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ffffff","ack":true,"ts":1518793026656,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026656}
                                2018-02-16 15:57:06.786 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ffffff
                                2018-02-16 15:57:06.788 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":30.2,"ack":true,"ts":1518793026659,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026659}
                                2018-02-16 15:57:06.789 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=30.2
                                2018-02-16 15:57:06.791 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":0,"ack":true,"ts":1518793026662,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026662}
                                2018-02-16 15:57:06.792 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=0
                                2018-02-16 15:57:06.794 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":2,"ack":true,"ts":1518793026665,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026325}
                                2018-02-16 15:57:06.794 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=2
                                2018-02-16 15:57:06.796 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":true,"ack":true,"ts":1518793026669,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024616}
                                2018-02-16 15:57:06.796 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=true
                                2018-02-16 15:57:06.798 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793026672,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:06.798 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:06.799 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793026675,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:06.803 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:06.804 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ffffff","ack":true,"ts":1518793026678,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026678}
                                2018-02-16 15:57:06.804 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ffffff
                                2018-02-16 15:57:06.806 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":30.2,"ack":true,"ts":1518793026682,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026682}
                                2018-02-16 15:57:06.807 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=30.2
                                2018-02-16 15:57:06.808 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":0,"ack":true,"ts":1518793026685,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026685}
                                2018-02-16 15:57:06.809 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=0
                                2018-02-16 15:57:06.810 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":2,"ack":true,"ts":1518793026688,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026325}
                                2018-02-16 15:57:06.811 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=2
                                2018-02-16 15:57:06.812 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":true,"ack":true,"ts":1518793026693,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024616}
                                2018-02-16 15:57:06.813 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=true
                                2018-02-16 15:57:06.839 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793026815,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:06.841 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:06.841 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793026818,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:06.842 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:06.843 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ff0000","ack":true,"ts":1518793026821,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026821}
                                2018-02-16 15:57:06.843 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:06.845 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":0,"ack":true,"ts":1518793026824,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026824}
                                2018-02-16 15:57:06.846 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=0
                                2018-02-16 15:57:06.847 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":98,"ack":true,"ts":1518793026827,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026827}
                                2018-02-16 15:57:06.848 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=98
                                2018-02-16 15:57:06.849 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":2,"ack":true,"ts":1518793026830,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026325}
                                2018-02-16 15:57:06.850 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=2
                                2018-02-16 15:57:06.851 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":true,"ack":true,"ts":1518793026833,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024616}
                                2018-02-16 15:57:06.852 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=true
                                2018-02-16 15:57:07.129 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.color {"val":"ff0000","ack":true,"ts":1518793027103,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023285}
                                2018-02-16 15:57:07.130 - debug: tradfri.0 state with id tradfri.0.G-169143.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:07.131 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.color {"val":"ff0000","ack":true,"ts":1518793027105,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023287}
                                2018-02-16 15:57:07.132 - debug: tradfri.0 state with id tradfri.0.VG-00001.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:07.132 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.hue {"val":0,"ack":true,"ts":1518793027108,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023289}
                                2018-02-16 15:57:07.133 - debug: tradfri.0 state with id tradfri.0.G-169143.hue updated: ack=true; val=0
                                2018-02-16 15:57:07.133 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.hue {"val":0,"ack":true,"ts":1518793027111,"q":0,"from":"system.adapter.tradfri.0","lc":1518793023291}
                                2018-02-16 15:57:07.135 - debug: tradfri.0 state with id tradfri.0.VG-00001.hue updated: ack=true; val=0
                                2018-02-16 15:57:07.136 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.saturation {"val":98,"ack":true,"ts":1518793027117,"q":0,"from":"system.adapter.tradfri.0","lc":1518793027117}
                                2018-02-16 15:57:07.136 - debug: tradfri.0 state with id tradfri.0.G-169143.saturation updated: ack=true; val=98
                                2018-02-16 15:57:07.137 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.saturation {"val":98,"ack":true,"ts":1518793027121,"q":0,"from":"system.adapter.tradfri.0","lc":1518793027121}
                                2018-02-16 15:57:07.138 - debug: tradfri.0 state with id tradfri.0.VG-00001.saturation updated: ack=true; val=98
                                2018-02-16 15:57:07.138 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.brightness {"val":2,"ack":true,"ts":1518793027124,"q":0,"from":"system.adapter.tradfri.0","lc":1518793027124}
                                2018-02-16 15:57:07.139 - debug: tradfri.0 state with id tradfri.0.G-169143.brightness updated: ack=true; val=2
                                2018-02-16 15:57:07.150 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.brightness {"val":2,"ack":true,"ts":1518793027139,"q":0,"from":"system.adapter.tradfri.0","lc":1518793027139}
                                2018-02-16 15:57:07.152 - debug: tradfri.0 state with id tradfri.0.VG-00001.brightness updated: ack=true; val=2
                                2018-02-16 15:57:07.153 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.G-169143.state {"val":true,"ack":true,"ts":1518793027142,"q":0,"from":"system.adapter.tradfri.0","lc":1518793025009}
                                2018-02-16 15:57:07.153 - debug: tradfri.0 state with id tradfri.0.G-169143.state updated: ack=true; val=true
                                2018-02-16 15:57:07.154 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.VG-00001.state {"val":true,"ack":true,"ts":1518793027145,"q":0,"from":"system.adapter.tradfri.0","lc":1518793025015}
                                2018-02-16 15:57:07.155 - debug: tradfri.0 state with id tradfri.0.VG-00001.state updated: ack=true; val=true
                                2018-02-16 15:57:08.325 - info: javascript.0 script.js.Sonnenaufgang_alt: Die Helligkeit ist 3%
                                2018-02-16 15:57:08.325 - info: javascript.0 script.js.Sonnenaufgang_alt: Die Hue ist 30.300000000000004%
                                2018-02-16 15:57:08.326 - info: javascript.0 script.js.Sonnenaufgang_alt: Die Sat ist 97%
                                2018-02-16 15:57:08.330 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":false,"ts":1518793028327,"q":0,"from":"system.adapter.javascript.0","lc":1518693662696}
                                2018-02-16 15:57:08.331 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=false; val=0
                                2018-02-16 15:57:08.342 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":3,"ack":false,"ts":1518793028328,"q":0,"from":"system.adapter.javascript.0","lc":1518793028328}
                                2018-02-16 15:57:08.348 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=false; val=3
                                2018-02-16 15:57:08.350 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":false,"ts":1518793028328,"q":0,"from":"system.adapter.javascript.0","lc":1518693662696}
                                2018-02-16 15:57:08.351 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=false; val=0
                                2018-02-16 15:57:08.355 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":30.300000000000004,"ack":false,"ts":1518793028330,"q":0,"from":"system.adapter.javascript.0","lc":1518793028330}
                                2018-02-16 15:57:08.356 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=false; val=30.300000000000004
                                2018-02-16 15:57:08.358 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":false,"ts":1518793028330,"q":0,"from":"system.adapter.javascript.0","lc":1518693662696}
                                2018-02-16 15:57:08.359 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=false; val=0
                                2018-02-16 15:57:08.361 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":97,"ack":false,"ts":1518793028331,"q":0,"from":"system.adapter.javascript.0","lc":1518793028331}
                                2018-02-16 15:57:08.363 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=false; val=97
                                2018-02-16 15:57:08.408 - debug: tradfri.0 updateResource(15001/65539) > sending payload: {"3311":[{"5712":0,"5851":8}]}
                                2018-02-16 15:57:08.445 - debug: tradfri.0 updateResource(15001/65539) > sending payload: {"3311":[{"5707":5494,"5712":0}]}
                                2018-02-16 15:57:08.480 - debug: tradfri.0 updateResource(15001/65539) > sending payload: {"3311":[{"5708":63321,"5712":0}]}
                                2018-02-16 15:57:08.487 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":true,"ts":1518793028327,"q":0,"from":"system.adapter.tradfri.0","lc":1518693662696}
                                2018-02-16 15:57:08.488 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0
                                2018-02-16 15:57:08.489 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":true,"ts":1518793028328,"q":0,"from":"system.adapter.tradfri.0","lc":1518693662696}
                                2018-02-16 15:57:08.491 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0
                                2018-02-16 15:57:08.492 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.transitionDuration {"val":0,"ack":true,"ts":1518793028330,"q":0,"from":"system.adapter.tradfri.0","lc":1518693662696}
                                2018-02-16 15:57:08.493 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0
                                2018-02-16 15:57:08.523 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":0,"5708":63973,"5709":41760,"5710":21542,"5850":1,"5851":8,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:08.552 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":5494,"5708":0,"5709":20413,"5710":21477,"5850":1,"5851":8,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:08.582 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":5494,"5708":0,"5709":20413,"5710":21477,"5850":1,"5851":8,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:08.777 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.002","6":1},"3311":[{"5706":"0","5707":0,"5708":63321,"5709":41734,"5710":21542,"5850":1,"5851":8,"9003":0}],"5750":2,"9001":"TRADFRI bulb E27 CWS opal 600lm","9002":1508329856,"9003":65539,"9019":1,"9020":1518792917,"9054":0}
                                2018-02-16 15:57:08.804 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793028617,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:08.805 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:08.806 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793028622,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:08.807 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:08.807 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ff0000","ack":true,"ts":1518793028626,"q":0,"from":"system.adapter.tradfri.0","lc":1518793026821}
                                2018-02-16 15:57:08.808 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:08.811 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":0,"ack":true,"ts":1518793028631,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028631}
                                2018-02-16 15:57:08.812 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=0
                                2018-02-16 15:57:08.820 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":98,"ack":true,"ts":1518793028636,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028636}
                                2018-02-16 15:57:08.822 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=98
                                2018-02-16 15:57:08.824 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":3.1,"ack":true,"ts":1518793028640,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028640}
                                2018-02-16 15:57:08.825 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=3.1
                                2018-02-16 15:57:08.826 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":true,"ack":true,"ts":1518793028645,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024616}
                                2018-02-16 15:57:08.827 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=true
                                2018-02-16 15:57:08.828 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793028650,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:08.829 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:08.830 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793028654,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:08.830 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:08.831 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ffffff","ack":true,"ts":1518793028659,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028659}
                                2018-02-16 15:57:08.832 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ffffff
                                2018-02-16 15:57:08.833 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":30.3,"ack":true,"ts":1518793028667,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028667}
                                2018-02-16 15:57:08.834 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=30.3
                                2018-02-16 15:57:08.836 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":0,"ack":true,"ts":1518793028672,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028672}
                                2018-02-16 15:57:08.836 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=0
                                2018-02-16 15:57:08.838 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":3.1,"ack":true,"ts":1518793028697,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028697}
                                2018-02-16 15:57:08.839 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=3.1
                                2018-02-16 15:57:08.840 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":true,"ack":true,"ts":1518793028704,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024616}
                                2018-02-16 15:57:08.841 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=true
                                2018-02-16 15:57:08.842 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793028706,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:08.843 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:08.843 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793028707,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:08.844 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:08.845 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ffffff","ack":true,"ts":1518793028708,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028708}
                                2018-02-16 15:57:08.845 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ffffff
                                2018-02-16 15:57:08.847 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":30.3,"ack":true,"ts":1518793028709,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028709}
                                2018-02-16 15:57:08.848 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=30.3
                                2018-02-16 15:57:08.849 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":0,"ack":true,"ts":1518793028710,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028710}
                                2018-02-16 15:57:08.850 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=0
                                2018-02-16 15:57:08.851 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":3.1,"ack":true,"ts":1518793028724,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028724}
                                2018-02-16 15:57:08.852 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=3.1
                                2018-02-16 15:57:08.853 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":true,"ack":true,"ts":1518793028729,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024616}
                                2018-02-16 15:57:08.854 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=true
                                2018-02-16 15:57:08.882 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.alive {"val":true,"ack":true,"ts":1518793028856,"q":0,"from":"system.adapter.tradfri.0","lc":1518764625370}
                                2018-02-16 15:57:08.883 - debug: tradfri.0 state with id tradfri.0.L-65539.alive updated: ack=true; val=true
                                2018-02-16 15:57:08.884 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lastSeen {"val":1518792917,"ack":true,"ts":1518793028859,"q":0,"from":"system.adapter.tradfri.0","lc":1518792931141}
                                2018-02-16 15:57:08.885 - debug: tradfri.0 state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1518792917
                                2018-02-16 15:57:08.885 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.color {"val":"ff0000","ack":true,"ts":1518793028863,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028863}
                                2018-02-16 15:57:08.886 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.color updated: ack=true; val=ff0000
                                2018-02-16 15:57:08.888 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.hue {"val":0,"ack":true,"ts":1518793028866,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028866}
                                2018-02-16 15:57:08.889 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.hue updated: ack=true; val=0
                                2018-02-16 15:57:08.891 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.saturation {"val":97,"ack":true,"ts":1518793028869,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028869}
                                2018-02-16 15:57:08.891 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.saturation updated: ack=true; val=97
                                2018-02-16 15:57:08.900 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.brightness {"val":3.1,"ack":true,"ts":1518793028872,"q":0,"from":"system.adapter.tradfri.0","lc":1518793028724}
                                2018-02-16 15:57:08.901 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=3.1
                                2018-02-16 15:57:08.903 - debug: tradfri.0 redis pmessage io.tradfri.0.* io.tradfri.0.L-65539.lightbulb.state {"val":true,"ack":true,"ts":1518793028875,"q":0,"from":"system.adapter.tradfri.0","lc":1518793024616}
                                2018-02-16 15:57:08.904 - debug: tradfri.0 state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=true

                                
                                Gruß
                                
                                Rainer
                                1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators last edited by

                                  und jetzt springt auch der HUE-Wert zwischendrin immer auf 0

                                  ! value acknowledged from timestamp 38.8 true 2018-02-16T14:59:59.105Z 0 true 2018-02-16T14:59:59.140Z 30.8 true 2018-02-16T14:59:59.166Z 0 true 2018-02-16T14:59:59.191Z 30.8 true 2018-02-16T15:00:01.235Z 0 true 2018-02-16T15:00:01.238Z 39.00000000000013 false 2018-02-16T15:00:03.011Z 39 true 2018-02-16T15:00:03.100Z 0 true 2018-02-16T15:00:03.124Z 0 true 2018-02-16T15:00:03.163Z 30.8 true 2018-02-16T15:00:03.165Z 360 true 2018-02-16T15:00:03.192Z 39.10000000000013 false 2018-02-16T15:00:05.023Z 360 true 2018-02-16T15:00:05.241Z 39.1 true 2018-02-16T15:00:05.282Z 0 true 2018-02-16T15:00:05.368Z 39.20000000000013 false 2018-02-16T15:00:07.022Z 39.2 true 2018-02-16T15:00:07.253Z 39.2 true 2018-02-16T15:00:07.258Z 0 true 2018-02-16T15:00:07.353Z 39.30000000000013 false 2018-02-16T15:00:09.072Z 0 true 2018-02-16T15:00:09.594Z 39.3 true 2018-02-16T15:00:09.613Z 0 true 2018-02-16T15:00:09.761Z 39.4 true 2018-02-16T15:00:11.236Z 0 true 2018-02-16T15:00:11.335Z 30.8 true 2018-02-16T15:00:11.338Z 30.8 true 2018-02-16T15:00:11.338Z 0 true 2018-02-16T15:00:11.342Z 39.500000000000135 false 2018-02-16T15:00:13.039Z 0 true 2018-02-16T15:00:13.094Z 39.5 true 2018-02-16T15:00:13.113Z 0 true 2018-02-16T15:00:13.132Z 0 true 2018-02-16T15:00:13.160Z 30.8 true 2018-02-16T15:00:13.180Z 360 true 2018-02-16T15:00:13.210Z 39.600000000000136 false 2018-02-16T15:00:15.043Z 39.6 true 2018-02-16T15:00:15.101Z 0 true 2018-02-16T15:00:15.123Z 0 true 2018-02-16T15:00:15.160Z 30.8 true 2018-02-16T15:00:15.162Z 360 true 2018-02-16T15:00:15.194Z 39.70000000000014 false 2018-02-16T15:00:17.043Z 39.7 true 2018-02-16T15:00:17.219Z 0 true 2018-02-16T15:00:17.261Z 39.80000000000014 false 2018-02-16T15:00:19.103Z 0 true 2018-02-16T15:00:19.612Z 39.8 true 2018-02-16T15:00:19.630Z 0 true 2018-02-16T15:00:19.832Z 0 true 2018-02-16T15:00:19.841Z !

                                  1 Reply Last reply Reply Quote 0
                                  • AlCalzone
                                    AlCalzone Developer last edited by

                                    @Homoran:

                                    …und ich habe sie nur für dich gekauft 😉 `
                                    ♥

                                    Laut Log macht der Adapter genau was ich erwarte, leider mag das Gateway das nicht so. Das Kommando für Hue sendet auch nur Hue, allerdings fasst das Gateway das so auf, dass Saturation 0 sein soll - und umgekehrt.

                                    Ich bau später 2 Änderungen ein, die das beheben sollten:

                                    • Unbestätigte Änderungen müssen in nachfolgenden Payloads wiederverwendet werden => https://github.com/AlCalzone/node-tradf … /issues/23

                                    • Kurzzeitiges Sammeln von Änderungen, die dann zusammen in 1 Payload gesendet werden => https://github.com/AlCalzone/ioBroker.tradfri/issues/37

                                    Aber: Deine Kommazahlen werden jetzt mit ack=true bestätigt 😉

                                    AlCalzone created this issue in AlCalzone/ioBroker.tradfri

                                    open "Collect" changes for a short time before making a request #37

                                    1 Reply Last reply Reply Quote 0
                                    • AlCalzone
                                      AlCalzone Developer last edited by

                                      @Homoran:

                                      Hat etwas mit der Lampe gemacht 😉 `
                                      Eins müsstest du bitte nochmal testen:

                                      sendTo("tradfri.0", "request", {
                                         path: "15001/65539",
                                         method: "put",
                                         payload: {
                                            "3311": [{
                                               "5707": 35069, // HUE
                                               "5708": 58639, // SAT
                                               "5712": 20
                                            }]
                                         }
                                      });
                                      

                                      bzw. andere Zahlenkombinationen für Hue/Sat. Fadet die Lampe zur Zielfarbe (über 2s) und stimmt die Farbe auch?

                                      1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators last edited by

                                        @AlCalzone:

                                        Eins müsstest du bitte nochmal testen: `
                                        Klar doch! Immer gerne.

                                        Nur diesmal nicht sofort 😞

                                        Hab gerade den PC runtergefahren und wollte in Familie machen (Kinonachmittag/abend)

                                        Gruß Rainer

                                        1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators last edited by

                                          Habe im Tester-Thread weiter gemacht.

                                          Das dort gepostete Skript läuft smooth durch, ohne Störungen.

                                          Wenn ich den Wert 5712 erhöhe sogar langsamer (ist das x*100msec?)

                                          Gruß

                                          Rainer

                                          1 Reply Last reply Reply Quote 0
                                          • AlCalzone
                                            AlCalzone Developer last edited by

                                            @Homoran:

                                            Habe im Tester-Thread weiter gemacht.

                                            Das dort gepostete Skript läuft smooth durch, ohne Störungen.

                                            Wenn ich den Wert 5712 erhöhe sogar langsamer (ist das x*100msec?) `
                                            Prima! Dann kann ich das so machen. Muss nur noch das "Sammeln" von Änderungen hinbekommen, damit nicht erst Hue und dann Hue+Sat gesendet werden.

                                            5712 ist die Transition time in 10tel Sekunden, das hast du richtig erfasst.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            952
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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