Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "a791fdaf.f45f6",
- "type": "tab",
- "label": "Powermeter",
- "disabled": false,
- "info": ""
- },
- {
- "id": "c5dad93c.134568",
- "type": "server-state-changed",
- "z": "a791fdaf.f45f6",
- "name": "Waeschetrockner >= 5W",
- "server": "b058401.f38d5c",
- "version": 1,
- "exposeToHomeAssistant": false,
- "haConfig": [
- {
- "property": "name",
- "value": ""
- },
- {
- "property": "icon",
- "value": ""
- }
- ],
- "entityidfilter": "sensor.waeschetrockner_energy_power",
- "entityidfiltertype": "exact",
- "outputinitially": false,
- "state_type": "str",
- "haltifstate": "5",
- "halt_if_type": "num",
- "halt_if_compare": "gte",
- "outputs": 2,
- "output_only_on_state_change": true,
- "for": "",
- "forType": "num",
- "forUnits": "minutes",
- "ignorePrevStateNull": false,
- "ignorePrevStateUnknown": false,
- "ignorePrevStateUnavailable": false,
- "ignoreCurrentStateUnknown": false,
- "ignoreCurrentStateUnavailable": false,
- "x": 170,
- "y": 560,
- "wires": [
- [
- "6422a4d8.6f704c"
- ],
- []
- ]
- },
- {
- "id": "6422a4d8.6f704c",
- "type": "trigger",
- "z": "a791fdaf.f45f6",
- "name": "",
- "op1": "{{payload}}",
- "op2": "0",
- "op1type": "str",
- "op2type": "str",
- "duration": "0",
- "extend": false,
- "units": "ms",
- "reset": "",
- "bytopic": "all",
- "topic": "topic",
- "outputs": 1,
- "x": 390,
- "y": 680,
- "wires": [
- [
- "5f9e4039.ca92d",
- "b457b84c.e12a08"
- ]
- ]
- },
- {
- "id": "a085043d.7816d8",
- "type": "change",
- "z": "a791fdaf.f45f6",
- "name": "",
- "rules": [
- {
- "t": "set",
- "p": "reset",
- "pt": "msg",
- "to": "",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 700,
- "y": 920,
- "wires": [
- [
- "6422a4d8.6f704c"
- ]
- ]
- },
- {
- "id": "5f9e4039.ca92d",
- "type": "api-call-service",
- "z": "a791fdaf.f45f6",
- "name": "Pushover Wäschetrockner gestartet",
- "server": "b058401.f38d5c",
- "version": 1,
- "debugenabled": false,
- "service_domain": "notify",
- "service": "pushover",
- "entityId": "",
- "data": "{\"message\":\"Wäschetrockner gestartet\"}",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 690,
- "y": 520,
- "wires": [
- []
- ]
- },
- {
- "id": "cb6fc0ef.33d83",
- "type": "api-call-service",
- "z": "a791fdaf.f45f6",
- "name": "Pushover Wäschetrockner fertig",
- "server": "b058401.f38d5c",
- "version": 1,
- "debugenabled": false,
- "service_domain": "notify",
- "service": "pushover",
- "entityId": "",
- "data": "{\"message\":\"Wäschetrockner fertig\"}",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 1010,
- "y": 800,
- "wires": [
- []
- ]
- },
- {
- "id": "24b0bab1.100026",
- "type": "trigger",
- "z": "a791fdaf.f45f6",
- "name": "",
- "op1": "",
- "op2": "{{payload}}",
- "op1type": "nul",
- "op2type": "str",
- "duration": "2",
- "extend": true,
- "units": "min",
- "reset": "",
- "bytopic": "all",
- "topic": "topic",
- "outputs": 1,
- "x": 700,
- "y": 800,
- "wires": [
- [
- "a085043d.7816d8",
- "cb6fc0ef.33d83"
- ]
- ]
- },
- {
- "id": "b457b84c.e12a08",
- "type": "api-current-state",
- "z": "a791fdaf.f45f6",
- "name": "Waeschetrockner <= 2W",
- "server": "b058401.f38d5c",
- "version": 1,
- "outputs": 2,
- "halt_if": "2",
- "halt_if_type": "num",
- "halt_if_compare": "lte",
- "override_topic": false,
- "entity_id": "sensor.waeschetrockner_energy_power",
- "state_type": "num",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 690,
- "y": 720,
- "wires": [
- [
- "6e2fa486.5190dc"
- ],
- [
- "24b0bab1.100026",
- "6e2fa486.5190dc"
- ]
- ]
- },
- {
- "id": "6e2fa486.5190dc",
- "type": "delay",
- "z": "a791fdaf.f45f6",
- "name": "",
- "pauseType": "delay",
- "timeout": "5",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "1",
- "rateUnits": "second",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": false,
- "x": 700,
- "y": 620,
- "wires": [
- [
- "b457b84c.e12a08"
- ]
- ]
- },
- {
- "id": "b058401.f38d5c",
- "type": "server",
- "z": "",
- "name": "Home Assistant",
- "addon": true
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement