From 83ba42eee85c9179f032de12d5f446b322d7e14c Mon Sep 17 00:00:00 2001 From: tm24fan8 Date: Sun, 23 Oct 2022 16:06:35 -0400 Subject: [PATCH] A/C only goes to dry mode if temperature above threshold --- flows.json | 221 ++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 166 insertions(+), 55 deletions(-) diff --git a/flows.json b/flows.json index b5549f1..5a8c3df 100644 --- a/flows.json +++ b/flows.json @@ -663,7 +663,9 @@ "59d83dd7c5adba1f" ], "x": 14, - "y": 699 + "y": 759, + "w": 1312, + "h": 422 }, { "id": "e065b1ed4938b477", @@ -745,10 +747,15 @@ "1c601a60ac7b668f", "29814d3dcc93670c", "0ba87300a6fd6950", - "ce3e05090d0848d5" + "ce3e05090d0848d5", + "76d51b3279d6630c", + "722337dd4775a357", + "e238631130b2c316" ], "x": 14, - "y": 59 + "y": 59, + "w": 2812, + "h": 682 }, { "id": "5c50443a84910fb7", @@ -14216,7 +14223,7 @@ "saturday": true, "debugenabled": false, "x": 120, - "y": 740, + "y": 800, "wires": [ [ "39d187b7e17d80ab" @@ -14278,7 +14285,7 @@ "saturday": true, "debugenabled": false, "x": 120, - "y": 820, + "y": 880, "wires": [ [ "39d187b7e17d80ab" @@ -14323,7 +14330,7 @@ "entity_location": "data", "override_data": "msg", "x": 550, - "y": 780, + "y": 840, "wires": [ [ "4792e2d88f7d533f" @@ -14359,7 +14366,7 @@ "repair": false, "outputs": 2, "x": 730, - "y": 780, + "y": 840, "wires": [ [ "d132875202e85038" @@ -14394,7 +14401,7 @@ "outputProperties": [], "queue": "none", "x": 680, - "y": 860, + "y": 920, "wires": [ [ "99e74844b8fd9d1a", @@ -14421,7 +14428,7 @@ "allowrate": false, "outputs": 1, "x": 840, - "y": 840, + "y": 900, "wires": [ [ "da1a1f23bf9429c5" @@ -14451,7 +14458,7 @@ "outputProperties": [], "queue": "none", "x": 1010, - "y": 840, + "y": 900, "wires": [ [ "6418c17768ed363d" @@ -14481,7 +14488,7 @@ "outputProperties": [], "queue": "none", "x": 1200, - "y": 840, + "y": 900, "wires": [ [] ] @@ -14511,7 +14518,7 @@ "outputProperties": [], "queue": "none", "x": 680, - "y": 960, + "y": 1020, "wires": [ [ "265b54394cc42f53" @@ -14537,7 +14544,7 @@ "allowrate": false, "outputs": 1, "x": 1060, - "y": 960, + "y": 1020, "wires": [ [ "73b51e79d20c7982" @@ -14567,7 +14574,7 @@ "outputProperties": [], "queue": "none", "x": 1230, - "y": 960, + "y": 1020, "wires": [ [] ] @@ -14595,7 +14602,7 @@ "outputProperties": [], "queue": "none", "x": 840, - "y": 960, + "y": 1020, "wires": [ [ "ed138e629ed0809f", @@ -14626,7 +14633,7 @@ "outputProperties": [], "queue": "none", "x": 920, - "y": 780, + "y": 840, "wires": [ [ "a6f4af0aaabcc2c1" @@ -14656,7 +14663,7 @@ "outputProperties": [], "queue": "none", "x": 1100, - "y": 780, + "y": 840, "wires": [ [] ] @@ -14723,7 +14730,7 @@ "to": "", "reg": false, "x": 1080, - "y": 1020, + "y": 1080, "wires": [ [ "fce2383754c91a31" @@ -14741,7 +14748,7 @@ "6f595f2a4713d76d" ], "x": 1215, - "y": 1020, + "y": 1080, "wires": [] }, { @@ -14779,7 +14786,7 @@ "to": "", "reg": false, "x": 860, - "y": 900, + "y": 960, "wires": [ [ "fce2383754c91a31" @@ -15254,7 +15261,7 @@ "entity_location": "data", "override_data": "msg", "x": 340, - "y": 780, + "y": 840, "wires": [ [ "3166f71fdf62748a" @@ -15486,7 +15493,7 @@ "outputProperties": [], "queue": "none", "x": 350, - "y": 940, + "y": 1000, "wires": [ [] ] @@ -15514,7 +15521,7 @@ "payload": "", "payloadType": "date", "x": 140, - "y": 940, + "y": 1000, "wires": [ [ "49eadd57e9728914" @@ -15530,8 +15537,8 @@ "links": [ "31b8c8291d19ffc6" ], - "x": 95, - "y": 500, + "x": 145, + "y": 440, "wires": [ [ "fa78faf38adfa49d" @@ -15561,11 +15568,11 @@ "checkall": "true", "repair": false, "outputs": 2, - "x": 290, - "y": 560, + "x": 330, + "y": 620, "wires": [ [ - "f541ad53e32f703b" + "722337dd4775a357" ], [ "9af6e13ddc0391f1" @@ -15594,8 +15601,8 @@ "mustacheAltTags": false, "outputProperties": [], "queue": "none", - "x": 440, - "y": 520, + "x": 620, + "y": 580, "wires": [ [ "66e85878d60c7d65" @@ -15624,8 +15631,8 @@ "mustacheAltTags": false, "outputProperties": [], "queue": "none", - "x": 580, - "y": 520, + "x": 760, + "y": 580, "wires": [ [ "f797103d28ab6d1c" @@ -15669,8 +15676,8 @@ "override_payload": "msg", "entity_location": "data", "override_data": "msg", - "x": 750, - "y": 520, + "x": 930, + "y": 580, "wires": [ [ "bcba065aa5ecb2be" @@ -15699,8 +15706,8 @@ "mustacheAltTags": false, "outputProperties": [], "queue": "none", - "x": 920, - "y": 520, + "x": 1100, + "y": 580, "wires": [ [] ] @@ -15802,8 +15809,8 @@ "override_payload": "msg", "entity_location": "data", "override_data": "msg", - "x": 460, - "y": 600, + "x": 500, + "y": 660, "wires": [ [ "11ed2afea8133e8f" @@ -15839,8 +15846,8 @@ "mustacheAltTags": false, "outputProperties": [], "queue": "none", - "x": 660, - "y": 580, + "x": 700, + "y": 640, "wires": [ [ "ae35b5c6578777a0" @@ -15869,8 +15876,8 @@ "mustacheAltTags": false, "outputProperties": [], "queue": "none", - "x": 860, - "y": 580, + "x": 900, + "y": 640, "wires": [ [] ] @@ -15897,8 +15904,8 @@ "mustacheAltTags": false, "outputProperties": [], "queue": "none", - "x": 660, - "y": 640, + "x": 700, + "y": 700, "wires": [ [ "81901cd811f2c733" @@ -15927,8 +15934,8 @@ "mustacheAltTags": false, "outputProperties": [], "queue": "none", - "x": 860, - "y": 640, + "x": 900, + "y": 700, "wires": [ [] ] @@ -15940,8 +15947,8 @@ "g": "e065b1ed4938b477", "name": "Shower Mode", "info": "", - "x": 130, - "y": 560, + "x": 170, + "y": 620, "wires": [] }, { @@ -16255,11 +16262,11 @@ "override_payload": "msg", "entity_location": "data", "override_data": "msg", - "x": 230, - "y": 500, + "x": 280, + "y": 440, "wires": [ [ - "cefb338fa0c6931e" + "76d51b3279d6630c" ], [] ], @@ -16627,7 +16634,7 @@ "entity_location": "data", "override_data": "msg", "x": 350, - "y": 860, + "y": 920, "wires": [ [ "c2bb11a2ba39b636" @@ -16663,7 +16670,7 @@ "repair": false, "outputs": 3, "x": 530, - "y": 860, + "y": 920, "wires": [ [ "6e10b32a122e8a2c" @@ -16701,7 +16708,7 @@ "outputProperties": [], "queue": "none", "x": 680, - "y": 1020, + "y": 1080, "wires": [ [ "59d83dd7c5adba1f" @@ -16743,13 +16750,117 @@ "to": "", "reg": false, "x": 1080, - "y": 1080, + "y": 1140, "wires": [ [ "fce2383754c91a31" ] ] }, + { + "id": "76d51b3279d6630c", + "type": "api-current-state", + "z": "72f99805df043603", + "g": "e065b1ed4938b477", + "name": "Temp", + "server": "9e87348d.9c1c48", + "version": 3, + "outputs": 1, + "halt_if": "", + "halt_if_type": "str", + "halt_if_compare": "is", + "entity_id": "sensor.pirateweather_temperature", + "state_type": "str", + "blockInputOverrides": false, + "outputProperties": [ + { + "property": "temp", + "propertyType": "msg", + "value": "", + "valueType": "entityState" + } + ], + "for": "0", + "forType": "num", + "forUnits": "minutes", + "override_topic": false, + "state_location": "payload", + "override_payload": "msg", + "entity_location": "data", + "override_data": "msg", + "x": 450, + "y": 440, + "wires": [ + [ + "e238631130b2c316" + ] + ] + }, + { + "id": "722337dd4775a357", + "type": "switch", + "z": "72f99805df043603", + "g": "e065b1ed4938b477", + "name": "", + "property": "temp", + "propertyType": "msg", + "rules": [ + { + "t": "gte", + "v": "threshold", + "vt": "msg" + } + ], + "checkall": "true", + "repair": false, + "outputs": 1, + "x": 470, + "y": 580, + "wires": [ + [ + "f541ad53e32f703b" + ] + ] + }, + { + "id": "e238631130b2c316", + "type": "api-current-state", + "z": "72f99805df043603", + "g": "e065b1ed4938b477", + "name": "Threshold", + "server": "9e87348d.9c1c48", + "version": 3, + "outputs": 1, + "halt_if": "", + "halt_if_type": "str", + "halt_if_compare": "is", + "entity_id": "input_number.master_bedroom_aircon_run_threshold", + "state_type": "str", + "blockInputOverrides": false, + "outputProperties": [ + { + "property": "threshold", + "propertyType": "msg", + "value": "", + "valueType": "entityState" + } + ], + "for": "0", + "forType": "num", + "forUnits": "minutes", + "override_topic": false, + "state_location": "payload", + "override_payload": "msg", + "entity_location": "data", + "override_data": "msg", + "x": 600, + "y": 440, + "wires": [ + [ + "cefb338fa0c6931e" + ] + ] + }, { "id": "105271e0816c6a52", "type": "ha-button",