NEWS
Hue Adapter 3.0.X - Test
-
@foxriver76
Okay, mache ich. -
@ofbeqnpolkkl6mby5e13 kurz Frage noch: welche js-controller Version?
-
@foxriver76
3.2.16 -
@ofbeqnpolkkl6mby5e13 Sollte gefixt sein mit hue 3.5.0, witzigerweise sind % Zeichen normalerweise erlaubt, allerdings ist das kein standardmäßiges % Zeichen, siehe Issue.
-
@foxriver76
Ja, hatte ich gesehen. Dankeschön! -
@foxriver76
Warnung ist mit 3.5.0 weg. -
Hallo,
Ich möchte gerne per command mit dem Philips Hue-Bridge Adapter (3.5.31) eine Scene starten.
Befehle wie z.b {"level":25,"ct":3000} funktionieren, aber wie starte ich damit eine Scene (z.b nachtlicht) ?
Wie wäre der richtige befehl dafür? -
@bigmike71
szenen sind doch bei jeder Lampe als Button verfügbar ? (also nicht über command)
Einfach den Button per Script oder Blockly betätigen/drücken lassen) -
@dslraser
ja ich weiß :), hintergrund ist der, das man per command die scene wählen kann und als zusätzlichen parameter ,"transitiontime":0} nehmen kann, damit das licht oder die Scene auf schlag an ist! ich mag das "faden" nicht so sehr, möchte die scene z.b Hell auf einen Wandschalter legen und wenn man drückt ist das Licht sofort 100% und nicht wie im Kino....
beim extendet hue adapter geht das, da der aber nicht weiterentwickelt wird wollt ich das mit diesem hier alles steuern! (habe gut und gerne 40 Hue Leuchtmittel) -
@bigmike71
wie wäre denn der command Befehl beim anderen Adapter ?
Vielleicht kann @foxriver76 etwas dazu sagen wie und ob es beim HUE Adapter geht ? -
@dslraser
z.b {"scene":"uHp4Ry4jlbU2RO7","transitiontime":0}
das ist die UID von der Scene , name wäre halt "Standart"
wenn ich das abschicke passiert mit diesem Adapter nix...+
auch wenn ich stattdessen Standard oder scene_standart probiere -
Moin zusammen,
Adapter läuft mit den Basics top, allerdings komm ich mit dem "bri_inc" command nicht weiter.
Ich benutze halt wie in der API beschrieben -254, 0 oder 254 zum Dimmen und zum Stoppen,
z.B.
{"bri_inc": -254, "transitiontime": 20}
Lampe tut auch mal etwas, mal nichts. Wird der command nicht direkt durchgeleitet?
Beim herunter Dimmen kommt beispielsweise dieser Log
2022-03-18 14:27:00.671 - debug: hue.0 (10624) stateChange hue.0.Schlafzimmer_Deckenleuchte.command {"val":"{\n \"bri_inc\": -254,\n \"transitiontime\": 10\n}","ack":false,"ts":1647610020670,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1647609961111} 2022-03-18 14:27:00.676 - error: hue.0 (10624) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2022-03-18 14:27:00.676 - error: hue.0 (10624) unhandled promise rejection: Value, '0' is not within allowed limits: min=1 max=254 for 'bri' 2022-03-18 14:27:00.676 - error: hue.0 (10624) Error: Value, '0' is not within allowed limits: min=1 max=254 for 'bri' at UInt8Type.getValue (/opt/iobroker/node_modules/node-hue-api/lib/types/RangedNumberType.js:40:13) at LightState._setStateValue (/opt/iobroker/node_modules/node-hue-api/lib/model/lightstate/States.js:87:53) at LightState.bri (/opt/iobroker/node_modules/node-hue-api/lib/model/lightstate/BaseStates.js:34:17) at Object.stateChange (/opt/iobroker/node_modules/iobroker.hue/main.js:522:41) 2022-03-18 14:27:00.676 - error: hue.0 (10624) Value, '0' is not within allowed limits: min=1 max=254 for 'bri'
hab ich den Adapter einfach nicht verstanden? Mit Hue-extended Adapter funktioniert es, wollt allerdings jetzt umziehen
-
Moin Moin,
hab gerade mal die 3.8.0 getestet.
Was ich auf die Schnelle feststellen konnte:meine Osram Steckdose wird in den DP nicht umgeschaltet true/false und umgekehrt.
In der App kann ich sie an- und ausschalten.
Zurück auf die 3.7.1 funktioniert es wieder. -
@haselchen Hi, danke - ist bekannt, 3.9.0 sollte allerdings bereits verfügbar sein.
-
Wow, das ging fix
3.9.0 wird mir noch nicht angeboten.
Aber kein Beinbruch....die trudelt noch schon bei mir ein. -
Hallo zusammen,
ich benutzte längers den ioBroker.hue-extended-Adapter. Dieser ist ja nun DEPRECATED, nun bin ich auf den ioBroker.hue-Adapter umgestiegen. Nun habe ich folgende Verständnisfragen zur Bedienung:steuern möchte ich die Lampen/Gruppen über den DP
hue.0.<name>.command
.- Gem. Commands z.B. mittels
{ "bri": 50, "transitiontime": 30 }
. Was bewirkt"transitiontime": 30
? - wenn ich z.B. die Helligkeit UND Farbe angebe (z.B.
{"level": 57, "r": 242, "g": 180, "b": 82}
), wird die Helligkeit nicht berücksichtigt (offensichtlich bekannt, steht bereits weiter oben, Helligkeit/level immer 100%). Ist dies ein BUG? (mit z.B.{"level": 57, "ct": 2257}
funktioniert es jedoch)
ioBroker.hue: v3.7.1
- Gem. Commands z.B. mittels
-
Hallo zusammen,
ich bekomme seit neustem (un)regelmäßig folgende Fehlermeldung:
State "hue.0.undefined.on" has no existing object, this might lead to an error in future versions
Ich kann diesen Datenpunkt in den Objekten auch nicht finden. Ich kann die Meldung leider auch nicht (zB durch betätigen irgendwelcher Schalter) reproduzieren.
Adapter läuft auf: v3.9.3
-
@darkdevil Bitte mal Adapter auf Debug und log davor und danach posten
-
@foxriver76 Bei mir taucht diese Meldung ebenfalls massenhaft im Log auf.
2023-07-28 02:43:18.574 - [34mdebug[39m: hue.0 (2033) Received on push connection: [{"creationtime":"2023-07-28T00:43:18Z","data":[{"id":"xxxxxxxx-2510-47c1-95e8-xxxxxxxxxxxx","id_v1":"/sensors/6","motion":{"motion":true,"motion_report":{"changed":"2023-07-28T00:43:18.642Z","motion":true},"motion_valid":true},"owner":{"rid":"xxxxxxxx-de0f-4e3d-9458-xxxxxxxxxxxx","rtype":"device"},"type":"motion"}],"id":"6a0b6d70-7241-4988-b2d7-xxxxxxxxxxxx","type":"update"}] 2023-07-28 02:43:18.574 - [34mdebug[39m: hue.0 (2033) New push connection update: {"id":"xxxxxxxx-2510-47c1-95e8-xxxxxxxxxxxx","id_v1":"/sensors/6","motion":{"motion":true,"motion_report":{"changed":"2023-07-28T00:43:18.642Z","motion":true},"motion_valid":true},"owner":{"rid":"xxxxxxxx-de0f-4e3d-9458-xxxxxxxxxxxx","rtype":"device"},"type":"motion"} 2023-07-28 02:43:19.586 - [34mdebug[39m: hue.0 (2033) Received on push connection: [{"creationtime":"2023-07-28T00:43:18Z","data":[{"id":"xxxxxxxx-6a6b-431a-949b-xxxxxxxxxxxx","id_v1":"/lights/1","on":{"on":true},"owner":{"rid":"xxxxxxxx-0890-4c4b-96b8-xxxxxxxxxxxx","rtype":"device"},"type":"light"},{"color":{"xy":{"x":0.6774,"y":0.3189}},"color_temperature":{"mirek":null,"mirek_valid":false},"id":"xxxxxxxx-6a6b-431a-949b-xxxxxxxxxxxx","id_v1":"/lights/1","owner":{"rid":"xxxxxxxx-0890-4c4b-96b8-xxxxxxxxxxxx","rtype":"device"},"type":"light"},{"id":"xxxxxxxx-027c-437e-8091-xxxxxxxxxxxx","id_v1":"/scenes/HkUyTrJD7Cbp79f","status":{"active":"static"},"type":"scene"}],"id":"xxxxxxxx-374b-44e6-b3fd-xxxxxxxxxxxx","type":"update"},{"creationtime":"2023-07-28T00:43:18Z","data":[{"dimming":{"brightness":35.040000000000006},"id":"xxxxxxxx-32f3-4bc5-b46e-xxxxxxxxxxxx","id_v1":"/groups/0","owner":{"rid":"xxxxxxxx-9258-4f9d-a75e-xxxxxxxxxxxx","rtype":"bridge_home"},"type":"grouped_light"},{"dimming":{"brightness":68.9},"id":"xxxxxxxx-718d-48c4-99c3-xxxxxxxxxxxx","id_v1":"/groups/4","on":{"on":true},"owner":{"rid":"xxxxxxxx-8bd8-48a1-b027-xxxxxxxxxxxx","rtype":"room"},"type":"grouped_light"}],"id":"xxxxxxxx-44ac-42b2-8f9d-xxxxxxxxxxxx","type":"update"}] 2023-07-28 02:43:19.586 - [34mdebug[39m: hue.0 (2033) New push connection update: {"id":"xxxxxxxx-6a6b-431a-949b-xxxxxxxxxxxx","id_v1":"/lights/1","on":{"on":true},"owner":{"rid":"xxxxxxxx-0890-4c4b-96b8-xxxxxxxxxxxx","rtype":"device"},"type":"light"} 2023-07-28 02:43:19.586 - [34mdebug[39m: hue.0 (2033) New push connection update: {"color":{"xy":{"x":0.6774,"y":0.3189}},"color_temperature":{"mirek":null,"mirek_valid":false},"id":"xxxxxxxx-6a6b-431a-949b-xxxxxxxxxxxx","id_v1":"/lights/1","owner":{"rid":"xxxxxxxx-0890-4c4b-96b8-xxxxxxxxxxxx","rtype":"device"},"type":"light"} 2023-07-28 02:43:19.587 - [34mdebug[39m: hue.0 (2033) New push connection update: {"id":"xxxxxxxx-027c-437e-8091-xxxxxxxxxxxx","id_v1":"/scenes/HkUyTrJD7Cbp79f","status":{"active":"static"},"type":"scene"} 2023-07-28 02:43:19.587 - [34mdebug[39m: hue.0 (2033) New push connection update: {"dimming":{"brightness":35.040000000000006},"id":"xxxxxxxx-32f3-4bc5-b46e-xxxxxxxxxxxx","id_v1":"/groups/0","owner":{"rid":"xxxxxxxx-9258-4f9d-a75e-xxxxxxxxxxxx","rtype":"bridge_home"},"type":"grouped_light"} 2023-07-28 02:43:19.587 - [34mdebug[39m: hue.0 (2033) New push connection update: {"dimming":{"brightness":68.9},"id":"xxxxxxxx-718d-48c4-99c3-xxxxxxxxxxxx","id_v1":"/groups/4","on":{"on":true},"owner":{"rid":"xxxxxxxx-8bd8-48a1-b027-xxxxxxxxxxxx","rtype":"room"},"type":"grouped_light"} 2023-07-28 02:43:19.588 - [33mwarn[39m: hue.0 (2033) State "hue.0.undefined.on" has no existing object, this might lead to an error in future versions 2023-07-28 02:43:37.343 - [34mdebug[39m: hue.0 (2033) Received on push connection: [{"creationtime":"2023-07-28T00:43:37Z","data":[{"id":"xxxxxxxx-2510-47c1-95e8-xxxxxxxxxxxx","id_v1":"/sensors/6","motion":{"motion":false,"motion_report":{"changed":"2023-07-28T00:43:37.394Z","motion":false},"motion_valid":true},"owner":{"rid":"xxxxxxxx-de0f-4e3d-9458-xxxxxxxxxxxx","rtype":"device"},"type":"motion"}],"id":"7a270386-972c-4626-9b7c-69c423b42524","type":"update"}] 2023-07-28 02:43:37.343 - [34mdebug[39m: hue.0 (2033) New push connection update: {"id":"xxxxxxxx-2510-47c1-95e8-xxxxxxxxxxxx","id_v1":"/sensors/6","motion":{"motion":false,"motion_report":{"changed":"2023-07-28T00:43:37.394Z","motion":false},"motion_valid":true},"owner":{"rid":"xxxxxxxx-de0f-4e3d-9458-xxxxxxxxxxxx","rtype":"device"},"type":"motion"} 2023-07-28 02:43:39.454 - [34mdebug[39m: hue.0 (2033) Received on push connection: [{"creationtime":"2023-07-28T00:43:39Z","data":[{"id":"xxxxxxxx-4bc2-4198-b0df-89cf1f40d5bf","id_v1":"/sensors/221","owner":{"rid":"34d62adf-682e-452e-b495-xxxxxxxxxxxx","rtype":"device"},"temperature":{"temperature":17.52,"temperature_report":{"changed":"2023-07-28T00:43:39.531Z","temperature":17.52},"temperature_valid":true},"type":"temperature"}],"id":"xxxxxxxx-1a2e-4ba2-a11a-xxxxxxxxxxxx","type":"update"}] 2023-07-28 02:43:39.454 - [34mdebug[39m: hue.0 (2033) New push connection update: {"id":"xxxxxxxx-4bc2-4198-b0df-89cf1f40d5bf","id_v1":"/sensors/221","owner":{"rid":"34d62adf-682e-452e-b495-xxxxxxxxxxxx","rtype":"device"},"temperature":{"temperature":17.52,"temperature_report":{"changed":"2023-07-28T00:43:39.531Z","temperature":17.52},"temperature_valid":true},"type":"temperature"} 2023-07-28 02:43:41.293 - [34mdebug[39m: hue.0 (2033) Received on push connection: [{"creationtime":"2023-07-28T00:43:41Z","data":[{"id":"xxxxxxxx-2510-47c1-95e8-xxxxxxxxxxxx","id_v1":"/sensors/6","motion":{"motion":true,"motion_report":{"changed":"2023-07-28T00:43:41.346Z","motion":true},"motion_valid":true},"owner":{"rid":"xxxxxxxx-de0f-4e3d-9458-xxxxxxxxxxxx","rtype":"device"},"type":"motion"}],"id":"ca6c5c70-9158-46fe-af9a-xxxxxxxxxxxx","type":"update"}] 2023-07-28 02:43:41.293 - [34mdebug[39m: hue.0 (2033) New push connection update: {"id":"xxxxxxxx-2510-47c1-95e8-xxxxxxxxxxxx","id_v1":"/sensors/6","motion":{"motion":true,"motion_report":{"changed":"2023-07-28T00:43:41.346Z","motion":true},"motion_valid":true},"owner":{"rid":"xxxxxxxx-de0f-4e3d-9458-xxxxxxxxxxxx","rtype":"device"},"type":"motion"} 2023-07-28 02:44:06.425 - [34mdebug[39m: hue.0 (2033) Received on push connection: [{"creationtime":"2023-07-28T00:44:06Z","data":[{"id":"xxxxxxxx-2510-47c1-95e8-xxxxxxxxxxxx","id_v1":"/sensors/6","motion":{"motion":false,"motion_report":{"changed":"2023-07-28T00:44:06.478Z","motion":false},"motion_valid":true},"owner":{"rid":"xxxxxxxx-de0f-4e3d-9458-xxxxxxxxxxxx","rtype":"device"},"type":"motion"}],"id":"xxxxxxxx-8e87-44b0-b4d1-xxxxxxxxxxxx","type":"update"}] 2023-07-28 02:44:06.425 - [34mdebug[39m: hue.0 (2033) New push connection update: {"id":"xxxxxxxx-2510-47c1-95e8-xxxxxxxxxxxx","id_v1":"/sensors/6","motion":{"motion":false,"motion_report":{"changed":"2023-07-28T00:44:06.478Z","motion":false},"motion_valid":true},"owner":{"rid":"xxxxxxxx-de0f-4e3d-9458-xxxxxxxxxxxx","rtype":"device"},"type":"motion"} 2023-07-28 02:45:01.614 - [34mdebug[39m: hue.0 (2033) Received on push connection: [{"creationtime":"2023-07-28T00:45:01Z","data":[{"id":"xxxxxxxx-8791-449b-a18a-xxxxxxxxxxxx","id_v1":"/sensors/194","owner":{"rid":"xxxxxxxx-862f-43be-8632-xxxxxxxxxxxx","rtype":"device"},"temperature":{"temperature":15.49,"temperature_report":{"changed":"2023-07-28T00:45:01.694Z","temperature":15.49},"temperature_valid":true},"type":"temperature"}],"id":"xxxxxxxx-b245-4b8b-943d-xxxxxxxxxxxx","type":"update"}] 2023-07-28 02:45:01.614 - [34mdebug[39m: hue.0 (2033) New push connection update: {"id":"xxxxxxxx-8791-449b-a18a-xxxxxxxxxxxx","id_v1":"/sensors/194","owner":{"rid":"xxxxxxxx-862f-43be-
-
@rug1024 wenn du den Adapter neu startest passiert das immer noch? Wurde die gruppe evtl angelegt während der Adapter lief und der Adapter kommt drauf nicht klar?