Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "6eb94cd1.eef2c4",
- "type": "api-call-service",
- "z": "75cade58.1ef5d",
- "name": "Valot 100% / 20min",
- "server": "59a59371.c0496c",
- "version": 1,
- "debugenabled": false,
- "service_domain": "scene",
- "service": "turn_on",
- "entityId": "scene.valot_100",
- "data": "{\"transition\":\"1200\"}",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 820,
- "y": 1780,
- "wires": [
- []
- ]
- },
- {
- "id": "6bbb7ed1.23e77",
- "type": "api-current-state",
- "z": "75cade58.1ef5d",
- "name": "Päällä?",
- "server": "59a59371.c0496c",
- "version": 1,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "override_topic": false,
- "entity_id": "input_boolean.heratys_paalla",
- "state_type": "str",
- "state_location": "payload.alarmstatus",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 620,
- "y": 1760,
- "wires": [
- [
- "6eb94cd1.eef2c4"
- ],
- []
- ]
- },
- {
- "id": "b7377fc.e68e28",
- "type": "function",
- "z": "75cade58.1ef5d",
- "name": "set time",
- "func": "varAlarmTime = msg.payload;\nmsg.payload = {};\nmsg.payload.ontime = varAlarmTime\nmsg.payload.offtime = varAlarmTime\nmsg.payload.offoffset = 1\nreturn msg;",
- "outputs": 1,
- "noerr": 0,
- "initialize": "",
- "finalize": "",
- "x": 320,
- "y": 1780,
- "wires": [
- [
- "43695247.ff6ccc"
- ]
- ]
- },
- {
- "id": "88fd9a9.ee19868",
- "type": "trigger-state",
- "z": "75cade58.1ef5d",
- "name": "Herätysaika asetettu",
- "server": "59a59371.c0496c",
- "exposeToHomeAssistant": false,
- "haConfig": [
- {
- "property": "name",
- "value": ""
- },
- {
- "property": "icon",
- "value": ""
- }
- ],
- "entityid": "input_datetime.heratysvalon_aika",
- "entityidfiltertype": "exact",
- "debugenabled": false,
- "constraints": [],
- "outputs": 2,
- "customoutputs": [],
- "outputinitially": true,
- "state_type": "str",
- "x": 120,
- "y": 1780,
- "wires": [
- [
- "b7377fc.e68e28"
- ],
- []
- ]
- },
- {
- "id": "43695247.ff6ccc",
- "type": "schedex",
- "z": "75cade58.1ef5d",
- "name": "Ajastin",
- "passthroughunhandled": false,
- "suspended": false,
- "lat": "38.897517",
- "lon": "-77.036542",
- "ontime": "06:30",
- "ontopic": "",
- "onpayload": "on",
- "onoffset": 0,
- "onrandomoffset": 0,
- "offtime": "06:31",
- "offtopic": "",
- "offpayload": "off",
- "offoffset": "",
- "offrandomoffset": 0,
- "mon": true,
- "tue": true,
- "wed": true,
- "thu": true,
- "fri": true,
- "sat": true,
- "sun": true,
- "x": 470,
- "y": 1780,
- "wires": [
- [
- "6bbb7ed1.23e77"
- ]
- ]
- },
- {
- "id": "59a59371.c0496c",
- "type": "server",
- "name": "Home Assistant",
- "legacy": false,
- "addon": false,
- "rejectUnauthorizedCerts": false,
- "ha_boolean": "y|yes|true|on|home|open",
- "connectionDelay": true,
- "cacheJson": true
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement