alias: Keller - Pc schaltet rest ein
description: Pc schaltet monitore / heizung / anlage ein
trigger:
- platform: numeric_state
entity_id:
- sensor.smart_switch_23081604000533510d0548e1e9d6a185_power
above: 25
condition: []
action:
- action: switch.turn_on
metadata: {}
data: {}
target:
entity_id:
- switch.smart_switch_23081696117708510d0548e1e9d68c2a_outlet
- switch.sonoff_1001659d59_1
- data:
message: Monitore sind an
action: notify.mobile_app_iphone_15_pro_max
- action: switch.turn_on
metadata: {}
data: {}
target:
entity_id:
- switch.smart_switch_23081663927975510d0548e1e9d687c7_outlet
- switch.smart_switch_23071888599752510d0948e1e9d1f899_outlet
enabled: false
mode: single
[{"id":"6a6f301928857a87","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"6711cf909b5db13e","type":"server-state-changed","z":"6a6f301928857a87","name":"Rechner an","server":"ed17ea5d.2824a8","version":5,"outputs":2,"exposeAsEntityConfig":"","entityId":"sensor.smart_switch_23081604000533510d0548e1e9d6a185_power","entityIdType":"exact","outputInitially":false,"stateType":"str","ifState":"15","ifStateType":"num","ifStateOperator":"gt","outputOnlyOnStateChange":true,"for":"","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":190,"y":180,"wires":[["3d3f664fcbf6cc04","6cc4766309ad256d"],["7cac6cb3551da14d","0afe2964edc0d7b6","e726303e222a4747"]]},{"id":"3d3f664fcbf6cc04","type":"api-call-service","z":"6a6f301928857a87","name":"Monitor an","server":"ed17ea5d.2824a8","version":5,"debugenabled":false,"domain":"switch","service":"turn_on","areaId":[],"deviceId":["1626bfe6f0d9655208fcc208c1084c52","300a0d2ea14b480073294799b9e5ef6c"],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":690,"y":100,"wires":[[]]},{"id":"ba65364f34e533b8","type":"inject","z":"6a6f301928857a87","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"600","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":130,"y":320,"wires":[[]]},{"id":"7cac6cb3551da14d","type":"api-call-service","z":"6a6f301928857a87","name":"Monitor aus","server":"ed17ea5d.2824a8","version":5,"debugenabled":false,"domain":"switch","service":"turn_off","areaId":[],"deviceId":["300a0d2ea14b480073294799b9e5ef6c"],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":690,"y":220,"wires":[[]]},{"id":"6cc4766309ad256d","type":"api-call-service","z":"6a6f301928857a87","name":"keller led an","server":"ed17ea5d.2824a8","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":[],"entityId":["light.kellerlicht2x"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":690,"y":140,"wires":[[]]},{"id":"0afe2964edc0d7b6","type":"api-call-service","z":"6a6f301928857a87","name":"keller led aus","server":"ed17ea5d.2824a8","version":5,"debugenabled":false,"domain":"light","service":"turn_off","areaId":[],"deviceId":[],"entityId":["light.kellerlicht2x"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":690,"y":260,"wires":[[]]},{"id":"e726303e222a4747","type":"api-call-service","z":"6a6f301928857a87","name":"anlage aus","server":"ed17ea5d.2824a8","version":5,"debugenabled":false,"domain":"switch","service":"turn_off","areaId":[],"deviceId":[],"entityId":["switch.anlage"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":690,"y":300,"wires":[[]]},{"id":"ed17ea5d.2824a8","type":"server","name":"Home Assistant","addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"","connectionDelay":false,"cacheJson":false,"heartbeat":false,"heartbeatInterval":"","statusSeparator":"","enableGlobalContextStore":false}]
wie gesagt… oben funktioniert… das Node Red ja auch… aber wenn ich dann händisch das Licht ausschalte …geht es immer wieder an