Last active
July 20, 2020 21:32
-
-
Save Snipercaine/5462619742e52f45d3584f98df964b41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "64e44a9e.afc6a4", | |
"type": "subflow", | |
"name": "TTS Button", | |
"info": "", | |
"category": "", | |
"in": [ | |
{ | |
"x": 120, | |
"y": 120, | |
"wires": [ | |
{ | |
"id": "6039cb4c.6a1364" | |
}, | |
{ | |
"id": "a138c58a.af06c8" | |
} | |
] | |
} | |
], | |
"out": [ | |
{ | |
"x": 460, | |
"y": 160, | |
"wires": [ | |
{ | |
"id": "a138c58a.af06c8", | |
"port": 0 | |
} | |
] | |
} | |
], | |
"env": [ | |
{ | |
"name": "message", | |
"type": "str", | |
"value": "example message" | |
} | |
], | |
"color": "#DDAA99" | |
}, | |
{ | |
"id": "a138c58a.af06c8", | |
"type": "change", | |
"z": "64e44a9e.afc6a4", | |
"name": "Sign Off Message", | |
"rules": [ | |
{ | |
"t": "set", | |
"p": "payload", | |
"pt": "msg", | |
"to": "message", | |
"tot": "env" | |
} | |
], | |
"action": "", | |
"property": "", | |
"from": "", | |
"to": "", | |
"reg": false, | |
"x": 290, | |
"y": 160, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "6039cb4c.6a1364", | |
"type": "delay", | |
"z": "64e44a9e.afc6a4", | |
"name": "", | |
"pauseType": "delay", | |
"timeout": "10", | |
"timeoutUnits": "seconds", | |
"rate": "1", | |
"nbRateUnits": "1", | |
"rateUnits": "second", | |
"randomFirst": "1", | |
"randomLast": "5", | |
"randomUnits": "seconds", | |
"drop": false, | |
"x": 260, | |
"y": 100, | |
"wires": [ | |
[ | |
"14d77c71.3dae44" | |
] | |
] | |
}, | |
{ | |
"id": "14d77c71.3dae44", | |
"type": "api-call-service", | |
"z": "64e44a9e.afc6a4", | |
"name": "input off", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"debugenabled": false, | |
"service_domain": "input_boolean", | |
"service": "turn_off", | |
"entityId": "{{data.entity_id}}", | |
"data": "", | |
"dataType": "json", | |
"mergecontext": "", | |
"output_location": "", | |
"output_location_type": "none", | |
"mustacheAltTags": false, | |
"x": 440, | |
"y": 80, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "ba9771c4.a1637", | |
"type": "tab", | |
"label": "Thermostats", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "60a3d9d.b796828", | |
"type": "poll-state", | |
"z": "ba9771c4.a1637", | |
"name": "Upstairs AC Check", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"exposeToHomeAssistant": false, | |
"haConfig": [ | |
{ | |
"property": "name", | |
"value": "" | |
}, | |
{ | |
"property": "icon", | |
"value": "" | |
} | |
], | |
"updateinterval": "30", | |
"updateIntervalUnits": "minutes", | |
"outputinitially": false, | |
"outputonchanged": false, | |
"entity_id": "switch.upstairs_ac", | |
"state_type": "str", | |
"halt_if": "on", | |
"halt_if_type": "str", | |
"halt_if_compare": "is", | |
"outputs": 2, | |
"x": 110, | |
"y": 140, | |
"wires": [ | |
[ | |
"bac2c1d8.b1b3f" | |
], | |
[ | |
"cf5cf6c1.e71a88" | |
] | |
] | |
}, | |
{ | |
"id": "bac2c1d8.b1b3f", | |
"type": "api-current-state", | |
"z": "ba9771c4.a1637", | |
"name": "Outside Temp < 74", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"outputs": 2, | |
"halt_if": "74", | |
"halt_if_type": "num", | |
"halt_if_compare": "lte", | |
"override_topic": false, | |
"entity_id": "sensor.owm_temperature", | |
"state_type": "str", | |
"state_location": "state", | |
"override_payload": "msg", | |
"entity_location": "data", | |
"override_data": "msg", | |
"blockInputOverrides": false, | |
"x": 390, | |
"y": 140, | |
"wires": [ | |
[ | |
"56e02425.e3b37c", | |
"7d832415.280b0c" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "7d377c5.edd3b84", | |
"type": "api-call-service", | |
"z": "ba9771c4.a1637", | |
"name": "Turn on House Fan", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"debugenabled": false, | |
"service_domain": "switch", | |
"service": "turn_on", | |
"entityId": "switch.quietcool_low", | |
"data": "", | |
"dataType": "json", | |
"mergecontext": "", | |
"output_location": "payload", | |
"output_location_type": "msg", | |
"mustacheAltTags": false, | |
"x": 1070, | |
"y": 20, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "25e8f422.95a25c", | |
"type": "poll-state", | |
"z": "ba9771c4.a1637", | |
"name": "Main AC Check", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"exposeToHomeAssistant": false, | |
"haConfig": [ | |
{ | |
"property": "name", | |
"value": "" | |
}, | |
{ | |
"property": "icon", | |
"value": "" | |
} | |
], | |
"updateinterval": "30", | |
"updateIntervalUnits": "minutes", | |
"outputinitially": false, | |
"outputonchanged": false, | |
"entity_id": "switch.main_floor_ac", | |
"state_type": "str", | |
"halt_if": "on", | |
"halt_if_type": "str", | |
"halt_if_compare": "is", | |
"outputs": 2, | |
"x": 100, | |
"y": 200, | |
"wires": [ | |
[ | |
"bac2c1d8.b1b3f" | |
], | |
[ | |
"cf5cf6c1.e71a88" | |
] | |
] | |
}, | |
{ | |
"id": "eba047f4.722138", | |
"type": "comment", | |
"z": "ba9771c4.a1637", | |
"name": "If AC is on and it's cool outside, turn AC off and Fan on", | |
"info": "", | |
"x": 520, | |
"y": 40, | |
"wires": [] | |
}, | |
{ | |
"id": "7d832415.280b0c", | |
"type": "api-call-service", | |
"z": "ba9771c4.a1637", | |
"name": "Turn OFF AC", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"debugenabled": false, | |
"service_domain": "climate", | |
"service": "turn_off", | |
"entityId": "climate.upstairs_ac, climate.main_floor_ac", | |
"data": "", | |
"dataType": "json", | |
"mergecontext": "", | |
"output_location": "", | |
"output_location_type": "none", | |
"mustacheAltTags": false, | |
"x": 630, | |
"y": 140, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "cf5cf6c1.e71a88", | |
"type": "api-current-state", | |
"z": "ba9771c4.a1637", | |
"name": "Outside Temp > 75", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"outputs": 2, | |
"halt_if": "75", | |
"halt_if_type": "num", | |
"halt_if_compare": "gte", | |
"override_topic": false, | |
"entity_id": "sensor.owm_temperature", | |
"state_type": "str", | |
"state_location": "payload", | |
"override_payload": "msg", | |
"entity_location": "data", | |
"override_data": "msg", | |
"blockInputOverrides": false, | |
"x": 410, | |
"y": 360, | |
"wires": [ | |
[ | |
"47c51656.e4f308", | |
"8e88e76c.f19548" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "593d4b45.e09784", | |
"type": "api-call-service", | |
"z": "ba9771c4.a1637", | |
"name": "Turn ON AC", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"debugenabled": false, | |
"service_domain": "climate", | |
"service": "turn_on", | |
"entityId": "climate.upstairs_ac, climate.main_floor_ac", | |
"data": "", | |
"dataType": "json", | |
"mergecontext": "", | |
"output_location": "payload", | |
"output_location_type": "msg", | |
"mustacheAltTags": false, | |
"x": 830, | |
"y": 300, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "47c51656.e4f308", | |
"type": "api-call-service", | |
"z": "ba9771c4.a1637", | |
"name": "Turn OFF House Fan", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"debugenabled": false, | |
"service_domain": "switch", | |
"service": "turn_off", | |
"entityId": "switch.quietcool_low", | |
"data": "", | |
"dataType": "json", | |
"mergecontext": "", | |
"output_location": "", | |
"output_location_type": "none", | |
"mustacheAltTags": false, | |
"x": 680, | |
"y": 440, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "dfb704d8.97b138", | |
"type": "comment", | |
"z": "ba9771c4.a1637", | |
"name": "If AC is off and it's warm outside, turn AC on and Fan off", | |
"info": "", | |
"x": 510, | |
"y": 260, | |
"wires": [] | |
}, | |
{ | |
"id": "7cb9afc.11d385", | |
"type": "comment", | |
"z": "ba9771c4.a1637", | |
"name": "Climate Entities still control Cooling vs Idle based on inside Temps", | |
"info": "", | |
"x": 260, | |
"y": 80, | |
"wires": [] | |
}, | |
{ | |
"id": "56e02425.e3b37c", | |
"type": "api-current-state", | |
"z": "ba9771c4.a1637", | |
"name": "Outside Temp > 50", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"outputs": 2, | |
"halt_if": "50", | |
"halt_if_type": "num", | |
"halt_if_compare": "gt", | |
"override_topic": false, | |
"entity_id": "sensor.owm_temperature", | |
"state_type": "str", | |
"state_location": "payload", | |
"override_payload": "msg", | |
"entity_location": "data", | |
"override_data": "msg", | |
"blockInputOverrides": false, | |
"x": 650, | |
"y": 80, | |
"wires": [ | |
[ | |
"ef11616c.c3f38", | |
"781c83c4.7363dc" | |
], | |
[ | |
"e1ed857c.654438" | |
] | |
] | |
}, | |
{ | |
"id": "3b3fdb18.544544", | |
"type": "api-call-service", | |
"z": "ba9771c4.a1637", | |
"name": "Turn on Floor Heaters", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"debugenabled": false, | |
"service_domain": "climate", | |
"service": "turn_on", | |
"entityId": "climate.basement_bedrooms_heat, climate.kitchen_floor_heat, climate.main_floor_heat, climate.master_floor_heat, climate.office_floor_heat, climate.piano_room_floor_heat, climate.theater_heat, climate.toyroom_floor_heat", | |
"data": "", | |
"dataType": "json", | |
"mergecontext": "", | |
"output_location": "payload", | |
"output_location_type": "msg", | |
"mustacheAltTags": false, | |
"x": 1100, | |
"y": 260, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "781c83c4.7363dc", | |
"type": "api-call-service", | |
"z": "ba9771c4.a1637", | |
"name": "Turn off Floor Heaters", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"debugenabled": false, | |
"service_domain": "climate", | |
"service": "turn_off", | |
"entityId": "climate.basement_bedrooms_heat, climate.kitchen_floor_heat, climate.main_floor_heat, climate.master_floor_heat, climate.office_floor_heat, climate.piano_room_floor_heat, climate.theater_heat, climate.toyroom_floor_heat", | |
"data": "", | |
"dataType": "json", | |
"mergecontext": "", | |
"output_location": "", | |
"output_location_type": "none", | |
"mustacheAltTags": false, | |
"x": 920, | |
"y": 140, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "3dbce8da.bbffe8", | |
"type": "inject", | |
"z": "ba9771c4.a1637", | |
"name": "test", | |
"repeat": "", | |
"crontab": "", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "", | |
"payload": "", | |
"payloadType": "date", | |
"x": 150, | |
"y": 40, | |
"wires": [ | |
[ | |
"bac2c1d8.b1b3f", | |
"cf5cf6c1.e71a88" | |
] | |
] | |
}, | |
{ | |
"id": "a410d05f.7f684", | |
"type": "subflow:64e44a9e.afc6a4", | |
"z": "ba9771c4.a1637", | |
"name": "AC on", | |
"env": [ | |
{ | |
"name": "message", | |
"value": "I've turned on the Air Conditioing. Please make sure all the windows and doors are closed. ", | |
"type": "str" | |
} | |
], | |
"x": 830, | |
"y": 360, | |
"wires": [ | |
[ | |
"ee62e92e.6dd9b8" | |
] | |
] | |
}, | |
{ | |
"id": "ee62e92e.6dd9b8", | |
"type": "link out", | |
"z": "ba9771c4.a1637", | |
"name": "", | |
"links": [ | |
"f24a5964.da5068" | |
], | |
"x": 1375, | |
"y": 300, | |
"wires": [] | |
}, | |
{ | |
"id": "b418e669.cca148", | |
"type": "subflow:64e44a9e.afc6a4", | |
"z": "ba9771c4.a1637", | |
"name": "Quiet Cool On", | |
"env": [ | |
{ | |
"name": "message", | |
"value": "The Quiet Cool fan is turning on. Please open some windows and doors.", | |
"type": "str" | |
} | |
], | |
"x": 1080, | |
"y": 80, | |
"wires": [ | |
[ | |
"ee62e92e.6dd9b8" | |
] | |
] | |
}, | |
{ | |
"id": "8f34a920.1c4258", | |
"type": "subflow:64e44a9e.afc6a4", | |
"z": "ba9771c4.a1637", | |
"name": "Floor Heat On", | |
"env": [ | |
{ | |
"name": "message", | |
"value": "The floor heaters are on. ", | |
"type": "str" | |
} | |
], | |
"x": 1100, | |
"y": 200, | |
"wires": [ | |
[ | |
"ee62e92e.6dd9b8" | |
] | |
] | |
}, | |
{ | |
"id": "ef11616c.c3f38", | |
"type": "api-current-state", | |
"z": "ba9771c4.a1637", | |
"name": "Quiet Cool Off? ", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"outputs": 2, | |
"halt_if": "off", | |
"halt_if_type": "str", | |
"halt_if_compare": "is", | |
"override_topic": false, | |
"entity_id": "switch.quietcool_low", | |
"state_type": "str", | |
"state_location": "payload", | |
"override_payload": "msg", | |
"entity_location": "data", | |
"override_data": "msg", | |
"blockInputOverrides": false, | |
"x": 860, | |
"y": 40, | |
"wires": [ | |
[ | |
"7d377c5.edd3b84", | |
"b418e669.cca148" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "e1ed857c.654438", | |
"type": "api-current-state", | |
"z": "ba9771c4.a1637", | |
"name": "Floor Heaters Off? ", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"outputs": 2, | |
"halt_if": "off", | |
"halt_if_type": "str", | |
"halt_if_compare": "is", | |
"override_topic": false, | |
"entity_id": "climate.basement_bedrooms_heat, climate.kitchen_floor_heat, climate.main_floor_heat, climate.master_floor_heat, climate.office_floor_heat, climate.piano_room_floor_heat, climate.theater_heat, climate.toyroom_floor_heat", | |
"state_type": "str", | |
"state_location": "payload", | |
"override_payload": "msg", | |
"entity_location": "data", | |
"override_data": "msg", | |
"blockInputOverrides": false, | |
"x": 870, | |
"y": 220, | |
"wires": [ | |
[ | |
"3b3fdb18.544544", | |
"8f34a920.1c4258" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "8e88e76c.f19548", | |
"type": "api-current-state", | |
"z": "ba9771c4.a1637", | |
"name": "Is AC Off? ", | |
"server": "93e2a4eb.23bc48", | |
"version": 1, | |
"outputs": 2, | |
"halt_if": "off", | |
"halt_if_type": "str", | |
"halt_if_compare": "is", | |
"override_topic": false, | |
"entity_id": "climate.upstairs_ac", | |
"state_type": "str", | |
"state_location": "payload", | |
"override_payload": "msg", | |
"entity_location": "data", | |
"override_data": "msg", | |
"blockInputOverrides": false, | |
"x": 610, | |
"y": 320, | |
"wires": [ | |
[ | |
"593d4b45.e09784", | |
"a410d05f.7f684" | |
], | |
[] | |
] | |
}, | |
{ | |
"id": "93e2a4eb.23bc48", | |
"type": "server", | |
"z": "", | |
"name": "Home Assistant Zzs", | |
"legacy": false, | |
"addon": true, | |
"rejectUnauthorizedCerts": true, | |
"ha_boolean": "y|yes|true|on|home|open", | |
"connectionDelay": true, | |
"cacheJson": true | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment