Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. [Neuer Adapter] hue-extended

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    [Neuer Adapter] hue-extended

    This topic has been deleted. Only users with topic management privileges can see it.
    • cash
      cash Most Active @Zefau last edited by

      @Zefau Ja. Ist mir selber nicht aufgefallen.

      Zefau 1 Reply Last reply Reply Quote 0
      • Zefau
        Zefau @cash last edited by

        @cash Werde eine Option einbauen, um gelöschte Szenen nicht in die States zu laden, siehe https://github.com/Zefau/ioBroker.hue-extended/projects/1#card-26726152

        1 Reply Last reply Reply Quote 0
        • cash
          cash Most Active last edited by

          Ich glaube reycle steht für etwas anderes? In der Hue Dokumentation steht:

          Indicates whether the scene can be automatically deleted by the bridge. Only available by POSTSet to ‘false’ when omitted. Legacy scenes created by PUT are defaulted to true. When set to ‘false’ the bridge keeps the scene until deleted by an application.

          Jetzt ist mein englisch zwar nicht so richtig gut aber ich übersetze es so das ein true nicht für gelöschte Szene steht oder?

          Zefau 1 Reply Last reply Reply Quote 0
          • Zefau
            Zefau @cash last edited by

            @cash Ja, liest sich merkwürdig. When set to ‘false’ the bridge keeps the scene until deleted by an application. könnte man auch so lesen, dass wenn die application es gelöscht hat, es auf true geht. Indicates whether the scene can be automatically deleted by the bridge. liest sich allerdings auch so, als wenn die Bridge alle Szenen mit true (irgendwann) automatisch löscht. Bestätigt aber aus meiner Sicht, dass diese dann vorher in einer Applikation manuell gelöscht wurde (und dann von false auf true geht und für das Löschen durch die Bridge "freigegeben" ist).

            cash 1 Reply Last reply Reply Quote 0
            • cash
              cash Most Active @Zefau last edited by

              @Zefau Kann auch sein.

              Ich habe da gerade noch eine andere Frage und zwar zum Thema Sensoren. Ich habe einen Bewegungsmelder und den würde ich gerne per Adapter deaktivieren. Es gibt zwar den Datenpunkt aber dieses ist nicht änderbar. Stelle ich um auf write true kann ich das Feld zwar anpassen aber der Adapter scheint die Änderung nicht weiterzugeben. Könnte man das implementieren?

              Wozu braucht man das? In der Hue App ist der Bewegungsmelder einen Raum zugeordnet. Sobald Bewegung erkannt wird schaltet das Licht an und nach x Minuten ohne Bewegung aus. Schalte ich das Licht mittels eines Schalters und Javascript ein wird durch Inaktivität des Timers das Licht wieder ausgeschaltet. Wenn ich den Datenpunkt ändern kann könnte ich den Bewegungsmelder jederzeit deaktivieren und die Lampe bleibt so lange an bis ich das Licht per Schalter ausschalte und den Bewegungsmelder wieder aktiviere...

              Über HueLabs gibt es zwar eine halbgare Lösung „do not disturb“ die sorgt dafür das wenn Bewegung inaktiv und Licht eingeschaltet wird wird die Lampe nicht ausgeschaltet. Das funktioniert auch ganz gut. Blöd ist nur das das Licht eingeschaltet werden muss bevor eine Bewegung erkannt wurde also bevor man das Zimmer betritt.

              Zefau 1 Reply Last reply Reply Quote 0
              • Zefau
                Zefau @cash last edited by

                @cash sagte in [Neuer Adapter] hue-extended:

                Könnte man das implementieren?

                Kann ich machen. Ich habe selbst keinen. Kannst du mir - analog zu oben - die Ausgabe der Bridge zum Bewegungsmelder posten?

                cash 1 Reply Last reply Reply Quote 0
                • cash
                  cash Most Active @Zefau last edited by

                  @Zefau
                  Unter config -- on -- true

                  {
                     "state": {
                     	"presence": false,
                     	"lastupdated": "2019-09-21T08:41:58"
                     },
                     "swupdate": {
                     	"state": "noupdates",
                     	"lastinstall": "2019-03-17T20:50:19"
                     },
                     "config": {
                     	"on": true,
                     	"battery": 100,
                     	"reachable": true,
                     	"alert": "none",
                     	"ledindication": false,
                     	"usertest": false,
                     	"sensitivity": 2,
                     	"sensitivitymax": 2,
                     	"pending": []
                     },
                     "name": "Badezimmer Bewegungsmelder",
                     "type": "ZLLPresence",
                     "modelid": "SML001",
                     "manufacturername": "Philips",
                     "productname": "Hue motion sensor",
                     "swversion": "6.1.1.27575",
                     "uniqueid": "00:17:88:01:03:2b:49:f7-02-0406",
                     "capabilities": {
                     	"certified": true,
                     	"primary": true
                     }
                  }
                  

                  Zefau 1 Reply Last reply Reply Quote 0
                  • bmueller77
                    bmueller77 @Zefau last edited by

                    @Zefau Klasse. Freu mich auf das Update. Danke.

                    1 Reply Last reply Reply Quote 0
                    • Zefau
                      Zefau @cash last edited by

                      @cash sagte in [Neuer Adapter] hue-extended:

                      Unter config -- on -- true

                      Könntest du bitte - wieder analog zu oben (also vom hue Dashboard) - das Folgende mal eingeben und das Command Response hier posten?

                      URL: /api/<deinApiUser>/sensors/<sensorId>/config
                      Body: {"on": false} (bzw. true)
                      Button: PUT

                      Könntest du danach auch mal Folgendes probieren (würde mich interessieren, ob das auch geht)?

                      URL: /api/<deinApiUser>/sensors/<sensorId>/state
                      Body: {"presence": true} (bzw. false)
                      Button: PUT

                      cash 1 Reply Last reply Reply Quote 0
                      • cash
                        cash Most Active @Zefau last edited by

                        @Zefau said in [Neuer Adapter] hue-extended:

                        {"presence": true}

                        Mag er nicht. Was ja irgendwie auch logisch ist:

                        [
                           {
                           	"error": {
                           		"type": 8,
                           		"address": "/sensors/19/state",
                           		"description": "parameter, presence, is not modifiable"
                           	}
                           }
                        ]
                        

                        on false fand er gut:

                        
                           {
                           	"success": {
                           		"/sensors/19/config/on": false
                           	}
                           }
                        ]
                        

                        Und wie zu erwarten war der Bewegungsmelder danach in der Hue App auch direkt deaktiviert. Beim on true kam ebenfalls ein success...

                        Zefau 1 Reply Last reply Reply Quote 0
                        • M
                          mrMuppet last edited by

                          Ich hab nun endlich auch auf diesen Adapter umsteigen können. Leider wird ct noch etwas anders behandelt als im original hue. Ich hab leider noch keine Infos zu den extrema gefunden. Ist 127-500 als Wert korrekt?

                          Zefau 3 Replies Last reply Reply Quote 0
                          • Zefau
                            Zefau @mrMuppet last edited by

                            @mrMuppet laut API Dokumentation:

                            The Mired Color temperature of the light. 2012 connected lights are capable of 153 (6500K) to 500 (2000K).
                            
                            1 Reply Last reply Reply Quote 0
                            • Zefau
                              Zefau @mrMuppet last edited by

                              @mrMuppet habe mal durchprobiert: Bei mir ist 153 ist der niedrigste Wert und 500 der höchste Wert.

                              1 Reply Last reply Reply Quote 0
                              • Zefau
                                Zefau @mrMuppet last edited by

                                @mrMuppet bitte beachte, dass die aktuellen Werte API spezifisch für hue sind und im Rahmen der Vereinheitlichung (siehe Diskussion weiter oben bzw. unter https://forum.iobroker.net/topic/24936/diskussion-objektdefinition-licht/1) angepasst werden. Zukünftig (mit der nächsten Version 0.9.0) wird der Datenpunkt den Wertebereich 2200 bis 6500 haben.

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  mrMuppet @Zefau last edited by

                                  @Zefau sagte in [Neuer Adapter] hue-extended:

                                  [...] Zukünftig (mit der nächsten Version 0.9.0) wird der Datenpunkt den Wertebereich 2200 bis 6500 haben.

                                  Zum Glück habe ich meine Skripte gesichert, bevor ich gerade alles von 2200/6500 auf 153/500 geändert habe. Danke!

                                  1 Reply Last reply Reply Quote 0
                                  • Zefau
                                    Zefau @cash last edited by

                                    @cash probier mal bitte v0.8.5, ob du den Sensor nun schalten kannst.

                                    cash 2 Replies Last reply Reply Quote 0
                                    • cash
                                      cash Most Active @Zefau last edited by

                                      @Zefau Perfekt funktioniert. Ich habe nur den Datenpunkt erst nicht gefunden, da er unter Config nicht mehr ist sondern nun unter action...

                                      Werde heute Abend mal das ein oder andere Script anpassen und dann wirklich sehen ob das deaktivieren des Bewegungsmelders hilft und er mir beim schalten nicht mehr dazwischen funkt. Melde mich heute Abend nochmal kurz.

                                      Vielen Dank auf jeden Fall nochmal.

                                      1 Reply Last reply Reply Quote 0
                                      • cash
                                        cash Most Active @Zefau last edited by

                                        @Zefau Ich freu mich. Es klappt perfekt. Endlich ist der Bewegungsmelder richtig nutzbar.

                                        Dafür habe ich paypal gerne noch einmal genutzt. Vielen vielen Dank.

                                        Zefau 1 Reply Last reply Reply Quote 0
                                        • Zefau
                                          Zefau @cash last edited by

                                          @cash sagte in [Neuer Adapter] hue-extended:

                                          Dafür habe ich paypal gerne noch einmal genutzt. Vielen vielen Dank.

                                          Freut mich, dass es klappt. Vielen Dank für deine Unterstützung.

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            Arminhh last edited by Arminhh

                                            Re: [Neuer Adapter] hue-extended

                                            moin,
                                            seit ein paar Tagen experimentiere ich mit dem Adapter.
                                            2 kleine Problem treten bei mir auf.

                                            1. Die Hue Bewegungsmelder werden nicht eingebunden unter Objekte finde ich nichts was auf die Bewegungsmelder hindeuten. In der Konfiguratin sind Sensoren angehakt.
                                            2. Obwohl der Adapter verbunden ist und der Adapter mit ca. 10 sec Verzögerung schaltet, erhalte ich folgende Fehlermeldung

                                            hue-extended.0 2019-09-23 15:24:24.441 debug Error connecting to Hue Bridge: Cannot read property 'name' of null. Try again in 10 seconds..
                                            hue-extended.0 2019-09-23 15:24:23.808 debug Updated state info.syncing to value true (from false).
                                            hue-extended.0 2019-09-23 15:24:13.649 debug Error connecting to Hue Bridge: Cannot read property 'name' of null. Try again in 10 seconds..
                                            hue-extended.0 2019-09-23 15:24:13.648 debug Updated state info.syncing to value false (from true).
                                            hue-extended.0 2019-09-23 15:24:02.662 debug Error connecting to Hue Bridge: Cannot read property 'name' of null. Try again in 10 seconds..
                                            hue-extended.0 2019-09-23 15:24:01.983 debug Updated state info.syncing to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:51.830 debug Error connecting to Hue Bridge: Cannot read property 'name' of null. Try again in 10 seconds..
                                            hue-extended.0 2019-09-23 15:23:51.829 debug Updated state info.syncing to value false (from true).
                                            hue-extended.0 2019-09-23 15:23:51.198 debug Updated state lights.006-kugel.config.startup.configured to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:40.994 debug Error connecting to Hue Bridge: Cannot read property 'name' of null. Try again in 10 seconds..
                                            hue-extended.0 2019-09-23 15:23:40.518 debug Updated state lights.019-wohnzimmer_decke.config.startup.configured to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:40.380 debug Updated state info.syncing to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:30.244 debug Error connecting to Hue Bridge: Cannot read property 'name' of null. Try again in 10 seconds..
                                            hue-extended.0 2019-09-23 15:23:30.243 debug Updated state info.syncing to value false (from true).
                                            hue-extended.0 2019-09-23 15:23:19.486 debug Error connecting to Hue Bridge: Cannot read property 'name' of null. Try again in 10 seconds..
                                            hue-extended.0 2019-09-23 15:23:19.303 debug Updated state groups.014-group_for_wakeup.action.on to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:19.301 debug Updated state groups.014-group_for_wakeup.state.any_on to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:19.300 debug Updated state groups.014-group_for_wakeup.state.all_on to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:19.290 debug Updated state groups.013-hgrp-0008374220.state.any_on to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:19.245 debug Updated state groups.008-schlafzimmer.action.on to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:19.240 debug Updated state groups.008-schlafzimmer.state.any_on to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:19.195 debug Updated state groups.005-alle.state.any_on to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:19.181 debug Updated state groups.004-schlafzimmer.action.on to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:19.178 debug Updated state groups.004-schlafzimmer.state.any_on to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:19.177 debug Updated state groups.004-schlafzimmer.state.all_on to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:19.111 debug Updated state groups.000-all_lights.state.any_on to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:18.828 debug Updated state lights.008-schlafzimmer_ritter.action.on to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:18.739 debug Updated state info.syncing to value true (from false).
                                            hue-extended.0 2019-09-23 15:23:08.687 info Successfully set /lights/8/state/bri on Schlafzimmer Ritter (to 189).
                                            hue-extended.0 2019-09-23 15:23:08.687 info Successfully set /lights/8/state/on on Schlafzimmer Ritter (to true).
                                            hue-extended.0 2019-09-23 15:23:08.685 debug Updated state info.lastAction.lastResult to value [{"success":{"/lights/8/state/on":true}},{"success":{"/lights/8/state/bri":189}}] (from [{"success":{"/lights/8/state/on":false}}]).
                                            hue-extended.0 2019-09-23 15:23:08.684 debug Updated state info.lastAction.lastCommand to value {"on":true,"bri":189} (from {"on":false}).
                                            Danke für die Hilfe und den Adapter!!
                                            Armin

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            851
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter
                                            32
                                            441
                                            72421
                                            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