Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "9e610cbd.5c3b6",
- "type": "server-events",
- "z": "ca2305ba.3a64f8",
- "name": "Input Zwave Scene activated",
- "server": "65b61d5d.d1e1c4",
- "event_type": "zwave.scene_activated",
- "x": 160,
- "y": 2840,
- "wires": [
- [
- "91268369.61c9a"
- ]
- ]
- },
- {
- "id": "91268369.61c9a",
- "type": "switch",
- "z": "ca2305ba.3a64f8",
- "name": "Identify switch",
- "property": "payload.event.entity_id",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "zwave.office_front_lights_switch",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 420,
- "y": 2840,
- "wires": [
- [
- "b777f775.8c5d28"
- ]
- ]
- },
- {
- "id": "b777f775.8c5d28",
- "type": "switch",
- "z": "ca2305ba.3a64f8",
- "name": "Front Office Light Switch",
- "property": "payload.event.scene_data",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "7680",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "7860",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "7920",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "7980",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "8040",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "7740",
- "vt": "str"
- }
- ],
- "checkall": "false",
- "repair": false,
- "outputs": 6,
- "x": 670,
- "y": 2760,
- "wires": [
- [
- "84124d45.02426"
- ],
- [
- "6fe1f9a8.c3ddc8"
- ],
- [
- "d049106e.4be3"
- ],
- [
- "6bb16bee.d44264"
- ],
- [
- "8cf61e31.ecc"
- ],
- [
- "1058c247.6a6afe"
- ]
- ]
- },
- {
- "id": "84124d45.02426",
- "type": "switch",
- "z": "ca2305ba.3a64f8",
- "name": "1x Tap",
- "property": "payload.event.scene_id",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "1",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "2",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 930,
- "y": 2660,
- "wires": [
- [],
- []
- ]
- },
- {
- "id": "1058c247.6a6afe",
- "type": "switch",
- "z": "ca2305ba.3a64f8",
- "name": "Long",
- "property": "payload.event.scene_id",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "1",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "2",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 930,
- "y": 2860,
- "wires": [
- [],
- []
- ]
- },
- {
- "id": "8cf61e31.ecc",
- "type": "switch",
- "z": "ca2305ba.3a64f8",
- "name": "5x Tap",
- "property": "payload.event.scene_id",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "1",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "2",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 930,
- "y": 2820,
- "wires": [
- [],
- []
- ]
- },
- {
- "id": "6bb16bee.d44264",
- "type": "switch",
- "z": "ca2305ba.3a64f8",
- "name": "4x Tap",
- "property": "payload.event.scene_id",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "1",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "2",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 930,
- "y": 2780,
- "wires": [
- [],
- []
- ]
- },
- {
- "id": "d049106e.4be3",
- "type": "switch",
- "z": "ca2305ba.3a64f8",
- "name": "3x Tap",
- "property": "payload.event.scene_id",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "1",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "2",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 930,
- "y": 2740,
- "wires": [
- [],
- []
- ]
- },
- {
- "id": "6fe1f9a8.c3ddc8",
- "type": "switch",
- "z": "ca2305ba.3a64f8",
- "name": "2x Tap",
- "property": "payload.event.scene_id",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "1",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "2",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 930,
- "y": 2700,
- "wires": [
- [
- "82342c76.08e99",
- "2ee6c55d.d59bda",
- "5f3b5d60.30c184",
- "28d9ad08.ed4b22",
- "d9a5bf42.b0d81",
- "c0dbde48.739",
- "5aab6efe.79b3d"
- ],
- [
- "829eec45.96de6",
- "129e69d6.ed5236",
- "438d3261.15de4c",
- "f13f520c.fb519",
- "4753dbed.263004",
- "1c0b1abf.3d9c55",
- "8653e3c9.df975"
- ]
- ]
- },
- {
- "id": "83fc36ef.873d38",
- "type": "switch",
- "z": "ca2305ba.3a64f8",
- "name": "",
- "property": "payload",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "on",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "off",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 310,
- "y": 3120,
- "wires": [
- [
- "c0dbde48.739",
- "5aab6efe.79b3d"
- ],
- [
- "1c0b1abf.3d9c55",
- "8653e3c9.df975"
- ]
- ]
- },
- {
- "id": "c0dbde48.739",
- "type": "api-call-service",
- "z": "ca2305ba.3a64f8",
- "name": "office back light 1 on",
- "server": "65b61d5d.d1e1c4",
- "service_domain": "light",
- "service": "turn_on",
- "data": "{\"entity_id\":\"light.office_back_1\"}",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "x": 1480,
- "y": 2760,
- "wires": [
- []
- ]
- },
- {
- "id": "1c0b1abf.3d9c55",
- "type": "api-call-service",
- "z": "ca2305ba.3a64f8",
- "name": "office back light 1 off",
- "server": "65b61d5d.d1e1c4",
- "service_domain": "light",
- "service": "turn_off",
- "data": "{\"entity_id\":\"light.office_back_1\"}",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "x": 1480,
- "y": 3140,
- "wires": [
- []
- ]
- },
- {
- "id": "384a49c9.fd7c56",
- "type": "server-state-changed",
- "z": "ca2305ba.3a64f8",
- "name": "Front Office Light",
- "server": "65b61d5d.d1e1c4",
- "entityidfilter": "light.office_front_lights_switch_level",
- "entityidfiltertype": "exact",
- "outputinitially": false,
- "state_type": "str",
- "haltifstate": "",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "outputs": 1,
- "output_only_on_state_change": true,
- "x": 143,
- "y": 3120,
- "wires": [
- [
- "83fc36ef.873d38"
- ]
- ]
- },
- {
- "id": "5aab6efe.79b3d",
- "type": "api-call-service",
- "z": "ca2305ba.3a64f8",
- "name": "office back light 2 on",
- "server": "65b61d5d.d1e1c4",
- "service_domain": "light",
- "service": "turn_on",
- "data": "{\"entity_id\":\"light.office_back_2\"}",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "x": 1480,
- "y": 2800,
- "wires": [
- []
- ]
- },
- {
- "id": "8653e3c9.df975",
- "type": "api-call-service",
- "z": "ca2305ba.3a64f8",
- "name": "office back light 2 off",
- "server": "65b61d5d.d1e1c4",
- "service_domain": "light",
- "service": "turn_off",
- "data": "{\"entity_id\":\"light.office_back_2\"}",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "x": 1480,
- "y": 3180,
- "wires": [
- []
- ]
- },
- {
- "id": "618c1f7b.886c",
- "type": "comment",
- "z": "ca2305ba.3a64f8",
- "name": "Controll Office Lights",
- "info": "",
- "x": 118,
- "y": 3069,
- "wires": []
- },
- {
- "id": "d9a5bf42.b0d81",
- "type": "api-call-service",
- "z": "ca2305ba.3a64f8",
- "name": "office front light on",
- "server": "65b61d5d.d1e1c4",
- "service_domain": "light",
- "service": "turn_on",
- "data": "{\"entity_id\":\"light.office_front_lights_switch_level\"}",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "x": 1470,
- "y": 2720,
- "wires": [
- []
- ]
- },
- {
- "id": "4753dbed.263004",
- "type": "api-call-service",
- "z": "ca2305ba.3a64f8",
- "name": "front office light off",
- "server": "65b61d5d.d1e1c4",
- "service_domain": "light",
- "service": "turn_off",
- "data": "{\"entity_id\":\"light.office_front_lights_switch_level\"}",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "x": 1470,
- "y": 3100,
- "wires": [
- []
- ]
- },
- {
- "id": "5f3b5d60.30c184",
- "type": "api-call-service",
- "z": "ca2305ba.3a64f8",
- "name": "home theater BL on",
- "server": "65b61d5d.d1e1c4",
- "service_domain": "light",
- "service": "turn_on",
- "data": "{\"entity_id\":\"light.home_theater_back_left\"}",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "x": 1470,
- "y": 2640,
- "wires": [
- []
- ]
- },
- {
- "id": "28d9ad08.ed4b22",
- "type": "api-call-service",
- "z": "ca2305ba.3a64f8",
- "name": "home theater BR on",
- "server": "65b61d5d.d1e1c4",
- "service_domain": "light",
- "service": "turn_on",
- "data": "{\"entity_id\":\"light.home_theater_back_right\"}",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "x": 1480,
- "y": 2680,
- "wires": [
- []
- ]
- },
- {
- "id": "129e69d6.ed5236",
- "type": "api-call-service",
- "z": "ca2305ba.3a64f8",
- "name": "home theater BR off",
- "server": "65b61d5d.d1e1c4",
- "service_domain": "light",
- "service": "turn_off",
- "data": "{\"entity_id\":\"light.home_theater_back_right\"}",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "x": 1480,
- "y": 2980,
- "wires": [
- []
- ]
- },
- {
- "id": "829eec45.96de6",
- "type": "api-call-service",
- "z": "ca2305ba.3a64f8",
- "name": "home theater BL off",
- "server": "65b61d5d.d1e1c4",
- "service_domain": "light",
- "service": "turn_off",
- "data": "{\"entity_id\":\"light.home_theater_back_left\"}",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "x": 1470,
- "y": 2940,
- "wires": [
- []
- ]
- },
- {
- "id": "f13f520c.fb519",
- "type": "api-call-service",
- "z": "ca2305ba.3a64f8",
- "name": "home theater FR off",
- "server": "65b61d5d.d1e1c4",
- "service_domain": "light",
- "service": "turn_off",
- "data": "{\"entity_id\":\"light.home_theater_front_right\"}",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "x": 1480,
- "y": 3060,
- "wires": [
- []
- ]
- },
- {
- "id": "438d3261.15de4c",
- "type": "api-call-service",
- "z": "ca2305ba.3a64f8",
- "name": "home theater FL off",
- "server": "65b61d5d.d1e1c4",
- "service_domain": "light",
- "service": "turn_off",
- "data": "{\"entity_id\":\"light.home_theater_front_left\"}",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "x": 1470,
- "y": 3020,
- "wires": [
- []
- ]
- },
- {
- "id": "34f05386.4447fc",
- "type": "comment",
- "z": "ca2305ba.3a64f8",
- "name": "********* Scene Management ********",
- "info": "",
- "x": 180,
- "y": 2660,
- "wires": []
- },
- {
- "id": "65b61d5d.d1e1c4",
- "type": "server",
- "z": "",
- "name": "Home Assistant",
- "legacy": false,
- "hassio": false,
- "rejectUnauthorizedCerts": true,
- "ha_boolean": "y|yes|true|on|home|open",
- "connectionDelay": true
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement