NEWS
Pumpe steuern über Tempdifferenz
Node-Red
21
Beiträge
5
Kommentatoren
1.6k
Aufrufe
4
Watching
-
@rudolf1957
Versuche es mal mit diesem flow[ { "id": "899599b8f9de1378", "type": "tab", "label": "Flow 2", "disabled": false, "info": "", "env": [] }, { "id": "458e3bc802ffa358", "type": "api-current-state", "z": "899599b8f9de1378", "name": "", "server": "2a08017d41c42a0a", "version": 3, "outputs": 1, "halt_if": "", "halt_if_type": "str", "halt_if_compare": "is", "entity_id": "sensor.28_ff641f598ee0_temperature", "state_type": "num", "blockInputOverrides": false, "outputProperties": [ { "property": "payload", "propertyType": "msg", "value": "", "valueType": "entityState" }, { "property": "topic", "propertyType": "msg", "value": "Temp1", "valueType": "str" } ], "for": "0", "forType": "num", "forUnits": "minutes", "override_topic": false, "state_location": "payload", "override_payload": "msg", "entity_location": "data", "override_data": "msg", "x": 550, "y": 540, "wires": [ [ "c9415f769ea20817" ] ] }, { "id": "fce1376ac4483678", "type": "inject", "z": "899599b8f9de1378", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "1", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 210, "y": 560, "wires": [ [ "458e3bc802ffa358", "e562b1ee38ae590c" ] ] }, { "id": "e562b1ee38ae590c", "type": "api-current-state", "z": "899599b8f9de1378", "name": "", "server": "2a08017d41c42a0a", "version": 3, "outputs": 1, "halt_if": "", "halt_if_type": "str", "halt_if_compare": "is", "entity_id": "sensor.solis_temperature", "state_type": "num", "blockInputOverrides": false, "outputProperties": [ { "property": "payload", "propertyType": "msg", "value": "", "valueType": "entityState" }, { "property": "topic", "propertyType": "msg", "value": "Temp2", "valueType": "str" } ], "for": "0", "forType": "num", "forUnits": "minutes", "override_topic": false, "state_location": "payload", "override_payload": "msg", "entity_location": "data", "override_data": "msg", "x": 520, "y": 600, "wires": [ [ "c9415f769ea20817" ] ] }, { "id": "80b539375074cdfd", "type": "function", "z": "899599b8f9de1378", "name": "function 5", "func": "msg.topic = \"diff\"\nmsg.payload = msg.payload.Temp2 - msg.payload.Temp1;\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1080, "y": 560, "wires": [ [ "19dc43570ca9090f", "61e394b2b1d96a82" ] ] }, { "id": "c9415f769ea20817", "type": "join", "z": "899599b8f9de1378", "name": "", "mode": "custom", "build": "object", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "", "count": "2", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 890, "y": 560, "wires": [ [ "80b539375074cdfd", "847e8baca31e6b10" ] ] }, { "id": "19dc43570ca9090f", "type": "debug", "z": "899599b8f9de1378", "name": "debug 6", "active": true, "tosidebar": true, "console": true, "tostatus": true, "complete": "payload", "targetType": "msg", "statusVal": "payload", "statusType": "auto", "x": 1310, "y": 620, "wires": [] }, { "id": "847e8baca31e6b10", "type": "debug", "z": "899599b8f9de1378", "name": "debug 7", "active": false, "tosidebar": true, "console": true, "tostatus": true, "complete": "payload", "targetType": "msg", "statusVal": "payload", "statusType": "auto", "x": 1070, "y": 640, "wires": [] }, { "id": "61e394b2b1d96a82", "type": "switch", "z": "899599b8f9de1378", "name": "", "property": "payload", "propertyType": "msg", "rules": [ { "t": "gt", "v": "1", "vt": "num" }, { "t": "lt", "v": "1", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 1390, "y": 460, "wires": [ [ "316918699f3ea2ea" ], [ "0c942921a06f0cb7" ] ] }, { "id": "316918699f3ea2ea", "type": "api-call-service", "z": "899599b8f9de1378", "name": "Pumpe Ein", "server": "2a08017d41c42a0a", "version": 5, "debugenabled": false, "domain": "switch", "service": "turn_on", "areaId": [], "deviceId": [], "entityId": [ "switch.hm_flur_statusanzeige_state_ch3" ], "data": "", "dataType": "jsonata", "mergeContext": "", "mustacheAltTags": false, "outputProperties": [], "queue": "none", "x": 1610, "y": 400, "wires": [ [] ] }, { "id": "0c942921a06f0cb7", "type": "api-call-service", "z": "899599b8f9de1378", "name": "Pumpe Aus", "server": "2a08017d41c42a0a", "version": 5, "debugenabled": false, "domain": "switch", "service": "turn_off", "areaId": [], "deviceId": [], "entityId": [ "switch.hm_flur_statusanzeige_state_ch3" ], "data": "", "dataType": "jsonata", "mergeContext": "", "mustacheAltTags": false, "outputProperties": [], "queue": "none", "x": 1610, "y": 480, "wires": [ [] ] }, { "id": "2a08017d41c42a0a", "type": "server", "name": "Home Assistant", "version": 5, "addon": false, "rejectUnauthorizedCerts": true, "ha_boolean": "y|yes|true|on|home|open", "connectionDelay": true, "cacheJson": true, "heartbeat": false, "heartbeatInterval": "30", "areaSelector": "friendlyName", "deviceSelector": "friendlyName", "entitySelector": "friendlyName", "statusSeparator": ": ", "statusYear": "hidden", "statusMonth": "short", "statusDay": "numeric", "statusHourCycle": "default", "statusTimeFormat": "h:m", "enableGlobalContextStore": false } ]@stefan14
Hallo Stefan14, es funktioniert, nachdem ich die Geräte angepasst habe!
Herzlichen Dank :relaxed: :pray: