Registrieren Sie sich jetzt!
[{"id":"8aa0cbee.a06088","type":"alexa-home","z":"a01b5d08.35009","devicename":"Wohnzimmer","inputtrigger":false,"x":90,"y":320,"wires":[["dc752837.f6c9f8"]]},{"id":"898369b1.3ea618","type":"mygekko_light","z":"a01b5d08.35009","name":"Wohnen Deckenlicht","server":"fc5354e0.b57838","x":780,"y":320,"wires":[[]]},{"id":"654fdc37.b4f974","type":"switch","z":"a01b5d08.35009","name":"on/off","property":"on","propertyType":"msg","rules":[{"t":"true"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":450,"y":280,"wires":[["fb00e1e8.d4949"],["cbdb8ced.4a809"]]},{"id":"fb00e1e8.d4949","type":"change","z":"a01b5d08.35009","name":"true","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":260,"wires":[["898369b1.3ea618"]]},{"id":"cbdb8ced.4a809","type":"change","z":"a01b5d08.35009","name":"false","rules":[{"t":"set","p":"payload","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":300,"wires":[["898369b1.3ea618"]]},{"id":"dc752837.f6c9f8","type":"switch","z":"a01b5d08.35009","name":"on_off_command ?","property":"on_off_command","propertyType":"msg","rules":[{"t":"true"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":270,"y":320,"wires":[["654fdc37.b4f974"],["52e89cc1.7e12e4"]],"outputLabels":["on/off","dim"]},{"id":"52e89cc1.7e12e4","type":"change","z":"a01b5d08.35009","name":"Dimmwert setzen","rules":[{"t":"set","p":"dimvalue","pt":"msg","to":"bri","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":510,"y":340,"wires":[["898369b1.3ea618"]]},{"id":"fc5354e0.b57838","type":"mygekko_server","z":"","active":true,"api":"local","host":"192.168.178.111","interval":"5"}]
[{"id":"ae4e37bd.6a5ba8","type":"alexa-home","z":"a01b5d08.35009","devicename":"Rollo Terrasse","inputtrigger":false,"x":100,"y":660,"wires":[["55b447c2.381c48"]]},{"id":"2443fb30.8e8994","type":"mygekko_blind","z":"a01b5d08.35009","name":"Terrasse Rollo","itemid":"","server":"fc5354e0.b57838","x":1040,"y":660,"wires":[[]]},{"id":"38d0ed53.703592","type":"switch","z":"a01b5d08.35009","name":"on/off","property":"on","propertyType":"msg","rules":[{"t":"true"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":690,"y":680,"wires":[["ba37b6d1.2d9f38"],["755873f0.0979ec"]]},{"id":"ba37b6d1.2d9f38","type":"change","z":"a01b5d08.35009","name":"true","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":810,"y":660,"wires":[["2443fb30.8e8994"]]},{"id":"755873f0.0979ec","type":"change","z":"a01b5d08.35009","name":"false","rules":[{"t":"set","p":"payload","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":810,"y":700,"wires":[["2443fb30.8e8994"]]},{"id":"3d63cbe4.db6f14","type":"switch","z":"a01b5d08.35009","name":"on_off_command ?","property":"on_off_command","propertyType":"msg","rules":[{"t":"true"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":510,"y":720,"wires":[["38d0ed53.703592"],["e406a358.9677e"]],"outputLabels":["on/off","dim"]},{"id":"e406a358.9677e","type":"change","z":"a01b5d08.35009","name":"Prozentwert setzen","rules":[{"t":"set","p":"position","pt":"msg","to":"bri","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":730,"y":760,"wires":[["2443fb30.8e8994"]]},{"id":"55b447c2.381c48","type":"switch","z":"a01b5d08.35009","name":"change_direction?","property":"change_direction","propertyType":"msg","rules":[{"t":"eq","v":"-1","vt":"str"},{"t":"eq","v":"1","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":3,"x":290,"y":660,"wires":[["6af2f6dd.6bc948"],["8a6daf20.a45a4"],["3d63cbe4.db6f14"]],"outputLabels":["-1 runter","1 rauf","0 command"]},{"id":"6af2f6dd.6bc948","type":"change","z":"a01b5d08.35009","name":"runter","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":750,"y":580,"wires":[["2443fb30.8e8994"]]},{"id":"8a6daf20.a45a4","type":"change","z":"a01b5d08.35009","name":"rauf","rules":[{"t":"set","p":"payload","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":750,"y":620,"wires":[["2443fb30.8e8994"]]},{"id":"fc5354e0.b57838","type":"mygekko_server","z":"","active":true,"api":"local","host":"192.168.178.111","interval":"5"}]
(19.12.2019, 02:04)SaschaD schrieb: Mit ein wenig rumprobieren habe ich es nun auch geschafft den Status an HomeKit zuschicken, wenn die Lampen direkt über MyGekko geschaltet werden. Falls es wen interessiert, muss dass dann ungefähr so aussehen wie im Anhang.
(23.12.2019, 19:37)OsramBulb schrieb: Hi Sascha Das ist wirklich ein Anwendungsfall, der mir zusagt. Hab also mal schnell Node Red installiert und etwas rumprobiert. Scheint alles recht verständlich zu sein. Nun nur die Frage wie deine Funktion "ChangeVar" in der parametrisierung aus? Kannst du das mal als Screenshot senden? Oder noch besser, kannst du deinen Flow exportieren und hier posten? Ich schaffe es irgendwie nicht, über das Apple HomeKit das Licht einzuschalten. Mit einem manuellen Träger über Node Red geht es. Ich vermute, dass ich die falschen Parameter innerhalb des Flows weitergebe. Danke, Steve
(23.12.2019, 19:37)Hi Sascha schrieb: Das ist wirklich ein Anwendungsfall, der mir zusagt. Hab also mal schnell Node Red installiert und etwas rumprobiert. Scheint alles recht verständlich zu sein. Nun nur die Frage wie deine Funktion "ChangeVar" in der parametrisierung aus? Kannst du das mal als Screenshot senden? Oder noch besser, kannst du deinen Flow exportieren und hier posten? Ich schaffe es irgendwie nicht, über das Apple HomeKit das Licht einzuschalten. Mit einem manuellen Träger über Node Red geht es. Ich vermute, dass ich die falschen Parameter innerhalb des Flows weitergebe. Danke, Steve
[{"id":"ea04c7ec.3caf68","type":"function","z":"d400db11.f20748","name":"func","func":"return {payload: msg.payload.On};","outputs":1,"noerr":0,"x":280,"y":420,"wires":[["e72085ee.535058","debf4d14.b8881"]]}]