Themabewertung:
  • 1 Bewertung(en) - 5 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
MyGekko-QueryAPI Anbindung an Node-Red über offizielles Repository
#6
Hi,

hier ein snippet mit den aktuellen pallete für das Licht:
node-red-contrib-mygekko: 1.0.17
node-red-contrib-alexa-home: 1.1.3


Code:
[{"id":"13453b0e.5231c5","type":"tab","label":"Controller","disabled":false,"info":""},{"id":"9a5e00cb.2daa8","type":"alexa-home-controller","z":"13453b0e.5231c5","controllername":"Alexa Controller","port":"80","x":110,"y":40,"wires":[]},{"id":"63621c1b.a33b14","type":"alexa-home","z":"13453b0e.5231c5","devicename":"Licht Küche","devicetype":"Dimmable light","x":90,"y":340,"wires":[["57bcd83d.4b3648"]]},{"id":"57bcd83d.4b3648","type":"switch","z":"13453b0e.5231c5","name":"command","property":"payload.command","propertyType":"msg","rules":[{"t":"eq","v":"switch","vt":"str"},{"t":"eq","v":"dim","vt":"str"},{"t":"eq","v":"color","vt":"str"}],"checkall":"false","repair":false,"outputs":3,"x":260,"y":340,"wires":[["b842f7fe.f4b6c8"],["f1afe116.a792"],["a7cca0eb.df8dd"]],"outputLabels":["on/off","dim",""]},{"id":"ad3cea41.e8cc88","type":"mygekko_light","z":"13453b0e.5231c5","name":"Küche","itemid":"","server":"1eab8a71.2e85a6","x":830,"y":340,"wires":[[]]},{"id":"b842f7fe.f4b6c8","type":"switch","z":"13453b0e.5231c5","name":"switch","property":"payload.on","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"false","repair":false,"outputs":2,"x":430,"y":260,"wires":[["664547af.ac2788"],["98edede.a93221"]]},{"id":"98edede.a93221","type":"change","z":"13453b0e.5231c5","name":"false","rules":[{"t":"set","p":"payload","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":550,"y":280,"wires":[["ad3cea41.e8cc88"]]},{"id":"664547af.ac2788","type":"change","z":"13453b0e.5231c5","name":"true","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":550,"y":240,"wires":[["ad3cea41.e8cc88"]]},{"id":"f1afe116.a792","type":"change","z":"13453b0e.5231c5","name":"dim","rules":[{"t":"move","p":"payload.bri_normalized","pt":"msg","to":"dimvalue","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":340,"wires":[["ad3cea41.e8cc88"]]},{"id":"a7cca0eb.df8dd","type":"change","z":"13453b0e.5231c5","name":"color","rules":[{"t":"move","p":"payload.color","pt":"msg","to":"rgbvalue","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":420,"wires":[["ad3cea41.e8cc88"]]},{"id":"1eab8a71.2e85a6","type":"mygekko_server","z":"","active":true,"api":"local","host":"192.168.000.0","interval":"5"}]


Mit den ganzen Examples hier funzt bei mir nichts. 
Gekko version V4795-15

Werde die Tage mal schauen ob man das ganze nicht generic hinbekommt oder hat das hier schon jemand hinbekommen?
Kein Bock die selbe Logik für über 30 Lampen zu haben.


Nachrichten in diesem Thema
RE: MyGekko-QueryAPI Anbindung an Node-Red über offizielles Repository - von pinpong - 30.09.2019, 22:10

Möglicherweise verwandte Themen...
Thema Verfasser Antworten Ansichten Letzter Beitrag
  eMail mit Node Red versenden Tora 1 1.421 14.11.2023, 08:48
Letzter Beitrag: Strabbit
  Zisternenfüllstand über Nodered an MyGekko Matthias 12 17.655 01.05.2023, 19:55
Letzter Beitrag: Matthias
  Jalousie steuern und Temperatur Abfragen über Alexa / Node red OsramBulb 1 2.049 22.01.2023, 23:05
Letzter Beitrag: Strabbit
  Eigener MyGekko-Node für Node-Red Bluescreen 84 134.522 29.05.2022, 21:05
Letzter Beitrag: Killem
  Klingel über Node-Red abfragen Matze 6 9.621 01.03.2021, 12:45
Letzter Beitrag: Strabbit

Gehe zu:


Benutzer, die gerade dieses Thema anschauen:
11 Gast/Gäste