Weiter zum Inhalt

Node-Red

964 Themen 13.2k Beiträge

Hilfe für Skripterstellung mit Node-RED

NEWS

  • AC laden über DPM8624

    node-red
    29
    0 Stimmen
    29 Beiträge
    3k Aufrufe
    mickymM
    @noah3112 Nun dann lass den Netzbezug triggern und erhöhe halt schrittweise mit einer trigger Node bis Du meinst es ist gut (also Netzbezug 0 oder kleiner 0) und setze dann die trigger NOde zurück.
  • Victron Relays und Fritz Dect Steckdose einschalten

    7
    0 Stimmen
    7 Beiträge
    780 Aufrufe
    mickymM
    @siporax Na dann, wenn das Relais On/Off ausspuckt und von der Steckdose so verstanden wird, dann gibt es nicht mehr zu tun.
  • manueller Schalter über die Automatik setzen?

    11
    1
    0 Stimmen
    11 Beiträge
    1k Aufrufe
    C
    @mickym alles umgesetzt, funktioniert perfekt!!! Danke!! konnte gleich noch meine Heizstäbe Automatik umschreiben mit dieser eleganten Lösung, sehr schön. und wieder sehr viel dabei gelernt, I Love It Grazie und Ciao
  • (gelöst) Whatsapp Adpter sendet nicht in Vis

    28
    0 Stimmen
    28 Beiträge
    3k Aufrufe
    DJMarc75D
    @siporax sagte in Whatsapp Adpter sendet nicht in Vis: da es bei mir nicht funktioniert hat. Dann hast Du halt was falsch gemacht wenn es bei uns Anderen funktioniert. Bearbeite dann bitte den Startbeitrag indem Du ein [gelöst] vor den Titel setzt !
  • Mehrfach Software Schalter!? in Node-Red für Heidelberg

    5
    1
    0 Stimmen
    5 Beiträge
    804 Aufrufe
    C
    @mickym Ganz lieben Dank!!!
  • [GELÖST] Nodes aus der Palette löschen

    node-red
    7
    1
    0 Stimmen
    7 Beiträge
    2k Aufrufe
    haselchenH
    @mickym Sind ja nur knapp 60 Nodes, die ich jetzt aktualisieren muss Der Abend ist ja noch jung....
  • Probleme mit Huemagic

    18
    1
    0 Stimmen
    18 Beiträge
    3k Aufrufe
    V
    @schmetterfliege sagte in Probleme mit Huemagic: Hi, ich bin inzwischen von Huemagic zu Yadomi's Contrib gewechselt. Sieht komplizierter aus als es ist, funktioniert aber wunderbar :) Und: wird regelmäßig geupdated im Gegensatz zu Huemagic Was nutzt Du denn für CMD's? Damit sind ja nur Event's zu lesen.
  • Anfängerfrage: String zerlegen text

    6
    0 Stimmen
    6 Beiträge
    650 Aufrufe
    Martin BaerM
    ja vielen vielen DANK!!! es geht
  • 2 Kontaktzustände gleichzeitig abfragen

    12
    0 Stimmen
    12 Beiträge
    1k Aufrufe
    mickymM
    So ich hab dir mal einen Flow gebastelt - was du mit den Rollläden machen willst weiss ich noch nicht, der Dir alle gekippten oder offenen Fenster ausschmeisst. [image: 1692375540648-4a3f086a-0683-4d3b-8593-7b031c73c4c0-image-resized.png] Spoiler [ { "id": "812ed04f69c00b48", "type": "comment", "z": "7e6af0015415146d", "name": "Sensor Oben (links)", "info": "", "x": 2190, "y": 3340, "wires": [] }, { "id": "589c4f9f3aef4e5b", "type": "comment", "z": "7e6af0015415146d", "name": "Sensor Unten (links)", "info": "", "x": 2190, "y": 3480, "wires": [] }, { "id": "6878f876350c292c", "type": "comment", "z": "7e6af0015415146d", "name": "Sensor Oben (rechts)", "info": "", "x": 2180, "y": 3600, "wires": [] }, { "id": "bbb2fea4e9fcb01e", "type": "comment", "z": "7e6af0015415146d", "name": "Sensor Unten (rechts)", "info": "", "x": 2180, "y": 3740, "wires": [] }, { "id": "e86911a52463f3f2", "type": "ioBroker in", "z": "7e6af0015415146d", "d": true, "name": "", "topic": "zigbee.0.00158d0001fd5296.opened", "payloadType": "value", "onlyack": "update", "func": "rbe", "gap": "", "fireOnStart": "true", "outFormat": "ioBroker", "x": 2120, "y": 3260, "wires": [ [] ] }, { "id": "3c0167f3c360a51b", "type": "ioBroker in", "z": "7e6af0015415146d", "d": true, "name": "", "topic": "zigbee.0.00158d0001de8e2d.opened", "payloadType": "value", "onlyack": "update", "func": "rbe", "gap": "", "fireOnStart": "true", "outFormat": "ioBroker", "x": 2130, "y": 3400, "wires": [ [] ] }, { "id": "afcd568569421914", "type": "ioBroker in", "z": "7e6af0015415146d", "d": true, "name": "", "topic": "zigbee.0.00158d00022bd6b1.opened", "payloadType": "value", "onlyack": "update", "func": "rbe", "gap": "", "fireOnStart": "true", "outFormat": "ioBroker", "x": 2130, "y": 3520, "wires": [ [] ] }, { "id": "6cee51daabfd7617", "type": "ioBroker in", "z": "7e6af0015415146d", "d": true, "name": "", "topic": "zigbee.0.00158d00022bd653.opened", "payloadType": "value", "onlyack": "update", "func": "rbe", "gap": "", "fireOnStart": "true", "outFormat": "ioBroker", "x": 2140, "y": 3660, "wires": [ [] ] }, { "id": "3228c09e88db173d", "type": "ioBroker in", "z": "7e6af0015415146d", "d": true, "name": "", "topic": "zwave2.0.Node_004.Multilevel_Switch.currentValue", "payloadType": "value", "onlyack": "", "func": "rbe", "gap": "", "fireOnStart": "true", "outFormat": "ioBroker", "x": 2090, "y": 3820, "wires": [ [ "e243b1dffd4fdf21" ] ] }, { "id": "e243b1dffd4fdf21", "type": "change", "z": "7e6af0015415146d", "name": "", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "currentValue", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2420, "y": 3860, "wires": [ [ "b5c59b5789c87a88", "a33ee981fb7d70b9" ] ] }, { "id": "235355255db1e681", "type": "inject", "z": "7e6af0015415146d", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "Oben (links)", "payload": "true", "payloadType": "bool", "x": 2200, "y": 3300, "wires": [ [ "d95337dbf023fddd" ] ] }, { "id": "7fa747e333cd28ab", "type": "inject", "z": "7e6af0015415146d", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "Unten (links)", "payload": "false", "payloadType": "bool", "x": 2210, "y": 3440, "wires": [ [ "c7e9225660fb24d9" ] ] }, { "id": "22a4d618a51e1933", "type": "inject", "z": "7e6af0015415146d", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "Oben (rechts)", "payload": "true", "payloadType": "bool", "x": 2190, "y": 3560, "wires": [ [ "96725fc47558807c" ] ] }, { "id": "04298c2e449b8995", "type": "inject", "z": "7e6af0015415146d", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "Unten (rechts)", "payload": "true", "payloadType": "bool", "x": 2190, "y": 3700, "wires": [ [ "cb9727a6b7952e51" ] ] }, { "id": "4c432269faf13246", "type": "inject", "z": "7e6af0015415146d", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "rolladen_level", "payload": "99", "payloadType": "num", "x": 2200, "y": 3860, "wires": [ [ "e243b1dffd4fdf21" ] ] }, { "id": "c7e9225660fb24d9", "type": "change", "z": "7e6af0015415146d", "name": "", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "unten", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2420, "y": 3440, "wires": [ [ "a33ee981fb7d70b9" ] ] }, { "id": "d95337dbf023fddd", "type": "change", "z": "7e6af0015415146d", "name": "", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "oben", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2410, "y": 3300, "wires": [ [ "a33ee981fb7d70b9" ] ] }, { "id": "a33ee981fb7d70b9", "type": "join", "z": "7e6af0015415146d", "name": "", "mode": "custom", "build": "object", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": true, "timeout": "", "count": "2", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 2610, "y": 3360, "wires": [ [ "4dccfb9fc35d9e35" ] ] }, { "id": "cb9727a6b7952e51", "type": "change", "z": "7e6af0015415146d", "name": "", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "unten", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2440, "y": 3700, "wires": [ [ "b5c59b5789c87a88" ] ] }, { "id": "96725fc47558807c", "type": "change", "z": "7e6af0015415146d", "name": "", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "oben", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2430, "y": 3560, "wires": [ [ "b5c59b5789c87a88" ] ] }, { "id": "b5c59b5789c87a88", "type": "join", "z": "7e6af0015415146d", "name": "", "mode": "custom", "build": "object", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": true, "timeout": "", "count": "2", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 2630, "y": 3620, "wires": [ [ "d89ad04521bff933" ] ] }, { "id": "4dccfb9fc35d9e35", "type": "change", "z": "7e6af0015415146d", "name": "", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "Fenster1", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2800, "y": 3360, "wires": [ [ "383f43197a118cdc", "d3743b846ce90f67" ] ] }, { "id": "d89ad04521bff933", "type": "change", "z": "7e6af0015415146d", "name": "", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "Fenster2", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2800, "y": 3620, "wires": [ [ "383f43197a118cdc" ] ] }, { "id": "dd0d28a9a37903b7", "type": "debug", "z": "7e6af0015415146d", "name": "AllInOne", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 3320, "y": 3540, "wires": [] }, { "id": "d3743b846ce90f67", "type": "debug", "z": "7e6af0015415146d", "name": "msg", "active": false, "tosidebar": true, "console": false, "tostatus": true, "complete": "payload", "targetType": "msg", "statusVal": "payload", "statusType": "auto", "x": 3030, "y": 3300, "wires": [] }, { "id": "6ab6c4f9ba3e354b", "type": "join", "z": "7e6af0015415146d", "name": "", "mode": "custom", "build": "object", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": true, "timeout": "", "count": "1", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 3110, "y": 3620, "wires": [ [ "dd0d28a9a37903b7", "50162239ecd6eab5" ] ] }, { "id": "50162239ecd6eab5", "type": "change", "z": "7e6af0015415146d", "name": "Flat Array", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "$each(payload, function($v, $k) {{\"name\":$k,\"unten\":$v.unten,\"oben\":$v.oben,\"currentValue\":$v.currentValue}} )", "tot": "jsonata" }, { "t": "delete", "p": "topic", "pt": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 3280, "y": 3620, "wires": [ [ "6367bb8956302678", "d58bdd810c41b8ab" ] ] }, { "id": "6367bb8956302678", "type": "debug", "z": "7e6af0015415146d", "name": "Array", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 3430, "y": 3680, "wires": [] }, { "id": "d58bdd810c41b8ab", "type": "change", "z": "7e6af0015415146d", "name": "Analyze", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "$.payload~>|$|{\"gekippt\" : oben and $not(unten), \"offen\" : oben or unten},[\"oben\",\"unten\"]|", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 3440, "y": 3620, "wires": [ [ "7b4943647e3a242f", "c2a206e96f77d7ca", "d293b242aa3d3d75" ] ] }, { "id": "7b4943647e3a242f", "type": "debug", "z": "7e6af0015415146d", "name": "Status", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 3570, "y": 3540, "wires": [] }, { "id": "c2a206e96f77d7ca", "type": "change", "z": "7e6af0015415146d", "name": "gekippt ?", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload[gekippt].name", "tot": "jsonata" }, { "t": "set", "p": "topic", "pt": "msg", "to": "gekippt", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 3660, "y": 3580, "wires": [ [ "9e65d9dd8276a7af" ] ] }, { "id": "d293b242aa3d3d75", "type": "change", "z": "7e6af0015415146d", "name": "offen ?", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload[offen].name", "tot": "jsonata" }, { "t": "set", "p": "topic", "pt": "msg", "to": "offen", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 3650, "y": 3620, "wires": [ [ "9e65d9dd8276a7af" ] ] }, { "id": "6b6e9a603a4269af", "type": "inject", "z": "7e6af0015415146d", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "Oben (rechts)", "payload": "false", "payloadType": "bool", "x": 2190, "y": 3980, "wires": [ [ "fbc77afb88bf03c0" ] ] }, { "id": "efe5b3d1b4fe6b35", "type": "inject", "z": "7e6af0015415146d", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "Unten (rechts)", "payload": "false", "payloadType": "bool", "x": 2190, "y": 4120, "wires": [ [ "21a25a373ce4e2e8" ] ] }, { "id": "fbc77afb88bf03c0", "type": "change", "z": "7e6af0015415146d", "name": "", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "oben", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2390, "y": 3980, "wires": [ [ "17a150bf9f890d79" ] ] }, { "id": "21a25a373ce4e2e8", "type": "change", "z": "7e6af0015415146d", "name": "", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "unten", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2400, "y": 4120, "wires": [ [ "17a150bf9f890d79" ] ] }, { "id": "17a150bf9f890d79", "type": "join", "z": "7e6af0015415146d", "name": "", "mode": "custom", "build": "object", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": true, "timeout": "", "count": "2", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 2590, "y": 4040, "wires": [ [ "0a49f77d7d7c4254" ] ] }, { "id": "0a49f77d7d7c4254", "type": "change", "z": "7e6af0015415146d", "name": "", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "Fenster3", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2760, "y": 4040, "wires": [ [ "383f43197a118cdc" ] ] }, { "id": "69e27948be4a3958", "type": "debug", "z": "7e6af0015415146d", "name": "Ergebnis", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 3960, "y": 3600, "wires": [] }, { "id": "9e65d9dd8276a7af", "type": "switch", "z": "7e6af0015415146d", "name": "", "property": "payload", "propertyType": "msg", "rules": [ { "t": "nnull" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 3810, "y": 3600, "wires": [ [ "69e27948be4a3958" ] ] }, { "id": "383f43197a118cdc", "type": "junction", "z": "7e6af0015415146d", "x": 3000, "y": 3620, "wires": [ [ "6ab6c4f9ba3e354b" ] ] } ] Die Change Nodes kannst natürlich zusammenfassen - dient mehr der Illustration. Alternativ kannst natürlich auch alles im Flow Kontext sammeln und auswerten.
  • Amazon-Echo-Hub: unable to start Port 80

    node-red
    42
    4
    0 Stimmen
    42 Beiträge
    17k Aufrufe
    B
    @frankyboy73 Also bei mir funzt es nicht bei mir findet alexa die angelegten Geräte nicht
  • Hilfe mein Node red ist nicht mehr erreichbar

    9
    0 Stimmen
    9 Beiträge
    1k Aufrufe
    B
    @mickym jo hat geklappt startet jetzt wieder ganz normal ich danke dir
  • Änderung nur einmal am Tag auslösen / melden?

    2
    0 Stimmen
    2 Beiträge
    209 Aufrufe
    mickymM
    @agenor Du schreibst einfach, dass Du gesendet hast in eine Variable oder in einen Datenpunkt und setzt diese(n) jeden Tag um Mitternacht zurück.
  • Bedingung nur prüfen aber nicht auslösen?

    Verschoben
    10
    0 Stimmen
    10 Beiträge
    750 Aufrufe
    T
    @schneidy76 Hier ein sehr ähnlich gelagertes Beispiel wie bei dir. Ausgelöst wird nur durch die Anwesenheiserkennung im Büro. Dann wird Licht eingeschaltet, falls es bisher nicht an ist (dein Spezialfall, die Lichter lösen nichts aus, werden nur abgefragt). Und nur in dem Fall wird das Licht nach 10 Minuten wieder ausgeschaltet. Vielleicht hilft dir das Beispiel ja :-) [image: 1691654750901-acc23b2b-a781-4cc9-9f81-6e1cc0c708a4-whatsapp-image-2023-08-08-at-15.08.55.jpeg]
  • ShellyPlug / NodeRed / Werte zu einem Objekt

    8
    0 Stimmen
    8 Beiträge
    706 Aufrufe
    mickymM
    @frank86 warum stört dich der /? Du kannst die / ja auch noch weg lassen.
  • Docker -> Node Red EXEC Node RC-13 Fehler

    8
    0 Stimmen
    8 Beiträge
    765 Aufrufe
    OliverIOO
    @dancekid welche Berechtigungen und Zuordnung zu user/group haben die eingeklinkten ordner? evtl solltest du die noch an die anderen Ordner von iobroker angleichen. am besten in einer shell im docker container und nicht direkt über das ausserhalb zugängliche verzeichnis
  • Variable in Node "influxdb in"

    6
    0 Stimmen
    6 Beiträge
    673 Aufrufe
    mickymM
    @hinti wenn du mehrere Parameter hast, kannst du die msg.query auch mit einer Template Node zusammenbauen. Ist zwar nicht anders als mit einer Change-Node, vielleicht nur ein wenig übersichtlicher.
  • Encrypted credentials not found

    12
    1
    0 Stimmen
    12 Beiträge
    3k Aufrufe
    mickymM
    @alkazar Ja hat Dein iobroker irgendwelche credentials zur Anmeldung?
  • Brauche Hilfe beim https-Zugriff in nodered

    1
    3
    0 Stimmen
    1 Beiträge
    299 Aufrufe
    Niemand hat geantwortet
  • 2 Werte Subtrtahieren in Node Red

    60
    0 Stimmen
    60 Beiträge
    8k Aufrufe
    S
    @mickym said in 2 Werte Subtrtahieren in Node Red: @siporax Er schreibt dann der Wert wenn der Sonoff Power Datenpunkt aktualisiert wird. Das hat also nichts mit NodeRed zu tun. Ggf. kannst Du im Sonoff Adapter was einstellen - das musst Du aber dort erfragen. Ok,werde mal nachsehen. Danke für die Hilfe hier.
  • Alexa Reagiert nicht mehr auf Node Red

    14
    1
    0 Stimmen
    14 Beiträge
    1k Aufrufe
    B
    @bernd-1337 node red hat auch iwie ne menge fehler raus [image: 1690207744598-screenshot_5.png] [image: 1690207744467-screenshot_4.png]

402

Online

33.0k

Benutzer

83.6k

Themen

1.3m

Beiträge