V5.0 Climate Control via DEW POINT COMFORT - (Triggers - Door, Presence, Light Notification & TTS) Home Assistant

V5.0 Climate Control via DEW POINT COMFORT - Triggers - Door, Presence, TTS, Home Assistant

This flow uses Outside Dew Point Temperature to control any Climate Entity through Home Assistant. Tested on TADO Smart AC Control V3+ this does not require a paid subcription to TADO.

  • Home and Away Presence Sensing
  • Door and Window Open Detection
  • Uses Outside Dew Point to set Heating, Comfort or Cooling Programs
  • Uses Indoor Dew Point to set Heating, Drying, Cooling or OFF Modes
  • Heat Boost Mode if the Dew Point is low in a room
  • Sets A/C to OFF or Economy Setting when set room temperature is reached
  • Avoids sending commands to A/C for the same mode, allowing idle state.
  • Activates Dehumidifier or Drying Mode, to improve Dew Point Comfort and reduce humidity
  • Coloured Light Notifications to signify A/C mode

Dew point control is a method of regulating the amount of moisture in the air to maintain a comfortable room temperature. It's important for underfloor cooling systems and can help reduce energy costs.

How it works

  • Dew point control regulates the amount of condensation that forms when warm air meets cold surfaces.
  • A low dew point makes the air feel drier, while a high dew point makes it feel more humid.
  • Air conditioning removes moisture and heat from the air, which lowers the dew point.

How to control dew point

  • Use a dehumidifier or humidifier to control the humidity level.
  • Ventilate the home properly. (Ventilation control coming in the next update)
  • Use a dew point sensor to calculate a rooms from temperature and humidity.
  • Use a hygrometer to measure humidity.

Benefits of dew point control Reduces energy usage, Prevents heat loss, Helps save money on heating bills, and Ensures that your home remains comfortable all year round.

image

REQUIREMENTS

FEATURES

NEW TADO AUTHENTICATION FLOW

image

IF YOU HAVE HAVE PREVIOUS node-red-contrib-tado-client NODES INSTALLED, ENSURE YOU CHANGE THE SERVER TO YOUR CURRENT SERVER

Tado no longer uses username/password auth.

Instead you should inject into the "Authentication Flow" and monitor the debug output. This will trigger a device auth flow, that will require you to visit a URL to login. The URL Login will be printed by the TADO Debug Node, Open the Deug Window to view.

Once you've logged in a token will be printed to the debug window. You can use this token to bypass the auth processnext time. An example of this is shown in the "Persistent Authentication" group - you'll need to enable this. Once enabled this will Tado [authenticate] node will automatically give an Authenticated if sucessful.

You should also replace the home_id in the calls with your home_id which can be found using the first example of getMe API call.

  • Tado [getMe] and Get all Zones Nodes
      1. Double Click Tado [getMe] Node, Add the Tado Config from previous step...
      1. Find your homes ID in the debug message [window payload.homes[0].id]
      1. Enter your Home ID into the other Nodes to fetch information from the API
      1. Each Tado Node in this flow will your Home ID and some Zone ID
      1. Find the path >_Copy Path Button in the Debug Node i.e. [payload.comfort[0].temperatureLevel]
      1. Copy the path into the Function Nodes in this

SET TADO HOME AND AWAY SWITCH (Controlled in Automation and Dashboard Switch)

image

  • Home and Away Switch Triggers

    • Trigger when persons in zone.home are more than 1
    • Poll zone.home more that one every 5 minutes, catches if a door or manual input has turned off the home switch
  • Home and Away Switch

    • Switch exposed to Home Assistant to allow manual control and display notifcations

    • Switch sets TADO Preset Modes, Home and Away (In the Tado App you can set different smart schedules for Home and Away Modes)

    • NOTE: There seems to be some limitations with sending dry mode via NodeRED or HA to my heat pumps. Setting in the TADO App works.

      • I have set my TADO Schedule Home Mode to DRY for both Heat Pumps.
      • I have set my TADO Schedule Away Mode to OFF for both Heat Pumps.
    • image

    • This Switch is what is activated in the flow.

    • Sends msg.topic: check so TTS does not activate everytime there is a change

    • NOTE: WHen using the TADO API Call Nodes I set the TADO Shedules to the following.

      • I have set my TADO Schedule Home Mode to OFF for both Heat Pumps.
      • I have set my TADO Schedule Away Mode to OFF for both Heat Pumps.

ACTIVATION - DEACTIVATION

image

  • Check every 10 Minutes Topic: check

    • Turns ON Home and Away Switch, only if TADO Mode is Home and Contact Sensors are OFF (Doors Closed)
    • If TADO Mode Home and Contact Sensors are ON (Doors Open) turns OFF A/C
    • Sends msg.topic: check so TTS does not activate everytime there is a change
  • Contact Sensors CLOSED 15sec - Topic:door

    • When all Contact Sensors are OFF (Doors Closed) Activates A/C
    • Sends msg.topic: door so TTS does activate between set times
  • Contact Sensors OPEN 2 Mins - Topic:door

    • When all Contact Sensors are ON (Doors Open) Turns OFF A/C
    • Sends msg.topic: door so TTS does activate between set times

CHECK DEW POINT

image

  • Check Outside Dew Point to Set Program

    • Dewpoint (<12.79 - Dry)(12.8-15.4 - Comfortable)(>15.5 Humid)
    • Activates Programs based on Outside Dew Point Comfort, which is a combination of temperature and humidity.
  • Check Outdoor Temperature

    • Temperature (<+ 21) and (<= 25)
    • On rare occassions or depending on your climate, Hot days can have a Low Dewpoint or Cold Days can have a High Dewpoint.
    • These Checks ensure the right Program is chosen.
  • Check Inside Dewpoint to Set Heating Program

    • Dewpoint (<10.0 - Dry)(10.1-12.79 - Pleasant)(12.8-15.4 - Comfortable)(15.5-18.39 - Sticky)(>18.4 - Muggy)

    • Sets the modes of the heat pump based on the above Dew Point thresholds

    • There is 3 programs Heating, Comfort and Cooling

    • The below chart is what the comfort values are based off and can vary slightly depending on your climate.

    • image

MODES

image

  • Indoor Temperature Check~~

    • Ensures if the room is above your setpoint it puts one setting lower.
  • Don't set if already Set~~

    • As the dewpoint is checked every 5mins, this ensures your A/C handles the set temperature. Avoids multiple ON and Mode commands that keep your A/C running, unnecessarily
    • Allow Home Assistant Thermostat Card to revert to idle state

V4.0 Modes - HEAT PUMP MODES USING SERVICE CALLS THROUGH HOME ASSISTANT image

V5.0 Modes - HEAT PUMP MODES LIVING ROOM - USING TADO API CALLS AND - HA SERVICE CALLS TO SET HA THERMOSTAT image

  • Active Time

    • Set the time you want the heating or cooling to be active, if false goes to sets the A/C to a lower more power efficient setting (auto=TADO Smart Schedule)
  • HEAT BOOST MODE, HEAT 23, HEAT 22, HEAT 21 (TTS Topic: door)

    • Sets HVAC mode to heat
    • Sets Temperature to 23°C, 22°C, 21°C
    • HA Thermostat card will say Heating
    • NOTE: Not recommended to send swing or fan mode changes, A/C will default to auto and set swing without them)
    • *NOTE: The difference in height/temperature from my TADO V3+ thermostat is about 3°C, keep this in mind when setting heat
    • If between set times and msg.topic: door TTS will activate
  • TADO SCHEDULE DRY MODE (TTS Topic: door)

    • Sets HVAC to home
    • Sets mode to auto via (auto=TADO Smart Schedule, if using V4.0 Modes)
    • Sets mode to dry via (TADO API, if using V5.0 Modes)
    • HA Thermostat card will say Drying
    • NOTE: If using V4.0 Modes, this uses the temperature or mode settings from your TADO Smart Schedule in my case I use it for the dry mode
    • If between set times and msg.topic: door TTS will activate
  • OFF MODE (TTS Topic: door)

    • Sets HVAC to off
    • HA Thermostat card will say Off
    • If between set times and msg.topic: door TTS will activate
  • COOL MODE (TTS Topic: door)

    • Sets HVAC to cool
    • Sets Temperature 26°C
    • HA Thermostat card will say Cooling
    • NOTE: The difference in height/temperature from my TADO V3+ thermostat is about 3°C, keep this in mind when setting cool temperature
    • If between set times and msg.topic: door TTS will activate

DEHUMIDIFER

image

  • Turns ON and OFF Dehumidifier with smart plug.
  • NOTE: Drying the air reduces dewpoint temperature

AWAY MODE DEHUMIDIFACTION - UTILISING DRY MODE ON AIR CONDITIONER

image

FAN CONTROL

  • Turns on fan if there is a 4 degree difference between ceiling and floor. image

NOTIFICATION LIGHT

image

  • Activates a status bar lights depending on the mode that is active
[{"id":"f3af93b3a8ce3671","type":"group","z":"9e3fc1e5920df13e","name":"DEWPOINT COMFORT A/C MODE, DOOR TRIGGERS, PRESENCE DETECTION AND TTS","style":{"fill":"#dbcbe7","fill-opacity":"0.47","label":true},"nodes":["8844b62cacaac828","c47ad93c431ad2e4","714894312c7da253","e3b66371685c887a","1b878a79c85829c8","8db831912b0ed639","aa71c304ce3dcc2e","0a23343483e415da","b4a422e3f6f00dce","bb3763e1d16aeec4","8f396cbe30d7e5f6","30ebde66d4b8fd71","3df55c2bea10b5b9","7ecb932ac307e2a6","9225945a8122a2c7","4b52db5560a38ce5","3f17fd20124ad6be","cba461b4a226cf3c","47a63da9813c15db","824275a4c605aa3c","496e05df71878e16","8303250593324aba","5022260cc1f652c1","8023658914a25b50","508cca8c44da1b22","894fcf8b64b4a236","b1cdfa8e29910596","8c1d6651e22198b9","d621b8b076ef0db4","57b186098a55b16f","ca54b9e9f8b83128","f668a3a5197a3bb2","174845a243708199","e7709b84688e7494","a97383e5fb30fe3e","62b3fc152e27333c","0dbe2f4845a50d67","82ead103e1c9d801","dc71a70a53f5bd9c","eccb2fc46909ad53","0998d0b69c906b1e","3ae0861ff6f9c362","705f8c9f8921d2b2","608668fd5753cdb4","e30448fbea4e56fa","a72deceab819581d"],"x":48,"y":33,"w":5290,"h":2574},{"id":"8844b62cacaac828","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"SET TADO HOME AND AWAY SWITCH (Controlled in Automation and Dashboard Switch)","style":{"label":true,"fill":"#bfdbef","fill-opacity":"0.46"},"nodes":["64e3a799e9140818","963894f1cbd60420","726cebfa79a428f4","86beb2ee1f531e6f","db974a18594e1291","f77cd0ef0fc8f6a5","3a1109ad35fad029","b8de9346295682e8","9efa63d76e6df6df","644cbbb9bb6aa7b0","50b0760b8f12690b","6cdcc198f8f2d1e5","940c34970db44b36"],"x":74,"y":1333,"w":1658,"h":468},{"id":"64e3a799e9140818","type":"api-call-service","z":"9e3fc1e5920df13e","g":"8844b62cacaac828","name":"TADO Preset mode home","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_preset_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1","eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs","climate.air_conditioning"],"labelId":[],"data":"{\"preset_mode\":\"home\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"climate","service":"set_preset_mode","x":470,"y":1440,"wires":[[]]},{"id":"963894f1cbd60420","type":"api-call-service","z":"9e3fc1e5920df13e","g":"8844b62cacaac828","name":"TADO Preset mode away","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_preset_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1","eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs","climate.air_conditioning"],"labelId":[],"data":"{\"preset_mode\":\"away\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"climate","service":"set_preset_mode","x":470,"y":1520,"wires":[["9efa63d76e6df6df","644cbbb9bb6aa7b0"]]},{"id":"726cebfa79a428f4","type":"ha-switch","z":"9e3fc1e5920df13e","g":"8844b62cacaac828","name":"Home and Away Switch","version":0,"debugenabled":false,"inputs":1,"outputs":2,"entityConfig":"66a95c33221af678","enableInput":true,"outputOnStateChange":true,"outputProperties":[{"property":"outputType","propertyType":"msg","value":"state change","valueType":"str"},{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"}],"x":200,"y":1480,"wires":[["64e3a799e9140818"],["963894f1cbd60420"]]},{"id":"86beb2ee1f531e6f","type":"trigger-state","z":"9e3fc1e5920df13e","g":"8844b62cacaac828","name":"HOME Set Persons","server":"bb380e72.b8825","version":5,"inputs":0,"outputs":2,"exposeAsEntityConfig":"","entities":{"entity":["zone.home"],"substring":[],"regex":[]},"debugEnabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","propertyValue":"new_state.state","comparatorType":">","comparatorValueDatatype":"num","comparatorValue":"0"}],"customOutputs":[],"outputInitially":false,"stateType":"num","enableInput":false,"x":210,"y":1640,"wires":[["db974a18594e1291"],["f77cd0ef0fc8f6a5"]]},{"id":"db974a18594e1291","type":"api-call-service","z":"9e3fc1e5920df13e","g":"8844b62cacaac828","name":"Home and Switch ON","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"switch.turn_on","floorId":[],"areaId":[],"deviceId":["c627cb78f91d85be074a2908eb79787b"],"entityId":[],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"switch","service":"turn_on","x":720,"y":1640,"wires":[[]]},{"id":"f77cd0ef0fc8f6a5","type":"api-call-service","z":"9e3fc1e5920df13e","g":"8844b62cacaac828","name":"Home and Switch OFF","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"switch.turn_off","floorId":[],"areaId":[],"deviceId":["c627cb78f91d85be074a2908eb79787b"],"entityId":[],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"switch","service":"turn_off","x":720,"y":1700,"wires":[[]]},{"id":"3a1109ad35fad029","type":"poll-state","z":"9e3fc1e5920df13e","g":"8844b62cacaac828","name":"Poll: HOME +1","server":"bb380e72.b8825","version":3,"exposeAsEntityConfig":"","updateInterval":"5","updateIntervalType":"num","updateIntervalUnits":"minutes","outputInitially":false,"outputOnChanged":false,"entityId":"zone.home","stateType":"str","ifState":"1","ifStateType":"num","ifStateOperator":"gte","outputs":2,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":200,"y":1760,"wires":[["b8de9346295682e8"],["f77cd0ef0fc8f6a5"]]},{"id":"b8de9346295682e8","type":"api-current-state","z":"9e3fc1e5920df13e","g":"8844b62cacaac828","name":"Contact Sensors OFF","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","entity_id":"binary_sensor.middle_floor_sensor_group","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"seconds","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":240,"y":1700,"wires":[["db974a18594e1291"],[]]},{"id":"9efa63d76e6df6df","type":"tado","z":"9e3fc1e5920df13e","g":"8844b62cacaac828","acMode":"DRY","apiCall":"clearZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Down (2) [ClearZoneOverlay]","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"2","x":760,"y":1580,"wires":[["940c34970db44b36"]]},{"id":"644cbbb9bb6aa7b0","type":"tado","z":"9e3fc1e5920df13e","g":"8844b62cacaac828","acMode":"DRY","apiCall":"clearZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Liv (1)[ClearZoneOverlay]","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"1","x":770,"y":1460,"wires":[["2d9bbec0bf03ded0"]]},{"id":"50b0760b8f12690b","type":"api-call-service","z":"9e3fc1e5920df13e","g":"8844b62cacaac828","name":"Down HVAC OFF","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.turn_off","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"turn_off","x":1270,"y":1660,"wires":[[]]},{"id":"6cdcc198f8f2d1e5","type":"group","z":"9e3fc1e5920df13e","g":"8844b62cacaac828","name":"AWAY MODE HUMIDITY CONTROL - API CALL TO SET A/C - SERVICE CALL TO  UPDATE  HA THERMOSTAT CARD ","style":{"label":true,"fill":"#000000"},"nodes":["ebf629ab8a2719bb","61fe1c740520286d","75b929f465c34a7e","e2770e9a2ef7e83a","472d5f45eb645127","47913af93d16573a","076111a424528928","2d9bbec0bf03ded0"],"x":954,"y":1359,"w":752,"h":262},{"id":"ebf629ab8a2719bb","type":"tado","z":"9e3fc1e5920df13e","g":"6cdcc198f8f2d1e5","acMode":"DRY","apiCall":"setZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Liv Dry Mode [setZoneOverlay]  API Call","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"1","x":1300,"y":1580,"wires":[["61fe1c740520286d"]]},{"id":"61fe1c740520286d","type":"api-call-service","z":"9e3fc1e5920df13e","g":"6cdcc198f8f2d1e5","name":"Liv HVAC Dry","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"hvac_mode\":\"dry\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":1600,"y":1580,"wires":[[]]},{"id":"75b929f465c34a7e","type":"api-current-state","z":"9e3fc1e5920df13e","g":"6cdcc198f8f2d1e5","name":"State: dry","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"dry","halt_if_type":"str","halt_if_compare":"is","entity_id":"climate.air_conditioning","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1040,"y":1580,"wires":[[],["ebf629ab8a2719bb"]]},{"id":"e2770e9a2ef7e83a","type":"api-current-state","z":"9e3fc1e5920df13e","g":"6cdcc198f8f2d1e5","name":"Contact Sensors ON (OPEN)","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"binary_sensor.middle_floor_sensor_group","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"seconds","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1100,"y":1520,"wires":[["472d5f45eb645127"],["75b929f465c34a7e"]]},{"id":"472d5f45eb645127","type":"api-call-service","z":"9e3fc1e5920df13e","g":"6cdcc198f8f2d1e5","name":"Liv HVAC OFF","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.turn_off","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"turn_off","x":1600,"y":1520,"wires":[[]]},{"id":"47913af93d16573a","type":"switch","z":"9e3fc1e5920df13e","g":"6cdcc198f8f2d1e5","name":"Dewpoint (<14.9 - Comfortable)(>15.5 Humid)","property":"payload","propertyType":"msg","rules":[{"t":"btwn","v":"0","vt":"num","v2":"15.54","v2t":"num"},{"t":"btwn","v":"15.5","vt":"num","v2":"100","v2t":"num"}],"checkall":"true","repair":false,"outputs":2,"x":1200,"y":1460,"wires":[["472d5f45eb645127"],["e2770e9a2ef7e83a"]]},{"id":"076111a424528928","type":"api-current-state","z":"9e3fc1e5920df13e","g":"6cdcc198f8f2d1e5","name":"DEWPOINT UPSTAIRS","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"0","halt_if_type":"num","halt_if_compare":"gt","entity_id":"sensor.dewpoint_upstairs","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"living","valueType":"str"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1330,"y":1400,"wires":[["47913af93d16573a"],[]]},{"id":"2d9bbec0bf03ded0","type":"stoptimer3","z":"9e3fc1e5920df13e","g":"6cdcc198f8f2d1e5","duration":"30","durationType":"num","units":"Second","payloadtype":"num","payloadval":"0","name":"","x":1070,"y":1400,"wires":[["076111a424528928"],[]]},{"id":"940c34970db44b36","type":"stoptimer3","z":"9e3fc1e5920df13e","g":"8844b62cacaac828","duration":"30","durationType":"num","units":"Second","payloadtype":"num","payloadval":"0","name":"","x":1050,"y":1660,"wires":[["50b0760b8f12690b"],[]]},{"id":"bb380e72.b8825","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true},{"id":"66a95c33221af678","type":"ha-entity-config","server":"bb380e72.b8825","deviceConfig":"5e60cfe5ba3cd7eb","name":"Home and Away Switch","version":"6","entityType":"switch","haConfig":[{"property":"name","value":"Home and Away Switch"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":"switch"}],"resend":false,"debugEnabled":false},{"id":"d1cf260f.0bb368","type":"tado-config","name":""},{"id":"5e60cfe5ba3cd7eb","type":"ha-device-config","name":"Home and Away Switch","hwVersion":"","manufacturer":"Node-RED","model":"","swVersion":""},{"id":"c47ad93c431ad2e4","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"AIR CONDITIONING LIGHT NOTIFICATIONS","style":{"fill":"#ffffbf","fill-opacity":"0.42","label":true},"nodes":["60bb45bc18d45adf","2b0f42f8d62ae4db","298d8e10115710c2","d37b73c6defded03","e058669eba36ad8f","fff12ece0e9781ed","e43e826634f20498","bcb0c9e81d5ca51d","08b91da683996a32","f65c41ed32ad06b8","0f9b6e24177c97f9","72b9c518217b5583","c6221faf867e79ce","bd8759bfa03c97fb","ed68864b5c96978a","41332148c17944fc","2a320c96b1fad2d8","b204c91fb6ab3f90","8e916501fda5bcf2","80589b765d6d40f5","fbeadb7ce0062add","c186929241f5547a","a121f88147284bf4","d3a1e8ec480eb504","7c02dd0997370e1a","5194be1e5d775c6f","db530ab7647d7dff","e80d286b10261be0","a17845131b3bf967","1f457c57359cd06f","df9b75899e1785a7","b4835b8cc40988c5","9a89557469017460","85977c4895f869ac","aa5f9c8e55b7c95c","31439e1aba9d1ca9","80f6b2f0c051400d","fffac40d6c7bbea0","ffa542415a703c5a","9715f59dfbc5669f","e9b0834131a55933","e491dc4a83992d4b","519c293442c30526","aebd0ecb6f8f1c62"],"x":74,"y":2219,"w":1742,"h":362},{"id":"60bb45bc18d45adf","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Yellow","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[ 60, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":510,"y":2260,"wires":[[]]},{"id":"2b0f42f8d62ae4db","type":"trigger-state","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Cool Set","server":"bb380e72.b8825","version":5,"inputs":0,"outputs":2,"exposeAsEntityConfig":"","entities":{"entity":["climate.air_conditioning"],"substring":[],"regex":[]},"debugEnabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","propertyValue":"new_state.state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"cool"}],"customOutputs":[],"outputInitially":false,"stateType":"str","enableInput":false,"x":160,"y":2340,"wires":[["e80d286b10261be0"],[]]},{"id":"298d8e10115710c2","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Light Blue","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[120, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":520,"y":2320,"wires":[[]]},{"id":"d37b73c6defded03","type":"trigger-state","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Auto Set","server":"bb380e72.b8825","version":5,"inputs":0,"outputs":2,"exposeAsEntityConfig":"","entities":{"entity":["climate.air_conditioning"],"substring":[],"regex":[]},"debugEnabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","propertyValue":"new_state.state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"auto"}],"customOutputs":[],"outputInitially":false,"stateType":"str","enableInput":false,"x":160,"y":2400,"wires":[["a17845131b3bf967"],[]]},{"id":"e058669eba36ad8f","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Lime","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[120, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":510,"y":2380,"wires":[[]]},{"id":"fff12ece0e9781ed","type":"trigger-state","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Heat Set","server":"bb380e72.b8825","version":5,"inputs":0,"outputs":2,"exposeAsEntityConfig":"","entities":{"entity":["climate.air_conditioning"],"substring":[],"regex":[]},"debugEnabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","propertyValue":"new_state.state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"heat"}],"customOutputs":[],"outputInitially":false,"stateType":"str","enableInput":false,"x":720,"y":2280,"wires":[["1f457c57359cd06f"],[]]},{"id":"e43e826634f20498","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Orange","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[40, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1080,"y":2260,"wires":[[]]},{"id":"bcb0c9e81d5ca51d","type":"trigger-state","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"OFF Set","server":"bb380e72.b8825","version":5,"inputs":0,"outputs":2,"exposeAsEntityConfig":"","entities":{"entity":["climate.air_conditioning"],"substring":[],"regex":[]},"debugEnabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","propertyValue":"new_state.state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"off"}],"customOutputs":[],"outputInitially":false,"stateType":"str","enableInput":false,"x":720,"y":2340,"wires":[["df9b75899e1785a7"],[]]},{"id":"08b91da683996a32","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Dark Blue","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[240, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1080,"y":2320,"wires":[[]]},{"id":"f65c41ed32ad06b8","type":"trigger-state","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"HOME Set","server":"bb380e72.b8825","version":5,"inputs":0,"outputs":2,"exposeAsEntityConfig":"","entities":{"entity":["sensor.home_tado_mode"],"substring":[],"regex":[]},"debugEnabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","propertyValue":"new_state.state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"HOME"}],"customOutputs":[],"outputInitially":false,"stateType":"str","enableInput":false,"x":720,"y":2400,"wires":[["b4835b8cc40988c5"],[]]},{"id":"0f9b6e24177c97f9","type":"trigger-state","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"AWAY Set","server":"bb380e72.b8825","version":5,"inputs":0,"outputs":2,"exposeAsEntityConfig":"","entities":{"entity":["sensor.home_tado_mode"],"substring":[],"regex":[]},"debugEnabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","propertyValue":"new_state.state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"AWAY"}],"customOutputs":[],"outputInitially":false,"stateType":"str","enableInput":false,"x":720,"y":2460,"wires":[["9a89557469017460"],[]]},{"id":"72b9c518217b5583","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Lime","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[120, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1070,"y":2380,"wires":[["c6221faf867e79ce"]]},{"id":"c6221faf867e79ce","type":"msg-resend","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","interval":"2","intervalUnit":"secs","maximum":"10","bytopic":false,"clone":false,"firstDelayed":false,"addCounters":false,"waitForResend":false,"highRate":false,"outputCountField":"","outputMaxField":"","name":"","x":1230,"y":2380,"wires":[["2a320c96b1fad2d8"]]},{"id":"bd8759bfa03c97fb","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Dark Blue","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[240, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1080,"y":2440,"wires":[["ed68864b5c96978a"]]},{"id":"ed68864b5c96978a","type":"msg-resend","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","interval":"2","intervalUnit":"secs","maximum":"10","bytopic":false,"clone":false,"firstDelayed":false,"addCounters":false,"waitForResend":false,"highRate":false,"outputCountField":"","outputMaxField":"","name":"","x":1230,"y":2440,"wires":[["8e916501fda5bcf2"]]},{"id":"41332148c17944fc","type":"trigger-state","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Dry Set","server":"bb380e72.b8825","version":5,"inputs":0,"outputs":2,"exposeAsEntityConfig":"","entities":{"entity":["climate.air_conditioning"],"substring":[],"regex":[]},"debugEnabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","propertyValue":"new_state.state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"dry"}],"customOutputs":[],"outputInitially":false,"stateType":"str","enableInput":false,"x":150,"y":2280,"wires":[["db530ab7647d7dff"],[]]},{"id":"2a320c96b1fad2d8","type":"light-transition","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"","startRGB":"#00ff04","transitionRGB":"#008000","endRGB":"#00ff1e","startMired":"","endMired":"","transitionTime":"5","transitionTimeUnits":"Second","steps":"20","startBright":"100","endBright":"100","brightnessType":"Percent","transitionType":"Linear","colorTransitionType":"Weighted","x":1440,"y":2380,"wires":[["b204c91fb6ab3f90"],[]]},{"id":"b204c91fb6ab3f90","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Green Flash","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":[],"entityId":["light.local_30cm_bar_light"],"labelId":[],"data":"{\t    \"rgb_color\": payload.rgb_color\t}\t","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1670,"y":2380,"wires":[["aebd0ecb6f8f1c62"]]},{"id":"8e916501fda5bcf2","type":"light-transition","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"","startRGB":"#002aff","transitionRGB":"#e100ff","endRGB":"#0011ff","startMired":"","endMired":"","transitionTime":"5","transitionTimeUnits":"Second","steps":"20","startBright":"100","endBright":"100","brightnessType":"Percent","transitionType":"Linear","colorTransitionType":"Weighted","x":1440,"y":2440,"wires":[["80589b765d6d40f5"],[]]},{"id":"80589b765d6d40f5","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Blue Flash","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":[],"entityId":["light.local_30cm_bar_light"],"labelId":[],"data":"{\t    \"rgb_color\": payload.rgb_color\t}\t","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1670,"y":2440,"wires":[["519c293442c30526"]]},{"id":"fbeadb7ce0062add","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Magenta","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[ 300, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1680,"y":2300,"wires":[[]]},{"id":"c186929241f5547a","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Red","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[ 0, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1490,"y":2260,"wires":[[]]},{"id":"a121f88147284bf4","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Purple","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[ 270, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1670,"y":2260,"wires":[[]]},{"id":"d3a1e8ec480eb504","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Red Flash","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"color_name\": \"red\", \"flash\": \"short\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1510,"y":2300,"wires":[[]]},{"id":"7c02dd0997370e1a","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Indiego","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[275, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1340,"y":2260,"wires":[[]]},{"id":"5194be1e5d775c6f","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Dark Blue","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[240, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1340,"y":2300,"wires":[[]]},{"id":"db530ab7647d7dff","type":"time-of-day","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":330,"y":2280,"wires":[["60bb45bc18d45adf"],["aa5f9c8e55b7c95c"]]},{"id":"e80d286b10261be0","type":"time-of-day","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":330,"y":2340,"wires":[["298d8e10115710c2"],["80f6b2f0c051400d"]]},{"id":"a17845131b3bf967","type":"time-of-day","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":330,"y":2400,"wires":[["e058669eba36ad8f"],["fffac40d6c7bbea0"]]},{"id":"1f457c57359cd06f","type":"time-of-day","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":890,"y":2280,"wires":[["e43e826634f20498"],["ffa542415a703c5a"]]},{"id":"df9b75899e1785a7","type":"time-of-day","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":890,"y":2340,"wires":[["08b91da683996a32"],["9715f59dfbc5669f"]]},{"id":"b4835b8cc40988c5","type":"time-of-day","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":890,"y":2400,"wires":[["72b9c518217b5583"],["e9b0834131a55933"]]},{"id":"9a89557469017460","type":"time-of-day","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":890,"y":2460,"wires":[["bd8759bfa03c97fb"],["e491dc4a83992d4b"]]},{"id":"85977c4895f869ac","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_off","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_off","x":870,"y":2540,"wires":[[]]},{"id":"aa5f9c8e55b7c95c","type":"link out","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Light Out","mode":"link","links":["31439e1aba9d1ca9"],"x":425,"y":2300,"wires":[]},{"id":"31439e1aba9d1ca9","type":"link in","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Light In","links":["aa5f9c8e55b7c95c","80f6b2f0c051400d","fffac40d6c7bbea0","ffa542415a703c5a","9715f59dfbc5669f","e9b0834131a55933","e491dc4a83992d4b","519c293442c30526","aebd0ecb6f8f1c62"],"x":765,"y":2540,"wires":[["85977c4895f869ac"]]},{"id":"80f6b2f0c051400d","type":"link out","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Light Out","mode":"link","links":["31439e1aba9d1ca9"],"x":425,"y":2360,"wires":[]},{"id":"fffac40d6c7bbea0","type":"link out","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Light Out","mode":"link","links":["31439e1aba9d1ca9"],"x":425,"y":2420,"wires":[]},{"id":"ffa542415a703c5a","type":"link out","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Light Out","mode":"link","links":["31439e1aba9d1ca9"],"x":985,"y":2300,"wires":[]},{"id":"9715f59dfbc5669f","type":"link out","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Light Out","mode":"link","links":["31439e1aba9d1ca9"],"x":985,"y":2360,"wires":[]},{"id":"e9b0834131a55933","type":"link out","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Light Out","mode":"link","links":["31439e1aba9d1ca9"],"x":985,"y":2420,"wires":[]},{"id":"e491dc4a83992d4b","type":"link out","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Light Out","mode":"link","links":["31439e1aba9d1ca9"],"x":985,"y":2480,"wires":[]},{"id":"519c293442c30526","type":"link out","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Light Out","mode":"link","links":["31439e1aba9d1ca9"],"x":1775,"y":2440,"wires":[]},{"id":"aebd0ecb6f8f1c62","type":"link out","z":"9e3fc1e5920df13e","g":"c47ad93c431ad2e4","name":"Light Out","mode":"link","links":["31439e1aba9d1ca9"],"x":1775,"y":2380,"wires":[]},{"id":"714894312c7da253","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Check Outside Dewpoint to Set Program","style":{"label":true,"fill":"#001f60","fill-opacity":"0.2"},"nodes":["29fb622f36c0a5da","af6bed6fd975bfef","f225b2d26ea32b5f","f34b49b80a7b1511"],"x":848,"y":571.5,"w":598,"h":557},{"id":"29fb622f36c0a5da","type":"switch","z":"9e3fc1e5920df13e","g":"714894312c7da253","name":"Dewpoint (<12.79 - Dry)(12.8-15.49 - Comfortable)(>15.5 Humid)","property":"payload","propertyType":"msg","rules":[{"t":"btwn","v":"-20","vt":"num","v2":"12.79","v2t":"num"},{"t":"btwn","v":"12.8","vt":"num","v2":"15.49","v2t":"num"},{"t":"btwn","v":"15.5","vt":"num","v2":"50","v2t":"num"}],"checkall":"true","repair":false,"outputs":3,"x":1190,"y":1080,"wires":[["923719106fba3ab7"],["85e780ba043cfe9e"],["fc50ea714eaabdb3"]]},{"id":"af6bed6fd975bfef","type":"group","z":"9e3fc1e5920df13e","g":"714894312c7da253","name":"BOM AUSTRALIA BACK-UP SENSOR","style":{"label":true},"nodes":["2e433e1343465268","999d8cd62b654dfb"],"x":874,"y":719,"w":532,"h":182},{"id":"2e433e1343465268","type":"api-current-state","z":"9e3fc1e5920df13e","g":"af6bed6fd975bfef","name":"IF DEWPOINT OUTSIDE UNKNOWN","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"unknown","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.dewpoint_outside","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1050,"y":860,"wires":[["999d8cd62b654dfb"],["f225b2d26ea32b5f"]]},{"id":"999d8cd62b654dfb","type":"api-current-state","z":"9e3fc1e5920df13e","g":"af6bed6fd975bfef","name":"DEWPOINT AIRPORT","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"-20","halt_if_type":"num","halt_if_compare":"gt","entity_id":"sensor.dewpoint_airport","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"living","valueType":"str"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1280,"y":760,"wires":[["f34b49b80a7b1511","29fb622f36c0a5da"],[]]},{"id":"f225b2d26ea32b5f","type":"api-current-state","z":"9e3fc1e5920df13e","g":"714894312c7da253","name":"DEWPOINT OUTSIDE","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"-20","halt_if_type":"num","halt_if_compare":"gt","entity_id":"sensor.dewpoint_outside","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"living","valueType":"str"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1280,"y":960,"wires":[["f34b49b80a7b1511","29fb622f36c0a5da"],[]]},{"id":"f34b49b80a7b1511","type":"switch","z":"9e3fc1e5920df13e","g":"714894312c7da253","name":"Dewpoint (<12.79 - Dry)(12.8-15.49 - Comfortable)(>15.5 Humid)","property":"payload","propertyType":"msg","rules":[{"t":"btwn","v":"-20","vt":"num","v2":"12.79","v2t":"num"},{"t":"btwn","v":"12.8","vt":"num","v2":"15.49","v2t":"num"},{"t":"btwn","v":"15.5","vt":"num","v2":"50","v2t":"num"}],"checkall":"true","repair":false,"outputs":3,"x":1190,"y":620,"wires":[["b70f803e79ea68fe"],["885edcd7e5f3b9dc"],["264202a8b97e25ff"]]},{"id":"e3b66371685c887a","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Check Inside Dewpoint to set Heating Program DOWNSTAIRS","style":{"label":true,"fill":"#ff0000","fill-opacity":"0.2"},"nodes":["3af5b9b46c9b4f17","35ffbf845b141fe0"],"x":1914,"y":719,"w":592,"h":177},{"id":"3af5b9b46c9b4f17","type":"api-current-state","z":"9e3fc1e5920df13e","g":"e3b66371685c887a","name":"DEWPOINT DOWNSTAIRS","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"-20","halt_if_type":"num","halt_if_compare":"gt","entity_id":"sensor.dewpoint_downstairs","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"downstairs","valueType":"str"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":2060,"y":760,"wires":[["35ffbf845b141fe0"],[]]},{"id":"35ffbf845b141fe0","type":"switch","z":"9e3fc1e5920df13e","g":"e3b66371685c887a","name":"Dewpoint (<10.0 - Dry)(10.1-12.79 - Pleas)(12.8-15.49 - Comf)(>15.5 Sticky))","property":"payload","propertyType":"msg","rules":[{"t":"btwn","v":"-20","vt":"num","v2":"10","v2t":"num"},{"t":"btwn","v":"10.1","vt":"num","v2":"12.79","v2t":"num"},{"t":"btwn","v":"12.8","vt":"num","v2":"15.49","v2t":"num"},{"t":"btwn","v":"15.5","vt":"num","v2":"50","v2t":"num"}],"checkall":"true","repair":false,"outputs":4,"x":2210,"y":840,"wires":[["2cd2ce0f3e9ff4d7"],["edcb44b6f9bdd663"],["fde0dafb4b2302ef"],[]]},{"id":"1b878a79c85829c8","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Check Inside Dewpoint to set Comfort Program DOWNSTAIRS","style":{"label":true,"fill":"#92d04f","fill-opacity":"0.2"},"nodes":["798350ac41aea4eb","89e2569d26135f19"],"x":1914,"y":919,"w":592,"h":177},{"id":"798350ac41aea4eb","type":"api-current-state","z":"9e3fc1e5920df13e","g":"1b878a79c85829c8","name":"DEWPOINT DOWNSTAIRS","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"0","halt_if_type":"num","halt_if_compare":"gt","entity_id":"sensor.dewpoint_downstairs","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"downstairs","valueType":"str"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":2060,"y":960,"wires":[["89e2569d26135f19"],[]]},{"id":"89e2569d26135f19","type":"switch","z":"9e3fc1e5920df13e","g":"1b878a79c85829c8","name":"Dewpoint (<10.0 - Dry)(10.1-12.79 - Pleas)(12.8-15.49 - Comf)(>15.5 Sticky))","property":"payload","propertyType":"msg","rules":[{"t":"btwn","v":"-20","vt":"num","v2":"10","v2t":"num"},{"t":"btwn","v":"10.1","vt":"num","v2":"12.79","v2t":"num"},{"t":"btwn","v":"12.8","vt":"num","v2":"15.49","v2t":"num"},{"t":"btwn","v":"15.5","vt":"num","v2":"50","v2t":"num"}],"checkall":"true","repair":false,"outputs":4,"x":2210,"y":1040,"wires":[["f668a3a5197a3bb2"],["ca54b9e9f8b83128"],["57b186098a55b16f"],["ab98d071d134c959"]]},{"id":"8db831912b0ed639","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Check Inside Dewpoint to set Cooling Program DOWNSTAIRS","style":{"label":true,"fill":"#3f93cf","fill-opacity":"0.2"},"nodes":["a187cf17a2dff64b","bbb89f1338c16286"],"x":1914,"y":1119,"w":512,"h":184.5},{"id":"a187cf17a2dff64b","type":"api-current-state","z":"9e3fc1e5920df13e","g":"8db831912b0ed639","name":"DEWPOINT DOWNSTAIRS","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"0","halt_if_type":"num","halt_if_compare":"gt","entity_id":"sensor.dewpoint_downstairs","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"downstairs","valueType":"str"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":2060,"y":1160,"wires":[["bbb89f1338c16286"],[]]},{"id":"bbb89f1338c16286","type":"switch","z":"9e3fc1e5920df13e","g":"8db831912b0ed639","name":"Dewpoint (<15.49 - Comf)(15.5-18.39 - Sticky)(>18.4 - Muggy)","property":"payload","propertyType":"msg","rules":[{"t":"btwn","v":"-20","vt":"num","v2":"10","v2t":"num"},{"t":"btwn","v":"10.1","vt":"num","v2":"12.79","v2t":"num"},{"t":"btwn","v":"12.8","vt":"num","v2":"15.49","v2t":"num"},{"t":"btwn","v":"15.5","vt":"num","v2":"18.39","v2t":"num"},{"t":"btwn","v":"18.4","vt":"num","v2":"50","v2t":"num"}],"checkall":"true","repair":false,"outputs":5,"x":2170,"y":1240,"wires":[["b1cdfa8e29910596"],["b1cdfa8e29910596"],["b1cdfa8e29910596"],["b1cdfa8e29910596"],["40ce233cb2ccad21"]]},{"id":"aa71c304ce3dcc2e","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"HEAT PUMP MODES DOWNSTAIRS - USING TADO API CALLS AND - HA SERVICE CALLS TO SET HA THERMOSTAT","style":{"label":true},"nodes":["120dd9962b185a3e","1bf2f45abb5ef8c1","ebcaa95b87e920a7","393923631342365b","492f9c738222b36f","e038d5eb6c2c970b","c65c9daf1fa5c06e","5c067fb2b9370881"],"x":3968,"y":733,"w":1259,"h":634},{"id":"120dd9962b185a3e","type":"group","z":"9e3fc1e5920df13e","g":"aa71c304ce3dcc2e","name":"COOL MODE DOWNSTAIRS  - TADO API CALL TO SET A/C - (SERVICE CALL TO  UPDATE HA THERMOSTAT CARD climate.set_hvac_mode) (TTS Topic: door)","style":{"label":true,"fill":"#3f93cf","fill-opacity":"0.2"},"nodes":["30352bad4d7d85b2","c6dadb905769752c","548785e60513cde6","94733517a37b36b7"],"x":3994,"y":1259,"w":1092,"h":82},{"id":"30352bad4d7d85b2","type":"time-of-day","z":"9e3fc1e5920df13e","g":"120dd9962b185a3e","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4830,"y":1300,"wires":[["c6dadb905769752c"],[]]},{"id":"c6dadb905769752c","type":"switch","z":"9e3fc1e5920df13e","g":"120dd9962b185a3e","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":5000,"y":1300,"wires":[[],[]]},{"id":"548785e60513cde6","type":"tado","z":"9e3fc1e5920df13e","g":"120dd9962b185a3e","acMode":"COOL","apiCall":"setZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Down Cool 25 [setZoneOverlay]  API Call","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"25","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"2","x":4180,"y":1300,"wires":[["94733517a37b36b7"]]},{"id":"94733517a37b36b7","type":"api-call-service","z":"9e3fc1e5920df13e","g":"120dd9962b185a3e","name":"Down HVAC Cool","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"hvac_mode\":\"cool\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4610,"y":1300,"wires":[["30352bad4d7d85b2"]]},{"id":"1bf2f45abb5ef8c1","type":"group","z":"9e3fc1e5920df13e","g":"aa71c304ce3dcc2e","name":"HEAT MODE 21 DOWNSTAIRS - TADO API CALL TO SET A/C - (SERVICE CALL TO  UPDATE HA THERMOSTAT CARD climate.set_hvac_mode) (TTS Topic: door)","style":{"label":true,"fill":"#ff7f7f","fill-opacity":"0.2"},"nodes":["69779d544eecb27d","9493b791763306a8","ff96f90aced65745","2a9d6ce9e84abae2"],"x":3994,"y":859,"w":1092,"h":82},{"id":"69779d544eecb27d","type":"time-of-day","z":"9e3fc1e5920df13e","g":"1bf2f45abb5ef8c1","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4830,"y":900,"wires":[["9493b791763306a8"],[]]},{"id":"9493b791763306a8","type":"switch","z":"9e3fc1e5920df13e","g":"1bf2f45abb5ef8c1","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":5000,"y":900,"wires":[[],[]]},{"id":"ff96f90aced65745","type":"tado","z":"9e3fc1e5920df13e","g":"1bf2f45abb5ef8c1","acMode":"HEAT","apiCall":"setZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Down Heat 22 [setZoneOverlay]  API Call","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"22","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"2","x":4180,"y":900,"wires":[["2a9d6ce9e84abae2"]]},{"id":"2a9d6ce9e84abae2","type":"api-call-service","z":"9e3fc1e5920df13e","g":"1bf2f45abb5ef8c1","name":"Down HVAC Heat","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"hvac_mode\":\"heat\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4610,"y":900,"wires":[["69779d544eecb27d"]]},{"id":"ebcaa95b87e920a7","type":"group","z":"9e3fc1e5920df13e","g":"aa71c304ce3dcc2e","name":"HEAT MODE 19 DOWNSTAIRS - TADO API CALL TO SET A/C - (SERVICE CALL TO  UPDATE HA THERMOSTAT CARD climate.set_hvac_mode) (TTS Topic: door)","style":{"label":true,"fill":"#ffbfbf","fill-opacity":"0.2"},"nodes":["716d6814c6e7c2cd","08ef7e16750be53d","d802d3bd409c9b3d","4bc0ce6645149ab8"],"x":3994,"y":959,"w":1092,"h":82},{"id":"716d6814c6e7c2cd","type":"time-of-day","z":"9e3fc1e5920df13e","g":"ebcaa95b87e920a7","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4830,"y":1000,"wires":[["08ef7e16750be53d"],[]]},{"id":"08ef7e16750be53d","type":"switch","z":"9e3fc1e5920df13e","g":"ebcaa95b87e920a7","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":5000,"y":1000,"wires":[[],[]]},{"id":"d802d3bd409c9b3d","type":"tado","z":"9e3fc1e5920df13e","g":"ebcaa95b87e920a7","acMode":"HEAT","apiCall":"setZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Down Heat 21 [setZoneOverlay]  API Call","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"21","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"2","x":4180,"y":1000,"wires":[["4bc0ce6645149ab8"]]},{"id":"4bc0ce6645149ab8","type":"api-call-service","z":"9e3fc1e5920df13e","g":"ebcaa95b87e920a7","name":"Down HVAC Heat","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"hvac_mode\":\"heat\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4610,"y":1000,"wires":[["716d6814c6e7c2cd"]]},{"id":"393923631342365b","type":"group","z":"9e3fc1e5920df13e","g":"aa71c304ce3dcc2e","name":"OFF MODE DOWNSTAIRS (Uses the schedule configured in the app to OFF for HOME Mode) (TTS Topic: door)","style":{"label":true,"fill":"#000000","fill-opacity":"0.1"},"nodes":["aff4cc7ae2fd5c86","3c30e63bda9275cf","d3db2e92df6d9cfc"],"x":4494,"y":1159,"w":707,"h":82},{"id":"aff4cc7ae2fd5c86","type":"time-of-day","z":"9e3fc1e5920df13e","g":"393923631342365b","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4830,"y":1200,"wires":[["3c30e63bda9275cf"],[]]},{"id":"3c30e63bda9275cf","type":"switch","z":"9e3fc1e5920df13e","g":"393923631342365b","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":5000,"y":1200,"wires":[[],[]]},{"id":"d3db2e92df6d9cfc","type":"api-call-service","z":"9e3fc1e5920df13e","g":"393923631342365b","name":"Down HVAC OFF","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.turn_off","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"turn_off","x":4610,"y":1200,"wires":[["aff4cc7ae2fd5c86"]]},{"id":"492f9c738222b36f","type":"group","z":"9e3fc1e5920df13e","g":"aa71c304ce3dcc2e","name":"DRY MODE DOWNSTAIRS - TADO API CALL TO SET A/C - (SERVICE CALL TO  UPDATE HA THERMOSTAT CARD climate.set_hvac_mode) (TTS Topic: door)","style":{"label":true,"fill":"#ffff00","fill-opacity":"0.2"},"nodes":["a3631a98e06c19f3","8260154a4baf8196","3a9f8fc6c8e53edf","47774a9b1a06f3e6"],"x":3994,"y":1059,"w":1092,"h":82},{"id":"a3631a98e06c19f3","type":"switch","z":"9e3fc1e5920df13e","g":"492f9c738222b36f","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":5000,"y":1100,"wires":[[],[]]},{"id":"8260154a4baf8196","type":"time-of-day","z":"9e3fc1e5920df13e","g":"492f9c738222b36f","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4830,"y":1100,"wires":[["a3631a98e06c19f3"],[]]},{"id":"3a9f8fc6c8e53edf","type":"tado","z":"9e3fc1e5920df13e","g":"492f9c738222b36f","acMode":"DRY","apiCall":"setZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Down Dry Mode [setZoneOverlay]  API Call","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"24","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"2","x":4190,"y":1100,"wires":[["47774a9b1a06f3e6"]]},{"id":"47774a9b1a06f3e6","type":"api-call-service","z":"9e3fc1e5920df13e","g":"492f9c738222b36f","name":"Down HVAC Dry","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"hvac_mode\":\"dry\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4600,"y":1100,"wires":[["8260154a4baf8196"]]},{"id":"e038d5eb6c2c970b","type":"group","z":"9e3fc1e5920df13e","g":"aa71c304ce3dcc2e","name":"HEAT MODE 23 DOWNSTAIRS - TADO API CALL TO SET A/C - (SERVICE CALL TO  UPDATE HA THERMOSTAT CARD climate.set_hvac_mode) (TTS Topic: door)","style":{"label":true,"fill":"#ff3f3f","fill-opacity":"0.2"},"nodes":["6852ddce1a5e454b","d769e737f8c3de75","0f37ddde62ae5716","dffb40f7eed849c1"],"x":3994,"y":759,"w":1092,"h":82},{"id":"6852ddce1a5e454b","type":"time-of-day","z":"9e3fc1e5920df13e","g":"e038d5eb6c2c970b","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4830,"y":800,"wires":[["d769e737f8c3de75"],[]]},{"id":"d769e737f8c3de75","type":"switch","z":"9e3fc1e5920df13e","g":"e038d5eb6c2c970b","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":5000,"y":800,"wires":[[],[]]},{"id":"0f37ddde62ae5716","type":"tado","z":"9e3fc1e5920df13e","g":"e038d5eb6c2c970b","acMode":"HEAT","apiCall":"setZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Down Heat 23 [setZoneOverlay]  API Call","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"23","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"2","x":4180,"y":800,"wires":[["dffb40f7eed849c1"]]},{"id":"dffb40f7eed849c1","type":"api-call-service","z":"9e3fc1e5920df13e","g":"e038d5eb6c2c970b","name":"Down HVAC Heat","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"hvac_mode\":\"heat\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4610,"y":800,"wires":[["6852ddce1a5e454b"]]},{"id":"c65c9daf1fa5c06e","type":"group","z":"9e3fc1e5920df13e","g":"aa71c304ce3dcc2e","name":"Clear TADO Timer/Manual Overlay","style":{"label":true},"nodes":["2f06b2315f47eb9b"],"x":3994,"y":1159,"w":292,"h":82},{"id":"2f06b2315f47eb9b","type":"tado","z":"9e3fc1e5920df13e","g":"c65c9daf1fa5c06e","acMode":"DRY","apiCall":"clearZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Down (2) [ClearZoneOverlay]","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"2","x":4140,"y":1200,"wires":[["5c067fb2b9370881"]]},{"id":"5c067fb2b9370881","type":"stoptimer3","z":"9e3fc1e5920df13e","g":"aa71c304ce3dcc2e","duration":"30","durationType":"num","units":"Second","payloadtype":"num","payloadval":"0","name":"","x":4390,"y":1200,"wires":[["d3db2e92df6d9cfc"],[]]},{"id":"0a23343483e415da","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"HEAT PUMP MODES LIVING ROOM - USING TADO API CALLS AND - HA SERVICE CALLS TO SET HA THERMOSTAT","style":{"label":true},"nodes":["928c82f3ba6f0996","fbb811248060ef55","c2718a01d26e3269","7fb71313fa4fd5dc","a0f968c9a3b457a4","dfbc62db20850266","66b68392178e4646","813230dea4d92fdf","61f25573ebc86cd8"],"x":3968,"y":73,"w":1344,"h":634},{"id":"928c82f3ba6f0996","type":"group","z":"9e3fc1e5920df13e","g":"0a23343483e415da","name":"TADO SCHEDULE DRY MODE LIVING ROOM - TADO API CALL TO SET A/C - (SERVICE CALL TO  UPDATE HA THERMOSTAT CARD climate.set_hvac_mode) (TTS Topic: door)","style":{"label":true,"fill":"#ffff00","fill-opacity":"0.2"},"nodes":["4548f34643794e7a","a3d3f3fac9396951","f5bbbd97ce2337ec","e5a5444e343f24d1","e4ee30e43c61ab25"],"x":3994,"y":399,"w":1292,"h":82},{"id":"4548f34643794e7a","type":"api-call-service","z":"9e3fc1e5920df13e","g":"928c82f3ba6f0996","name":"TTS Dry","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"tts.cloud_say","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"entity_id\":\"media_player.attic_speaker_ma\",\"message\":\"the door or window is closed, up stairs is set to Dry Mode\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"tts","service":"cloud_say","x":5200,"y":440,"wires":[[]]},{"id":"a3d3f3fac9396951","type":"switch","z":"9e3fc1e5920df13e","g":"928c82f3ba6f0996","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":5000,"y":440,"wires":[[],["4548f34643794e7a"]]},{"id":"f5bbbd97ce2337ec","type":"time-of-day","z":"9e3fc1e5920df13e","g":"928c82f3ba6f0996","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4830,"y":440,"wires":[["a3d3f3fac9396951"],[]]},{"id":"e5a5444e343f24d1","type":"api-call-service","z":"9e3fc1e5920df13e","g":"928c82f3ba6f0996","name":"Liv HVAC Dry","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"hvac_mode\":\"dry\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4600,"y":440,"wires":[["f5bbbd97ce2337ec"]]},{"id":"e4ee30e43c61ab25","type":"tado","z":"9e3fc1e5920df13e","g":"928c82f3ba6f0996","acMode":"DRY","apiCall":"setZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Liv Dry Mode [setZoneOverlay] API Call - No Temp - Manual","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"1","x":4240,"y":440,"wires":[["e5a5444e343f24d1"]]},{"id":"fbb811248060ef55","type":"group","z":"9e3fc1e5920df13e","g":"0a23343483e415da","name":"COOL MODE LIVING ROOM - TADO API CALL TO SET A/C - (SERVICE CALL TO  UPDATE HA THERMOSTAT CARD climate.set_hvac_mode) (TTS Topic: door)","style":{"label":true,"fill":"#3f93cf","fill-opacity":"0.2"},"nodes":["1220d690d9980127","3ab02b6714665617","e83e295928955a89","267a6ee25021ee96","3ffa6207fd4571b4"],"x":3994,"y":599,"w":1292,"h":82},{"id":"1220d690d9980127","type":"api-call-service","z":"9e3fc1e5920df13e","g":"fbb811248060ef55","name":"TTS Cool","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"tts.cloud_say","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"entity_id\":\"media_player.attic_speaker_ma\",\"message\":\"the door or window is closed, up stairs is set to Cool 26\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"tts","service":"cloud_say","x":5200,"y":640,"wires":[[]]},{"id":"3ab02b6714665617","type":"time-of-day","z":"9e3fc1e5920df13e","g":"fbb811248060ef55","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4830,"y":640,"wires":[["e83e295928955a89"],[]]},{"id":"e83e295928955a89","type":"switch","z":"9e3fc1e5920df13e","g":"fbb811248060ef55","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":5000,"y":640,"wires":[[],["1220d690d9980127"]]},{"id":"267a6ee25021ee96","type":"api-call-service","z":"9e3fc1e5920df13e","g":"fbb811248060ef55","name":"Liv HVAC Cool","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"hvac_mode\":\"cool\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4600,"y":640,"wires":[["3ab02b6714665617"]]},{"id":"3ffa6207fd4571b4","type":"tado","z":"9e3fc1e5920df13e","g":"fbb811248060ef55","acMode":"COOL","apiCall":"setZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Liv Cool 25 [setZoneOverlay] API Call - Manual","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"25","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"1","x":4200,"y":640,"wires":[["267a6ee25021ee96"]]},{"id":"c2718a01d26e3269","type":"group","z":"9e3fc1e5920df13e","g":"0a23343483e415da","name":"HEAT BOOST MODE LIVING ROOM - TADO API CALL TO SET A/C - (SERVICE CALL TO  UPDATE HA THERMOSTAT CARD climate.set_hvac_mode) (TTS Topic: door)","style":{"label":true,"fill":"#ff0000","fill-opacity":"0.2"},"nodes":["f04e840203ecebec","be97aed3f15a2456","cd7155bcf714a1eb","83292645d7cb48d7","56af7f822a22ee01"],"x":3994,"y":99,"w":1292,"h":82},{"id":"f04e840203ecebec","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c2718a01d26e3269","name":"TTS Heat Boost","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"tts.cloud_say","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"entity_id\":\"media_player.attic_speaker_ma\",\"message\":\"the door or window is closed, up stairs is set to Heat Boost Mode\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"tts","service":"cloud_say","x":5180,"y":140,"wires":[[]]},{"id":"be97aed3f15a2456","type":"time-of-day","z":"9e3fc1e5920df13e","g":"c2718a01d26e3269","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4830,"y":140,"wires":[["cd7155bcf714a1eb"],[]]},{"id":"cd7155bcf714a1eb","type":"switch","z":"9e3fc1e5920df13e","g":"c2718a01d26e3269","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":5000,"y":140,"wires":[[],["f04e840203ecebec"]]},{"id":"83292645d7cb48d7","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c2718a01d26e3269","name":"Liv HVAC Heat","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"hvac_mode\":\"heat\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4600,"y":140,"wires":[["be97aed3f15a2456"]]},{"id":"56af7f822a22ee01","type":"tado","z":"9e3fc1e5920df13e","g":"c2718a01d26e3269","acMode":"HEAT","apiCall":"setZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Liv Heat 23 Mode [setZoneOverlay] API Call - Manual","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"23","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"1","x":4220,"y":140,"wires":[["83292645d7cb48d7"]]},{"id":"7fb71313fa4fd5dc","type":"group","z":"9e3fc1e5920df13e","g":"0a23343483e415da","name":"OFF MODE LIVING ROOM (Uses the schedule configured in the app to OFF for HOME Mode) (TTS Topic: door)","style":{"label":true,"fill":"#000000","fill-opacity":"0.21"},"nodes":["e9f038a25ffb6349","1f4d5c6b91a3c183","605fb5023e779239","54d8ab223218e6c5"],"x":4494,"y":499,"w":792,"h":82},{"id":"e9f038a25ffb6349","type":"api-call-service","z":"9e3fc1e5920df13e","g":"7fb71313fa4fd5dc","name":"TTS Door Open","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"tts.cloud_say","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"entity_id\":\"media_player.attic_speaker_ma\",\"message\":\"a door or window has been open for 2 minutes, I have switched the heat pumps OFF\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"tts","service":"cloud_say","x":5180,"y":540,"wires":[[]]},{"id":"1f4d5c6b91a3c183","type":"time-of-day","z":"9e3fc1e5920df13e","g":"7fb71313fa4fd5dc","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4830,"y":540,"wires":[["605fb5023e779239"],[]]},{"id":"605fb5023e779239","type":"switch","z":"9e3fc1e5920df13e","g":"7fb71313fa4fd5dc","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":5000,"y":540,"wires":[[],["e9f038a25ffb6349"]]},{"id":"54d8ab223218e6c5","type":"api-call-service","z":"9e3fc1e5920df13e","g":"7fb71313fa4fd5dc","name":"Liv HVAC OFF","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.turn_off","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"turn_off","x":4600,"y":540,"wires":[["1f4d5c6b91a3c183"]]},{"id":"a0f968c9a3b457a4","type":"group","z":"9e3fc1e5920df13e","g":"0a23343483e415da","name":"HEAT 22 MODE LIVING ROOM - TADO API CALL TO SET A/C - (SERVICE CALL TO  UPDATE HA THERMOSTAT CARD climate.set_hvac_mode) (TTS Topic: door)","style":{"label":true,"fill":"#ff3f3f","fill-opacity":"0.2"},"nodes":["511db1cd3b0682fd","c3ddfe8f846a5dee","3c45124f67fc5e74","b059f66003ab3341","18eec34db1b4c801"],"x":3994,"y":199,"w":1292,"h":82},{"id":"511db1cd3b0682fd","type":"api-call-service","z":"9e3fc1e5920df13e","g":"a0f968c9a3b457a4","name":"TTS Heat 23","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"tts.cloud_say","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"entity_id\":\"media_player.attic_speaker_ma\",\"message\":\"the door or window is closed, up stairs is set to Heat 23\",\"title\":\"Door or Window Closed, Heat 23\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"tts","service":"cloud_say","x":5190,"y":240,"wires":[[]]},{"id":"c3ddfe8f846a5dee","type":"time-of-day","z":"9e3fc1e5920df13e","g":"a0f968c9a3b457a4","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4830,"y":240,"wires":[["3c45124f67fc5e74"],[]]},{"id":"3c45124f67fc5e74","type":"switch","z":"9e3fc1e5920df13e","g":"a0f968c9a3b457a4","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":5000,"y":240,"wires":[[],["511db1cd3b0682fd"]]},{"id":"b059f66003ab3341","type":"api-call-service","z":"9e3fc1e5920df13e","g":"a0f968c9a3b457a4","name":"Liv HVAC Heat","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"hvac_mode\":\"heat\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4600,"y":240,"wires":[["c3ddfe8f846a5dee"]]},{"id":"18eec34db1b4c801","type":"tado","z":"9e3fc1e5920df13e","g":"a0f968c9a3b457a4","acMode":"HEAT","apiCall":"setZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Liv Heat 22 Mode [setZoneOverlay] API Calll - Manual","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"22","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"1","x":4220,"y":240,"wires":[["b059f66003ab3341"]]},{"id":"dfbc62db20850266","type":"group","z":"9e3fc1e5920df13e","g":"0a23343483e415da","name":"HEAT 21 MODE LIVING ROOM - TADO API CALL TO SET A/C - (SERVICE CALL TO  UPDATE HA THERMOSTAT CARD climate.set_hvac_mode) (TTS Topic: door)","style":{"label":true,"fill":"#ff7f7f","fill-opacity":"0.2"},"nodes":["9fc5918b23a3c202","d734fc83a2639273","161fb4cb3378f842","5bcc47dd2416df79"],"x":3994,"y":299,"w":1292,"h":82},{"id":"9fc5918b23a3c202","type":"api-call-service","z":"9e3fc1e5920df13e","g":"dfbc62db20850266","name":"TTS Heat 21","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"tts.cloud_say","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"entity_id\":\"media_player.attic_speaker_ma\",\"message\":\"the door or window is closed, up stairs is set to Heat 21\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"tts","service":"cloud_say","x":5190,"y":340,"wires":[[]]},{"id":"d734fc83a2639273","type":"time-of-day","z":"9e3fc1e5920df13e","g":"dfbc62db20850266","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4830,"y":340,"wires":[["161fb4cb3378f842"],[]]},{"id":"161fb4cb3378f842","type":"switch","z":"9e3fc1e5920df13e","g":"dfbc62db20850266","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":5000,"y":340,"wires":[[],["9fc5918b23a3c202"]]},{"id":"5bcc47dd2416df79","type":"tado","z":"9e3fc1e5920df13e","g":"dfbc62db20850266","acMode":"HEAT","apiCall":"setZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Liv Heat 21 Mode [setZoneOverlay] API Calll - Manual","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"21","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"1","x":4220,"y":340,"wires":[["66b68392178e4646"]]},{"id":"66b68392178e4646","type":"api-call-service","z":"9e3fc1e5920df13e","g":"0a23343483e415da","name":"Liv HVAC Heat","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"hvac_mode\":\"heat\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4600,"y":340,"wires":[["d734fc83a2639273"]]},{"id":"813230dea4d92fdf","type":"group","z":"9e3fc1e5920df13e","g":"0a23343483e415da","name":"Clear TADO Timer/Manual Overlay","style":{"label":true},"nodes":["051d37641f7df219"],"x":3994,"y":499,"w":292,"h":82},{"id":"051d37641f7df219","type":"tado","z":"9e3fc1e5920df13e","g":"813230dea4d92fdf","acMode":"DRY","apiCall":"clearZoneOverlay","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"TADO_MODE","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"OFF","name":"Liv (1) [ClearZoneOverlay]","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"OFF","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"1","x":4140,"y":540,"wires":[["61f25573ebc86cd8"]]},{"id":"61f25573ebc86cd8","type":"stoptimer3","z":"9e3fc1e5920df13e","g":"0a23343483e415da","duration":"30","durationType":"num","units":"Second","payloadtype":"num","payloadval":"0","name":"","x":4390,"y":540,"wires":[["54d8ab223218e6c5"],[]]},{"id":"b4a422e3f6f00dce","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Don't Set if already Set","style":{"label":true},"nodes":["2af704854cf4d9a7","8f917933c376d850","41521dd2085ff4b6","81b54d55f703135b","4ab1a8299ac47f38","0667e6ebbdfdcbee","2a746d9dda896ec5","2cd2ce0f3e9ff4d7","edcb44b6f9bdd663","fde0dafb4b2302ef","ab98d071d134c959","7c8077def036e5f5","40ce233cb2ccad21"],"x":3244,"y":719,"w":402,"h":622},{"id":"2af704854cf4d9a7","type":"link in","z":"9e3fc1e5920df13e","g":"b4a422e3f6f00dce","name":"Down HVAC OFF","links":["b1cdfa8e29910596","894fcf8b64b4a236","f2f68ccaa2609bcb","9bc2c961fe705fa1"],"x":3285,"y":1220,"wires":[["7c8077def036e5f5"]]},{"id":"8f917933c376d850","type":"switch","z":"9e3fc1e5920df13e","g":"b4a422e3f6f00dce","name":"IS COOL","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"COOL","vt":"str"},{"t":"neq","v":"COOL","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3560,"y":1300,"wires":[[],["8b3bc13fbc998eeb"]]},{"id":"41521dd2085ff4b6","type":"switch","z":"9e3fc1e5920df13e","g":"b4a422e3f6f00dce","name":"IS OFF","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"OFF","vt":"str"},{"t":"neq","v":"OFF","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3560,"y":1200,"wires":[[],["2f06b2315f47eb9b"]]},{"id":"81b54d55f703135b","type":"switch","z":"9e3fc1e5920df13e","g":"b4a422e3f6f00dce","name":"IS DRY","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"DRY","vt":"str"},{"t":"neq","v":"DRY","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3560,"y":1100,"wires":[[],["9358ef2038ce83ea"]]},{"id":"4ab1a8299ac47f38","type":"switch","z":"9e3fc1e5920df13e","g":"b4a422e3f6f00dce","name":"IS SET 21","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"21","vt":"str"},{"t":"neq","v":"21","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3550,"y":1000,"wires":[[],["3486d241215b81bb"]]},{"id":"0667e6ebbdfdcbee","type":"switch","z":"9e3fc1e5920df13e","g":"b4a422e3f6f00dce","name":"IS SET 22","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"22","vt":"str"},{"t":"neq","v":"22","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3550,"y":900,"wires":[[],["dc6d68578a4c94a7"]]},{"id":"2a746d9dda896ec5","type":"switch","z":"9e3fc1e5920df13e","g":"b4a422e3f6f00dce","name":"IS SET 23","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"23","vt":"str"},{"t":"neq","v":"23","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3550,"y":800,"wires":[[],["63e1f74e2b8e7fe0"]]},{"id":"2cd2ce0f3e9ff4d7","type":"function","z":"9e3fc1e5920df13e","g":"b4a422e3f6f00dce","name":"Setting.TempSetpoint Downstairs Zone [2]","func":"if (msg.payload && msg.payload.zoneStates && msg.payload.zoneStates[\"2\"] && msg.payload.zoneStates[\"2\"].setting && msg.payload.zoneStates[\"2\"].setting.temperature) {\n    msg.payload = msg.payload.zoneStates[\"2\"].setting.temperature.celsius;\n} else {\n    msg.payload = 0.0;\n}\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":3460,"y":760,"wires":[["2a746d9dda896ec5"]]},{"id":"edcb44b6f9bdd663","type":"function","z":"9e3fc1e5920df13e","g":"b4a422e3f6f00dce","name":"Setting.TempSetpoint Downstairs Zone [2]","func":"if (msg.payload && msg.payload.zoneStates && msg.payload.zoneStates[\"2\"] && msg.payload.zoneStates[\"2\"].setting && msg.payload.zoneStates[\"2\"].setting.temperature) {\n    msg.payload = msg.payload.zoneStates[\"2\"].setting.temperature.celsius;\n} else {\n    msg.payload = 0.0;\n}\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":3460,"y":860,"wires":[["0667e6ebbdfdcbee"]]},{"id":"fde0dafb4b2302ef","type":"function","z":"9e3fc1e5920df13e","g":"b4a422e3f6f00dce","name":"Setting.TempSetpoint Downstairs Zone [2]","func":"if (msg.payload && msg.payload.zoneStates && msg.payload.zoneStates[\"2\"] && msg.payload.zoneStates[\"2\"].setting && msg.payload.zoneStates[\"2\"].setting.temperature) {\n    msg.payload = msg.payload.zoneStates[\"2\"].setting.temperature.celsius;\n} else {\n    msg.payload = 0.0;\n}\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":3460,"y":960,"wires":[["4ab1a8299ac47f38"]]},{"id":"ab98d071d134c959","type":"function","z":"9e3fc1e5920df13e","g":"b4a422e3f6f00dce","name":"Setting.Mode Downstairs Zone [2]","func":"if (msg.payload && msg.payload.zoneStates && msg.payload.zoneStates[\"2\"] && msg.payload.zoneStates[\"2\"].setting && msg.payload.zoneStates[\"2\"].setting.mode) {\n    msg.payload = msg.payload.zoneStates[\"2\"].setting.mode;\n} else {\n    msg.payload = msg.payload.zoneStates[\"2\"].setting.power;\n}\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":3480,"y":1060,"wires":[["81b54d55f703135b"]]},{"id":"7c8077def036e5f5","type":"function","z":"9e3fc1e5920df13e","g":"b4a422e3f6f00dce","name":"Setting.Mode Downstairs Zone [2]","func":"if (msg.payload && msg.payload.zoneStates && msg.payload.zoneStates[\"2\"] && msg.payload.zoneStates[\"2\"].setting && msg.payload.zoneStates[\"2\"].setting.mode) {\n    msg.payload = msg.payload.zoneStates[\"2\"].setting.mode;\n} else {\n    msg.payload = msg.payload.zoneStates[\"2\"].setting.power;\n}\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":3480,"y":1160,"wires":[["41521dd2085ff4b6"]]},{"id":"40ce233cb2ccad21","type":"function","z":"9e3fc1e5920df13e","g":"b4a422e3f6f00dce","name":"Setting.Mode Downstairs Zone [2]","func":"if (msg.payload && msg.payload.zoneStates && msg.payload.zoneStates[\"2\"] && msg.payload.zoneStates[\"2\"].setting && msg.payload.zoneStates[\"2\"].setting.mode) {\n    msg.payload = msg.payload.zoneStates[\"2\"].setting.mode;\n} else {\n    msg.payload = msg.payload.zoneStates[\"2\"].setting.power;\n}\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":3480,"y":1260,"wires":[["8f917933c376d850"]]},{"id":"bb3763e1d16aeec4","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"HEAT PUMP MODES LIVING ROOM USING SERVICE CALLS THROUGH HOME ASSISTANT","style":{"label":true},"nodes":["bcfa41ea7a158b80","8469fb746ce57f4c","e7e6662a1de50b0b","c2152dec8a43572d","4bfc8e0ad10db8ab","859cdd716d240210"],"x":4108,"y":1813,"w":1128,"h":634},{"id":"bcfa41ea7a158b80","type":"group","z":"9e3fc1e5920df13e","g":"bb3763e1d16aeec4","name":"TADO SCHEDULE DRY MODE LIVING ROOM (Uses the schedule configured in the app to DRY for (auto HOME Mode) (TTS Topic: door)","style":{"label":true,"fill":"#ffff00","fill-opacity":"0.2"},"nodes":["2718d06d20d00da6","33d0b6529c20b94f","9ac32a57f605bd67","f7d35869ecc71fa8","06cefe32e2d72581"],"x":4134,"y":2139,"w":1072,"h":82},{"id":"2718d06d20d00da6","type":"api-call-service","z":"9e3fc1e5920df13e","g":"bcfa41ea7a158b80","name":"TTS TADO Schedule Dry","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"notify.google_assistant_sdk","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"message\":\"the door or window is closed, up stairs is set to Dry Mode\",\"title\":\"Door or Window Closed, Dry Mode\",\"target\":\"attic speaker\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"notify","service":"google_assistant_sdk","x":5070,"y":2180,"wires":[[]]},{"id":"33d0b6529c20b94f","type":"switch","z":"9e3fc1e5920df13e","g":"bcfa41ea7a158b80","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":4880,"y":2180,"wires":[[],["2718d06d20d00da6"]]},{"id":"9ac32a57f605bd67","type":"time-of-day","z":"9e3fc1e5920df13e","g":"bcfa41ea7a158b80","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4670,"y":2180,"wires":[["33d0b6529c20b94f"],[]]},{"id":"f7d35869ecc71fa8","type":"api-call-service","z":"9e3fc1e5920df13e","g":"bcfa41ea7a158b80","name":"Liv TADO Preset","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_preset_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"preset_mode\":\"home\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_preset_mode","x":4250,"y":2180,"wires":[["06cefe32e2d72581"]]},{"id":"06cefe32e2d72581","type":"api-call-service","z":"9e3fc1e5920df13e","g":"bcfa41ea7a158b80","name":"Liv HVAC auto","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"hvac_mode\":\"auto\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4480,"y":2180,"wires":[["9ac32a57f605bd67"]]},{"id":"8469fb746ce57f4c","type":"group","z":"9e3fc1e5920df13e","g":"bb3763e1d16aeec4","name":"OFF MODE LIVING ROOM - SETS TADO PRESET MODE AWAY - SETS TADO SCHEDULE OFF - SERVICE CALL OFF UPDATE THERMOSTAT CARD (TTS Topic: door)","style":{"label":true,"fill":"#000000","fill-opacity":"0.21"},"nodes":["c25d8d96d0e9f6b9","25330469ac39233b","95b15031af696fe6","7adde47e7aa61d9f","9cd6aef3590b00a9"],"x":4134,"y":2239,"w":1076,"h":82},{"id":"c25d8d96d0e9f6b9","type":"api-call-service","z":"9e3fc1e5920df13e","g":"8469fb746ce57f4c","name":"Liv HVAC OFF","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.turn_off","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"turn_off","x":4480,"y":2280,"wires":[["95b15031af696fe6"]]},{"id":"25330469ac39233b","type":"api-call-service","z":"9e3fc1e5920df13e","g":"8469fb746ce57f4c","name":"TTS Door Open","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"tts.cloud_say","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"message\":\"a door or window has been open for 2 minutes, I have switched the heat pumps OFF\",\"title\":\"Door or Window Open, OFF\",\"target\":\"attic speaker\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"tts","service":"cloud_say","x":5100,"y":2280,"wires":[[]]},{"id":"95b15031af696fe6","type":"time-of-day","z":"9e3fc1e5920df13e","g":"8469fb746ce57f4c","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4670,"y":2280,"wires":[["7adde47e7aa61d9f"],[]]},{"id":"7adde47e7aa61d9f","type":"switch","z":"9e3fc1e5920df13e","g":"8469fb746ce57f4c","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":4880,"y":2280,"wires":[[],["25330469ac39233b"]]},{"id":"9cd6aef3590b00a9","type":"api-call-service","z":"9e3fc1e5920df13e","g":"8469fb746ce57f4c","name":"TADO Preset mode away","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_preset_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1","eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs","climate.air_conditioning"],"labelId":[],"data":"{\"preset_mode\":\"away\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"climate","service":"set_preset_mode","x":4270,"y":2280,"wires":[["c25d8d96d0e9f6b9"]]},{"id":"e7e6662a1de50b0b","type":"group","z":"9e3fc1e5920df13e","g":"bb3763e1d16aeec4","name":"HEAT BOOST MODE LIVING ROOM (TTS Topic: door)","style":{"label":true,"fill":"#ff0000","fill-opacity":"0.2"},"nodes":["4fb1ab16abd7b970","c73c547f11b14f24","ecc3c1672a8b64cf","5eeea30a169653e3","31bdf8769d9f48ec"],"x":4134,"y":1839,"w":1072,"h":82},{"id":"4fb1ab16abd7b970","type":"api-call-service","z":"9e3fc1e5920df13e","g":"e7e6662a1de50b0b","name":"TTS Heat Boost","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"notify.google_assistant_sdk","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"message\":\"the door or window is closed, up stairs is set to Heat Boost Mode\",\"title\":\"Door or Window Closed, Heat Boost Mode\",\"target\":\"attic speaker\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"notify","service":"google_assistant_sdk","x":5100,"y":1880,"wires":[[]]},{"id":"c73c547f11b14f24","type":"time-of-day","z":"9e3fc1e5920df13e","g":"e7e6662a1de50b0b","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4670,"y":1880,"wires":[["ecc3c1672a8b64cf"],[]]},{"id":"ecc3c1672a8b64cf","type":"switch","z":"9e3fc1e5920df13e","g":"e7e6662a1de50b0b","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":4880,"y":1880,"wires":[[],["4fb1ab16abd7b970"]]},{"id":"5eeea30a169653e3","type":"api-call-service","z":"9e3fc1e5920df13e","g":"e7e6662a1de50b0b","name":"Liv HVAC 25","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_temperature","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"temperature\":\"25\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_temperature","x":4470,"y":1880,"wires":[["c73c547f11b14f24"]]},{"id":"31bdf8769d9f48ec","type":"api-call-service","z":"9e3fc1e5920df13e","g":"e7e6662a1de50b0b","name":"Liv HVAC heat","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"hvac_mode\":\"heat\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4240,"y":1880,"wires":[["5eeea30a169653e3"]]},{"id":"c2152dec8a43572d","type":"group","z":"9e3fc1e5920df13e","g":"bb3763e1d16aeec4","name":"HEAT 23 MODE LIVING ROOM (TTS Topic: door)","style":{"label":true,"fill":"#ff3f3f","fill-opacity":"0.2"},"nodes":["02b293e4b25c9ab3","f8771719df302ba1","e35a404dc3c8de4e","f7bf5023ddbac59b","c61818c26438fad1"],"x":4134,"y":1939,"w":1072,"h":82},{"id":"02b293e4b25c9ab3","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c2152dec8a43572d","name":"TTS Heat 23","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"notify.google_assistant_sdk","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"message\":\"the door or window is closed, up stairs is set to Heat 23\",\"title\":\"Door or Window Closed, Heat 23\",\"target\":\"attic speaker\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"notify","service":"google_assistant_sdk","x":5110,"y":1980,"wires":[[]]},{"id":"f8771719df302ba1","type":"time-of-day","z":"9e3fc1e5920df13e","g":"c2152dec8a43572d","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4670,"y":1980,"wires":[["e35a404dc3c8de4e"],[]]},{"id":"e35a404dc3c8de4e","type":"switch","z":"9e3fc1e5920df13e","g":"c2152dec8a43572d","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":4880,"y":1980,"wires":[[],["02b293e4b25c9ab3"]]},{"id":"f7bf5023ddbac59b","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c2152dec8a43572d","name":"Liv HVAC 23","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_temperature","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"temperature\":\"23\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_temperature","x":4470,"y":1980,"wires":[["f8771719df302ba1"]]},{"id":"c61818c26438fad1","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c2152dec8a43572d","name":"Liv HVAC heat","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"hvac_mode\":\"heat\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4240,"y":1980,"wires":[["f7bf5023ddbac59b"]]},{"id":"4bfc8e0ad10db8ab","type":"group","z":"9e3fc1e5920df13e","g":"bb3763e1d16aeec4","name":"HEAT 21 MODE LIVING ROOM (TTS Topic: door)","style":{"label":true,"fill":"#ff7f7f","fill-opacity":"0.2"},"nodes":["9baa9dcdc16babfa","d998f3c3bd339538","52bd55f49343a2e7","6a5c7452712e5496","f38cc13af002fbb9"],"x":4134,"y":2039,"w":1072,"h":82},{"id":"9baa9dcdc16babfa","type":"api-call-service","z":"9e3fc1e5920df13e","g":"4bfc8e0ad10db8ab","name":"TTS Heat 21","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"notify.google_assistant_sdk","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"message\":\"the door or window is closed, up stairs is set to Heat 21\",\"title\":\"Door or Window Closed, Heat 21\",\"target\":\"attic speaker\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"notify","service":"google_assistant_sdk","x":5110,"y":2080,"wires":[[]]},{"id":"d998f3c3bd339538","type":"time-of-day","z":"9e3fc1e5920df13e","g":"4bfc8e0ad10db8ab","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4670,"y":2080,"wires":[["52bd55f49343a2e7"],[]]},{"id":"52bd55f49343a2e7","type":"switch","z":"9e3fc1e5920df13e","g":"4bfc8e0ad10db8ab","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":4880,"y":2080,"wires":[[],["9baa9dcdc16babfa"]]},{"id":"6a5c7452712e5496","type":"api-call-service","z":"9e3fc1e5920df13e","g":"4bfc8e0ad10db8ab","name":"Liv HVAC 21","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_temperature","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"temperature\":\"21\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_temperature","x":4470,"y":2080,"wires":[["d998f3c3bd339538"]]},{"id":"f38cc13af002fbb9","type":"api-call-service","z":"9e3fc1e5920df13e","g":"4bfc8e0ad10db8ab","name":"Liv HVAC heat","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"hvac_mode\":\"heat\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4240,"y":2080,"wires":[["6a5c7452712e5496"]]},{"id":"859cdd716d240210","type":"group","z":"9e3fc1e5920df13e","g":"bb3763e1d16aeec4","name":"COOL MODE LIVING ROOM (TTS Topic: door)","style":{"label":true,"fill":"#3f93cf","fill-opacity":"0.2"},"nodes":["10dc3a7204eefcfb","ba7f71bab91ec104","005e06f347c6abfb","18e910488f92c9d9","588273cf6284ddd2"],"x":4134,"y":2339,"w":1072,"h":82},{"id":"10dc3a7204eefcfb","type":"api-call-service","z":"9e3fc1e5920df13e","g":"859cdd716d240210","name":"Liv HVAC 26","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_temperature","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"temperature\":\"26\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_temperature","x":4470,"y":2380,"wires":[["18e910488f92c9d9"]]},{"id":"ba7f71bab91ec104","type":"api-call-service","z":"9e3fc1e5920df13e","g":"859cdd716d240210","name":"Liv HVAC Cool","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1"],"entityId":["climate.air_conditioning"],"labelId":[],"data":"{\"hvac_mode\":\"cool\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":4240,"y":2380,"wires":[["10dc3a7204eefcfb"]]},{"id":"005e06f347c6abfb","type":"api-call-service","z":"9e3fc1e5920df13e","g":"859cdd716d240210","name":"TTS Cool","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"tts.cloud_say","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"message\":\"the door or window is closed, up stairs is set to Cool 26\",\"title\":\"Door or Window Open, OFF\",\"target\":\"attic speaker\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"tts","service":"cloud_say","x":5120,"y":2380,"wires":[[]]},{"id":"18e910488f92c9d9","type":"time-of-day","z":"9e3fc1e5920df13e","g":"859cdd716d240210","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":4670,"y":2380,"wires":[["588273cf6284ddd2"],[]]},{"id":"588273cf6284ddd2","type":"switch","z":"9e3fc1e5920df13e","g":"859cdd716d240210","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":4880,"y":2380,"wires":[[],["005e06f347c6abfb"]]},{"id":"8f396cbe30d7e5f6","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"HEAT PUMP MODES DOWNSTAIRS USING SERVICE CALLS THROUGH HOME ASSISTANT","style":{"label":true},"nodes":["de2ae5aa2b4b7757","48f035d767260a26","0b66e2c6964fc247","4b6fd3cb38a0815f","a401d7d4c9fe6d57","c07cde0a355e5e1a"],"x":2848,"y":1813,"w":924,"h":634},{"id":"de2ae5aa2b4b7757","type":"group","z":"9e3fc1e5920df13e","g":"8f396cbe30d7e5f6","name":"COOL MODE DOWNSTAIRS (TTS Topic: door)","style":{"label":true,"fill":"#3f93cf","fill-opacity":"0.2"},"nodes":["14e28ba41fbbdd07","0cb0f3f92a714f5b","bf65cb165843cfe8","a35ffffaa6ee340d"],"x":2874,"y":2339,"w":872,"h":82},{"id":"14e28ba41fbbdd07","type":"api-call-service","z":"9e3fc1e5920df13e","g":"de2ae5aa2b4b7757","name":"Down HVAC 26","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_temperature","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"temperature\":\"26\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_temperature","x":3240,"y":2380,"wires":[["bf65cb165843cfe8"]]},{"id":"0cb0f3f92a714f5b","type":"api-call-service","z":"9e3fc1e5920df13e","g":"de2ae5aa2b4b7757","name":"Down HVAC Cool","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"hvac_mode\":\"cool\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":2990,"y":2380,"wires":[["14e28ba41fbbdd07"]]},{"id":"bf65cb165843cfe8","type":"time-of-day","z":"9e3fc1e5920df13e","g":"de2ae5aa2b4b7757","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":3450,"y":2380,"wires":[["a35ffffaa6ee340d"],[]]},{"id":"a35ffffaa6ee340d","type":"switch","z":"9e3fc1e5920df13e","g":"de2ae5aa2b4b7757","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3660,"y":2380,"wires":[[],[]]},{"id":"48f035d767260a26","type":"group","z":"9e3fc1e5920df13e","g":"8f396cbe30d7e5f6","name":"HEAT MODE 21 DOWNSTAIRS (TTS Topic: door)","style":{"label":true,"fill":"#ff7f7f","fill-opacity":"0.2"},"nodes":["769f6dc791323755","1df62e08e8073fb4","a9605627efa4dcc0","05ac0dbba7e27238"],"x":2874,"y":1939,"w":872,"h":82},{"id":"769f6dc791323755","type":"time-of-day","z":"9e3fc1e5920df13e","g":"48f035d767260a26","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":3450,"y":1980,"wires":[["1df62e08e8073fb4"],[]]},{"id":"1df62e08e8073fb4","type":"switch","z":"9e3fc1e5920df13e","g":"48f035d767260a26","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3660,"y":1980,"wires":[[],[]]},{"id":"a9605627efa4dcc0","type":"api-call-service","z":"9e3fc1e5920df13e","g":"48f035d767260a26","name":"Down HVAC 21","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_temperature","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"temperature\":\"21\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_temperature","x":3240,"y":1980,"wires":[["769f6dc791323755"]]},{"id":"05ac0dbba7e27238","type":"api-call-service","z":"9e3fc1e5920df13e","g":"48f035d767260a26","name":"Down HVAC Heat","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"hvac_mode\":\"heat\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":2990,"y":1980,"wires":[["a9605627efa4dcc0"]]},{"id":"0b66e2c6964fc247","type":"group","z":"9e3fc1e5920df13e","g":"8f396cbe30d7e5f6","name":"HEAT MODE 19 DOWNSTAIRS (TTS Topic: door)","style":{"label":true,"fill":"#ffbfbf","fill-opacity":"0.2"},"nodes":["219f0487d4371aae","a5f6561935711a4e","7ad2613242779bef","d61669aaa4021aa2"],"x":2874,"y":2039,"w":872,"h":82},{"id":"219f0487d4371aae","type":"time-of-day","z":"9e3fc1e5920df13e","g":"0b66e2c6964fc247","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":3450,"y":2080,"wires":[["a5f6561935711a4e"],[]]},{"id":"a5f6561935711a4e","type":"switch","z":"9e3fc1e5920df13e","g":"0b66e2c6964fc247","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3660,"y":2080,"wires":[[],[]]},{"id":"7ad2613242779bef","type":"api-call-service","z":"9e3fc1e5920df13e","g":"0b66e2c6964fc247","name":"Down HVAC 19","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_temperature","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"temperature\":\"19\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_temperature","x":3240,"y":2080,"wires":[["219f0487d4371aae"]]},{"id":"d61669aaa4021aa2","type":"api-call-service","z":"9e3fc1e5920df13e","g":"0b66e2c6964fc247","name":"Down HVAC Heat","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"hvac_mode\":\"heat\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":2990,"y":2080,"wires":[["7ad2613242779bef"]]},{"id":"4b6fd3cb38a0815f","type":"group","z":"9e3fc1e5920df13e","g":"8f396cbe30d7e5f6","name":"HEAT MODE 23 DOWNSTAIRS (TTS Topic: door)","style":{"label":true,"fill":"#ff3f3f","fill-opacity":"0.2"},"nodes":["0fa70bb8e0fa4cf0","c93c077fc17dca9e","0713172e9ea4eb4c","4781642783b7104e"],"x":2874,"y":1839,"w":872,"h":82},{"id":"0fa70bb8e0fa4cf0","type":"time-of-day","z":"9e3fc1e5920df13e","g":"4b6fd3cb38a0815f","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":3450,"y":1880,"wires":[["c93c077fc17dca9e"],[]]},{"id":"c93c077fc17dca9e","type":"switch","z":"9e3fc1e5920df13e","g":"4b6fd3cb38a0815f","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3660,"y":1880,"wires":[[],[]]},{"id":"0713172e9ea4eb4c","type":"api-call-service","z":"9e3fc1e5920df13e","g":"4b6fd3cb38a0815f","name":"Down HVAC 23","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_temperature","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"temperature\":\"23\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_temperature","x":3240,"y":1880,"wires":[["0fa70bb8e0fa4cf0"]]},{"id":"4781642783b7104e","type":"api-call-service","z":"9e3fc1e5920df13e","g":"4b6fd3cb38a0815f","name":"Down HVAC Heat","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"hvac_mode\":\"heat\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":2990,"y":1880,"wires":[["0713172e9ea4eb4c"]]},{"id":"a401d7d4c9fe6d57","type":"group","z":"9e3fc1e5920df13e","g":"8f396cbe30d7e5f6","name":"OFF MODE DOWNSTAIRS - TURNS OFF BY SETTING TADO SCHEDULE OFF VIA TADO GEOLOCATION (TTS Topic: door)","style":{"label":true,"fill":"#000000","fill-opacity":"0.1"},"nodes":["53ee04e8918e1a28","edbb288b690f2f79","c1137fd6ba32c593","ca02f973f89085b2"],"x":2874,"y":2239,"w":872,"h":82},{"id":"53ee04e8918e1a28","type":"time-of-day","z":"9e3fc1e5920df13e","g":"a401d7d4c9fe6d57","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":3450,"y":2280,"wires":[["edbb288b690f2f79"],[]]},{"id":"edbb288b690f2f79","type":"switch","z":"9e3fc1e5920df13e","g":"a401d7d4c9fe6d57","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3660,"y":2280,"wires":[[],[]]},{"id":"c1137fd6ba32c593","type":"api-call-service","z":"9e3fc1e5920df13e","g":"a401d7d4c9fe6d57","name":"TADO Preset mode away","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_preset_mode","floorId":[],"areaId":[],"deviceId":["1d2bcc499a5b8ef266105be599b319f1","eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs","climate.air_conditioning"],"labelId":[],"data":"{\"preset_mode\":\"away\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"climate","service":"set_preset_mode","x":3010,"y":2280,"wires":[["ca02f973f89085b2"]]},{"id":"ca02f973f89085b2","type":"api-call-service","z":"9e3fc1e5920df13e","g":"a401d7d4c9fe6d57","name":"Down HVAC OFF","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.turn_off","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"turn_off","x":3250,"y":2280,"wires":[["53ee04e8918e1a28"]]},{"id":"c07cde0a355e5e1a","type":"group","z":"9e3fc1e5920df13e","g":"8f396cbe30d7e5f6","name":"TADO SCHEDULE DRY MODE DOWNSTAIRS (Uses the schedule configured in the app to DRY for (auto HOME Mode) (TTS Topic: door)","style":{"label":true,"fill":"#ffff00","fill-opacity":"0.2"},"nodes":["2645dbfde53a9883","1efdb48bc35b0c22","10e7d7c6513813b2","47db6de436e22a23"],"x":2874,"y":2139,"w":872,"h":82},{"id":"2645dbfde53a9883","type":"switch","z":"9e3fc1e5920df13e","g":"c07cde0a355e5e1a","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3660,"y":2180,"wires":[[],[]]},{"id":"1efdb48bc35b0c22","type":"time-of-day","z":"9e3fc1e5920df13e","g":"c07cde0a355e5e1a","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":3450,"y":2180,"wires":[["2645dbfde53a9883"],[]]},{"id":"10e7d7c6513813b2","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c07cde0a355e5e1a","name":" Down TADO Preset","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_preset_mode","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"preset_mode\":\"home\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_preset_mode","x":2990,"y":2180,"wires":[["47db6de436e22a23"]]},{"id":"47db6de436e22a23","type":"api-call-service","z":"9e3fc1e5920df13e","g":"c07cde0a355e5e1a","name":"Down HVAC auto","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"climate.set_hvac_mode","floorId":[],"areaId":[],"deviceId":["eaa527238407b25def1f7d8eb7864ce1"],"entityId":["climate.air_conditioning_downstairs"],"labelId":[],"data":"{\"hvac_mode\":\"auto\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"climate","service":"set_hvac_mode","x":3250,"y":2180,"wires":[["1efdb48bc35b0c22"]]},{"id":"30ebde66d4b8fd71","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Don't Set if already Set","style":{"label":true},"nodes":["7602ca4e9d525f4b","e6a2824c115f3135","27f8a2c3324a0b06","3c0b3008558223a3","f712e24a07578711","6b67971fd49d27c6","a31fc8ce351939cf"],"x":2604,"y":1839,"w":222,"h":582},{"id":"7602ca4e9d525f4b","type":"api-current-state","z":"9e3fc1e5920df13e","g":"30ebde66d4b8fd71","name":"State: 23","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"$entity().attributes.temperature = 23","halt_if_type":"jsonata","halt_if_compare":"jsonata","entity_id":"climate.air_conditioning_downstairs","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"$entity().attributes.temperature","valueType":"jsonata"},{"property":"data","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":2740,"y":1880,"wires":[[],["4781642783b7104e"]]},{"id":"e6a2824c115f3135","type":"api-current-state","z":"9e3fc1e5920df13e","g":"30ebde66d4b8fd71","name":"State: 21","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"$entity().attributes.temperature = 21","halt_if_type":"jsonata","halt_if_compare":"jsonata","entity_id":"climate.air_conditioning_downstairs","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"$entity().attributes.temperature","valueType":"jsonata"},{"property":"data","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":2740,"y":1980,"wires":[[],["05ac0dbba7e27238"]]},{"id":"27f8a2c3324a0b06","type":"api-current-state","z":"9e3fc1e5920df13e","g":"30ebde66d4b8fd71","name":"State: 19","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"$entity().attributes.temperature = 19","halt_if_type":"jsonata","halt_if_compare":"jsonata","entity_id":"climate.air_conditioning_downstairs","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"$entity().attributes.temperature","valueType":"jsonata"},{"property":"data","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":2740,"y":2080,"wires":[[],["d61669aaa4021aa2"]]},{"id":"3c0b3008558223a3","type":"api-current-state","z":"9e3fc1e5920df13e","g":"30ebde66d4b8fd71","name":"State: dry","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"dry","halt_if_type":"str","halt_if_compare":"is","entity_id":"climate.air_conditioning_downstairs","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":2740,"y":2180,"wires":[[],["10e7d7c6513813b2"]]},{"id":"f712e24a07578711","type":"api-current-state","z":"9e3fc1e5920df13e","g":"30ebde66d4b8fd71","name":"State: cool","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"auto","halt_if_type":"str","halt_if_compare":"is","entity_id":"climate.air_conditioning_downstairs","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":2730,"y":2380,"wires":[[],["0cb0f3f92a714f5b"]]},{"id":"6b67971fd49d27c6","type":"link in","z":"9e3fc1e5920df13e","g":"30ebde66d4b8fd71","name":"Down HVAC OFF 2","links":[],"x":2645,"y":2280,"wires":[["a31fc8ce351939cf"]]},{"id":"a31fc8ce351939cf","type":"api-current-state","z":"9e3fc1e5920df13e","g":"30ebde66d4b8fd71","name":"State:: off","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","entity_id":"climate.air_conditioning_downstairs","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":2740,"y":2280,"wires":[[],["c1137fd6ba32c593"]]},{"id":"3df55c2bea10b5b9","type":"inject","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Test","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1970,"y":680,"wires":[["7ecb932ac307e2a6"]]},{"id":"7ecb932ac307e2a6","type":"link out","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"TEST OUT","mode":"link","links":["3f6a8c980e5e5e72"],"x":2055,"y":680,"wires":[]},{"id":"9225945a8122a2c7","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Don't Set if already Set","style":{"label":true},"nodes":["caa58ab9b89975cb","bd7c256952f95a87","bdd5a541d996b530","f99d7ef574837e75","6a667e0503fd127c","11b0bc7a1cd6ac55","cdeb20061b021a12"],"x":3864,"y":1839,"w":222,"h":582},{"id":"caa58ab9b89975cb","type":"api-current-state","z":"9e3fc1e5920df13e","g":"9225945a8122a2c7","name":"State: 25","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"$entity().attributes.temperature = 25","halt_if_type":"jsonata","halt_if_compare":"jsonata","entity_id":"climate.air_conditioning","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"$entity().attributes.temperature","valueType":"jsonata"},{"property":"data","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":4000,"y":1880,"wires":[[],["31bdf8769d9f48ec"]]},{"id":"bd7c256952f95a87","type":"api-current-state","z":"9e3fc1e5920df13e","g":"9225945a8122a2c7","name":"State: 23","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"$entity().attributes.temperature = 23","halt_if_type":"jsonata","halt_if_compare":"jsonata","entity_id":"climate.air_conditioning","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"$entity().attributes.temperature","valueType":"jsonata"},{"property":"data","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":4000,"y":1980,"wires":[[],["c61818c26438fad1"]]},{"id":"bdd5a541d996b530","type":"api-current-state","z":"9e3fc1e5920df13e","g":"9225945a8122a2c7","name":"State: 21","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"$entity().attributes.temperature = 21","halt_if_type":"jsonata","halt_if_compare":"jsonata","entity_id":"climate.air_conditioning","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"$entity().attributes.temperature","valueType":"jsonata"},{"property":"data","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":4000,"y":2080,"wires":[[],["f38cc13af002fbb9"]]},{"id":"f99d7ef574837e75","type":"api-current-state","z":"9e3fc1e5920df13e","g":"9225945a8122a2c7","name":"State: dry","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"dry","halt_if_type":"str","halt_if_compare":"is","entity_id":"climate.air_conditioning","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":4000,"y":2180,"wires":[[],["f7d35869ecc71fa8"]]},{"id":"6a667e0503fd127c","type":"api-current-state","z":"9e3fc1e5920df13e","g":"9225945a8122a2c7","name":"State: cool","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"auto","halt_if_type":"str","halt_if_compare":"is","entity_id":"climate.air_conditioning","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":3990,"y":2380,"wires":[[],["ba7f71bab91ec104"]]},{"id":"11b0bc7a1cd6ac55","type":"link in","z":"9e3fc1e5920df13e","g":"9225945a8122a2c7","name":"Down HVAC OFF 2","links":[],"x":3905,"y":2280,"wires":[["cdeb20061b021a12"]]},{"id":"cdeb20061b021a12","type":"api-current-state","z":"9e3fc1e5920df13e","g":"9225945a8122a2c7","name":"State:: off","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","entity_id":"climate.air_conditioning","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":4000,"y":2280,"wires":[[],["9cd6aef3590b00a9"]]},{"id":"4b52db5560a38ce5","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Check Inside Dewpoint to set Heating Program LIVING ROOM","style":{"label":true,"fill":"#ff0000","fill-opacity":"0.2"},"nodes":["36496a23bb13be32","5790eb06db40a3f4"],"x":1914,"y":59,"w":592,"h":177},{"id":"36496a23bb13be32","type":"switch","z":"9e3fc1e5920df13e","g":"4b52db5560a38ce5","name":"Dewpoint (<10.0 - Dry)(10.1-12.79 - Pleas)(12.8-15.49 - Comf)(>15.5 Sticky))","property":"payload","propertyType":"msg","rules":[{"t":"btwn","v":"-20","vt":"num","v2":"10","v2t":"num"},{"t":"btwn","v":"10.1","vt":"num","v2":"12.79","v2t":"num"},{"t":"btwn","v":"12.8","vt":"num","v2":"15.49","v2t":"num"},{"t":"btwn","v":"15.5","vt":"num","v2":"50","v2t":"num"}],"checkall":"true","repair":false,"outputs":4,"x":2210,"y":180,"wires":[["4598a64a86bd8025"],["363316c762ea451d"],["3d87dca1f46721d9"],["1abb4a4bb7f26d49"]]},{"id":"5790eb06db40a3f4","type":"api-current-state","z":"9e3fc1e5920df13e","g":"4b52db5560a38ce5","name":"DEWPOINT LIVING ROOM","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"-20","halt_if_type":"num","halt_if_compare":"gt","entity_id":"sensor.dewpoint_living_room","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"living","valueType":"str"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":2060,"y":100,"wires":[["36496a23bb13be32"],[]]},{"id":"3f17fd20124ad6be","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Check Inside Dewpoint to set Cooling Program LIVING ROOM","style":{"label":true,"fill":"#3f93cf","fill-opacity":"0.2"},"nodes":["89fbb73e3586b0d2","a14e1ca5206d9875"],"x":1904,"y":459,"w":512,"h":184.5},{"id":"89fbb73e3586b0d2","type":"api-current-state","z":"9e3fc1e5920df13e","g":"3f17fd20124ad6be","name":"DEWPOINT LIVING ROOM","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"-20","halt_if_type":"num","halt_if_compare":"gt","entity_id":"sensor.dewpoint_living_room","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"living","valueType":"str"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":2050,"y":500,"wires":[["a14e1ca5206d9875"],[]]},{"id":"a14e1ca5206d9875","type":"switch","z":"9e3fc1e5920df13e","g":"3f17fd20124ad6be","name":"Dewpoint (<15.49 - Comf)(15.5-18.39 - Sticky)(>18.4 - Muggy)","property":"payload","propertyType":"msg","rules":[{"t":"btwn","v":"-20","vt":"num","v2":"10","v2t":"num"},{"t":"btwn","v":"10.1","vt":"num","v2":"12.79","v2t":"num"},{"t":"btwn","v":"12.8","vt":"num","v2":"15.49","v2t":"num"},{"t":"btwn","v":"15.5","vt":"num","v2":"18.39","v2t":"num"},{"t":"btwn","v":"18.4","vt":"num","v2":"50","v2t":"num"}],"checkall":"true","repair":false,"outputs":5,"x":2160,"y":580,"wires":[["508cca8c44da1b22"],["508cca8c44da1b22"],["508cca8c44da1b22"],["508cca8c44da1b22"],["2f8ef0710707dc05"]]},{"id":"cba461b4a226cf3c","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Check Inside Dewpoint to set Comfort Program LIVING ROOM","style":{"label":true,"fill":"#92d04f","fill-opacity":"0.2"},"nodes":["5ea908fae1e8347a","c61b314e266ab3ec"],"x":1914,"y":259,"w":592,"h":177},{"id":"5ea908fae1e8347a","type":"api-current-state","z":"9e3fc1e5920df13e","g":"cba461b4a226cf3c","name":"DEWPOINT LIVING ROOM","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"-20","halt_if_type":"num","halt_if_compare":"gt","entity_id":"sensor.dewpoint_living_room","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"living","valueType":"str"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":2060,"y":300,"wires":[["c61b314e266ab3ec"],[]]},{"id":"c61b314e266ab3ec","type":"switch","z":"9e3fc1e5920df13e","g":"cba461b4a226cf3c","name":"Dewpoint (<10.0 - Dry)(10.1-12.79 - Pleas)(12.8-15.49 - Comf)(>15.5 Sticky))","property":"payload","propertyType":"msg","rules":[{"t":"btwn","v":"-20","vt":"num","v2":"10","v2t":"num"},{"t":"btwn","v":"10.1","vt":"num","v2":"12.79","v2t":"num"},{"t":"btwn","v":"12.8","vt":"num","v2":"15.49","v2t":"num"},{"t":"btwn","v":"15.5","vt":"num","v2":"50","v2t":"num"}],"checkall":"true","repair":false,"outputs":4,"x":2210,"y":380,"wires":[["174845a243708199"],["a97383e5fb30fe3e"],["e7709b84688e7494"],["1abb4a4bb7f26d49"]]},{"id":"47a63da9813c15db","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Don't Set if already Set","style":{"label":true},"nodes":["f5fc8f68df9b6ff4","f49e382b083d6427","8d37c72fa1a187af","824a3db74c40ed94","ff7d391ce6efcd9f","97a55412f0d0d85e","27404133a09f839e","2f8ef0710707dc05","1abb4a4bb7f26d49","4598a64a86bd8025","363316c762ea451d","3d87dca1f46721d9","f5c856d94e49789e"],"x":3244,"y":79,"w":402,"h":622},{"id":"f5fc8f68df9b6ff4","type":"link in","z":"9e3fc1e5920df13e","g":"47a63da9813c15db","name":"Liv HVAC OFF","links":["e3bb9ca69750a87d","f3c1864bf39a0134","8023658914a25b50","508cca8c44da1b22"],"x":3285,"y":520,"wires":[["f5c856d94e49789e"]]},{"id":"f49e382b083d6427","type":"switch","z":"9e3fc1e5920df13e","g":"47a63da9813c15db","name":"IS DRY","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"DRY","vt":"str"},{"t":"neq","v":"DRY","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3560,"y":460,"wires":[[],["b36b82e3165b4dde"]]},{"id":"8d37c72fa1a187af","type":"switch","z":"9e3fc1e5920df13e","g":"47a63da9813c15db","name":"IS COOL","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"COOL","vt":"str"},{"t":"neq","v":"COOL","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3560,"y":660,"wires":[[],["8206b1ec060e8bc4"]]},{"id":"824a3db74c40ed94","type":"switch","z":"9e3fc1e5920df13e","g":"47a63da9813c15db","name":"IS OFF","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"OFF","vt":"str"},{"t":"neq","v":"OFF","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3560,"y":560,"wires":[[],["051d37641f7df219"]]},{"id":"ff7d391ce6efcd9f","type":"switch","z":"9e3fc1e5920df13e","g":"47a63da9813c15db","name":"IS SET 23","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"23","vt":"str"},{"t":"neq","v":"23","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3550,"y":160,"wires":[[],["4026392ab8f83388"]]},{"id":"97a55412f0d0d85e","type":"switch","z":"9e3fc1e5920df13e","g":"47a63da9813c15db","name":"IS SET 22","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"22","vt":"str"},{"t":"neq","v":"22","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3550,"y":260,"wires":[[],["312ec9444314c2b0"]]},{"id":"27404133a09f839e","type":"switch","z":"9e3fc1e5920df13e","g":"47a63da9813c15db","name":"IS SET 21","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"21","vt":"str"},{"t":"neq","v":"21","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3550,"y":360,"wires":[[],["ac3c4cf1c3c8b973"]]},{"id":"2f8ef0710707dc05","type":"function","z":"9e3fc1e5920df13e","g":"47a63da9813c15db","name":"Setting.Mode Living Room Zone  [1]","func":"if (msg.payload && msg.payload.zoneStates && msg.payload.zoneStates[\"1\"] && msg.payload.zoneStates[\"1\"].setting && msg.payload.zoneStates[\"1\"].setting.mode) {\n    msg.payload = msg.payload.zoneStates[\"1\"].setting.mode;\n} else {\n    msg.payload = msg.payload.zoneStates[\"1\"].setting.power;\n}\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":3480,"y":620,"wires":[["8d37c72fa1a187af"]]},{"id":"1abb4a4bb7f26d49","type":"function","z":"9e3fc1e5920df13e","g":"47a63da9813c15db","name":"Setting.Mode Living Room Zone  [1]","func":"if (msg.payload && msg.payload.zoneStates && msg.payload.zoneStates[\"1\"] && msg.payload.zoneStates[\"1\"].setting && msg.payload.zoneStates[\"1\"].setting.mode) {\n    msg.payload = msg.payload.zoneStates[\"1\"].setting.mode;\n} else {\n    msg.payload = msg.payload.zoneStates[\"1\"].setting.power;\n}\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":3480,"y":420,"wires":[["f49e382b083d6427"]]},{"id":"4598a64a86bd8025","type":"function","z":"9e3fc1e5920df13e","g":"47a63da9813c15db","name":"Setting.TempSetpoint Living Room Zone [1]","func":"return msg; if (msg.payload && msg.payload.zoneStates && msg.payload.zoneStates[\"1\"] && msg.payload.zoneStates[\"1\"].setting && msg.payload.zoneStates[\"1\"].setting.temperature) {\n    msg.payload = msg.payload.zoneStates[\"1\"].setting.temperature.celsius;\n} else {\n    msg.payload = 0.0;\n}\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":3450,"y":120,"wires":[["ff7d391ce6efcd9f"]]},{"id":"363316c762ea451d","type":"function","z":"9e3fc1e5920df13e","g":"47a63da9813c15db","name":"Setting.TempSetpoint Living Room Zone [1]","func":"return msg; if (msg.payload && msg.payload.zoneStates && msg.payload.zoneStates[\"1\"] && msg.payload.zoneStates[\"1\"].setting && msg.payload.zoneStates[\"1\"].setting.temperature) {\n    msg.payload = msg.payload.zoneStates[\"1\"].setting.temperature.celsius;\n} else {\n    msg.payload = 0.0;\n}\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":3450,"y":220,"wires":[["97a55412f0d0d85e"]]},{"id":"3d87dca1f46721d9","type":"function","z":"9e3fc1e5920df13e","g":"47a63da9813c15db","name":"Setting.TempSetpoint Living Room Zone [1]","func":"return msg; if (msg.payload && msg.payload.zoneStates && msg.payload.zoneStates[\"1\"] && msg.payload.zoneStates[\"1\"].setting && msg.payload.zoneStates[\"1\"].setting.temperature) {\n    msg.payload = msg.payload.zoneStates[\"1\"].setting.temperature.celsius;\n} else {\n    msg.payload = 0.0;\n}\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":3450,"y":320,"wires":[["27404133a09f839e"]]},{"id":"f5c856d94e49789e","type":"function","z":"9e3fc1e5920df13e","g":"47a63da9813c15db","name":"Setting.Mode Living Room Zone  [1]","func":"if (msg.payload && msg.payload.zoneStates && msg.payload.zoneStates[\"1\"] && msg.payload.zoneStates[\"1\"].setting && msg.payload.zoneStates[\"1\"].setting.mode) {\n    msg.payload = msg.payload.zoneStates[\"1\"].setting.mode;\n} else {\n    msg.payload = msg.payload.zoneStates[\"1\"].setting.power;\n}\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":3480,"y":520,"wires":[["824a3db74c40ed94"]]},{"id":"824275a4c605aa3c","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Active Time","style":{"label":true},"nodes":["4026392ab8f83388","ac3c4cf1c3c8b973","b36b82e3165b4dde","8206b1ec060e8bc4","312ec9444314c2b0","e3bb9ca69750a87d","f3c1864bf39a0134"],"x":3694,"y":99,"w":212,"h":582},{"id":"4026392ab8f83388","type":"time-of-day","z":"9e3fc1e5920df13e","g":"824275a4c605aa3c","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":3790,"y":140,"wires":[["56af7f822a22ee01"],["18eec34db1b4c801"]]},{"id":"ac3c4cf1c3c8b973","type":"time-of-day","z":"9e3fc1e5920df13e","g":"824275a4c605aa3c","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":3790,"y":340,"wires":[["5bcc47dd2416df79"],["e3bb9ca69750a87d"]]},{"id":"b36b82e3165b4dde","type":"time-of-day","z":"9e3fc1e5920df13e","g":"824275a4c605aa3c","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":3790,"y":440,"wires":[["e4ee30e43c61ab25"],["f3c1864bf39a0134"]]},{"id":"8206b1ec060e8bc4","type":"time-of-day","z":"9e3fc1e5920df13e","g":"824275a4c605aa3c","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":3790,"y":640,"wires":[["3ffa6207fd4571b4"],["e4ee30e43c61ab25"]]},{"id":"312ec9444314c2b0","type":"time-of-day","z":"9e3fc1e5920df13e","g":"824275a4c605aa3c","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":3790,"y":240,"wires":[["18eec34db1b4c801"],["5bcc47dd2416df79"]]},{"id":"e3bb9ca69750a87d","type":"link out","z":"9e3fc1e5920df13e","g":"824275a4c605aa3c","name":"Liv Heating Program (Night/OFF)","mode":"link","links":["f5fc8f68df9b6ff4"],"x":3865,"y":380,"wires":[]},{"id":"f3c1864bf39a0134","type":"link out","z":"9e3fc1e5920df13e","g":"824275a4c605aa3c","name":"Liv Comfort Program (Night/OFF)","mode":"link","links":["f5fc8f68df9b6ff4"],"x":3865,"y":480,"wires":[]},{"id":"496e05df71878e16","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"DOWNSTAIRS DEHUMIDIFIER","style":{"fill":"#ffbfbf","fill-opacity":"0.48","label":true},"nodes":["0e707b712218ef9a","34707f6dfb27649c","c044b4396c6c5654","1e33b285c456f3bd","ed8e428589dba15d","d5e8f804c83e25fe","f7a60db18ec92c64","ab7f74b3229708f8","7fe9da90da127681"],"x":74,"y":1839,"w":1712,"h":142},{"id":"0e707b712218ef9a","type":"api-call-service","z":"9e3fc1e5920df13e","g":"496e05df71878e16","name":"Dehumidifier OFF","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"switch.turn_off","floorId":[],"areaId":[],"deviceId":["0037262b42f8c2f57653b2d6f879bf82"],"entityId":[],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"switch","service":"turn_off","x":430,"y":1940,"wires":[[]]},{"id":"34707f6dfb27649c","type":"api-call-service","z":"9e3fc1e5920df13e","g":"496e05df71878e16","name":"Dehumidifier ON","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"switch.turn_on","floorId":[],"areaId":[],"deviceId":["0037262b42f8c2f57653b2d6f879bf82"],"entityId":[],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"switch","service":"turn_on","x":420,"y":1880,"wires":[["ed8e428589dba15d"]]},{"id":"c044b4396c6c5654","type":"api-call-service","z":"9e3fc1e5920df13e","g":"496e05df71878e16","name":"Cyan","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[180, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":970,"y":1880,"wires":[[]]},{"id":"1e33b285c456f3bd","type":"poll-state","z":"9e3fc1e5920df13e","g":"496e05df71878e16","name":"Poll Dewpoint >= 15.5","server":"bb380e72.b8825","version":3,"exposeAsEntityConfig":"","updateInterval":"10","updateIntervalType":"num","updateIntervalUnits":"minutes","outputInitially":true,"outputOnChanged":true,"entityId":"sensor.dewpoint_downstairs","stateType":"str","ifState":"15.5","ifStateType":"num","ifStateOperator":"gte","outputs":2,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":200,"y":1900,"wires":[["34707f6dfb27649c"],["0e707b712218ef9a"]]},{"id":"ed8e428589dba15d","type":"api-current-state","z":"9e3fc1e5920df13e","g":"496e05df71878e16","name":"Dehumidifier Power >=0W","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"0","halt_if_type":"num","halt_if_compare":"gte","entity_id":"sensor.dehumidifier_power","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":730,"y":1880,"wires":[["c044b4396c6c5654"],["ab7f74b3229708f8"]]},{"id":"d5e8f804c83e25fe","type":"light-transition","z":"9e3fc1e5920df13e","g":"496e05df71878e16","name":"","startRGB":"#00eeff","transitionRGB":"#ff00d0","endRGB":"#00fbff","startMired":"","endMired":"","transitionTime":"5","transitionTimeUnits":"Second","steps":"20","startBright":"100","endBright":"100","brightnessType":"Percent","transitionType":"Linear","colorTransitionType":"Weighted","x":1200,"y":1940,"wires":[["f7a60db18ec92c64"],[]]},{"id":"f7a60db18ec92c64","type":"api-call-service","z":"9e3fc1e5920df13e","g":"496e05df71878e16","name":"Pink Cyan Flash","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":[],"entityId":["light.local_30cm_bar_light"],"labelId":[],"data":"{\t    \"rgb_color\": payload.rgb_color\t}\t","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1420,"y":1940,"wires":[["7fe9da90da127681"]]},{"id":"ab7f74b3229708f8","type":"time-of-day","z":"9e3fc1e5920df13e","g":"496e05df71878e16","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":990,"y":1940,"wires":[["d5e8f804c83e25fe"],[]]},{"id":"7fe9da90da127681","type":"api-call-service","z":"9e3fc1e5920df13e","g":"496e05df71878e16","name":"TTS Empty Dehumidifier","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"notify.google_assistant_sdk","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"message\":\"the dehumidifier downstairs needs to be emptied\",\"title\":\"Dehumidifier Full\",\"target\":\"attic speaker\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"notify","service":"google_assistant_sdk","x":1650,"y":1940,"wires":[[]]},{"id":"8303250593324aba","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"UPSTAIRS FAN","style":{"fill":"#ffbfbf","fill-opacity":"0.48","label":true},"nodes":["6daa258052ba49ed","6e97b7c31e8f6143","182884d77072fa12","c64af83e74aab9f5","32acf7189266f1dc","e4eaf5dbdd00c8c9","e174a61b1f9ef4bb","20b78961ee930d70","0c803d1bc5baf41e"],"x":74,"y":2039,"w":1212,"h":122},{"id":"6daa258052ba49ed","type":"api-call-service","z":"9e3fc1e5920df13e","g":"8303250593324aba","name":"Fan OFF","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"fan.turn_off","floorId":[],"areaId":[],"deviceId":["2a1b3077937dc785c5b9f2c0d72e8e5b"],"entityId":[],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"fan","service":"turn_off","x":1000,"y":2120,"wires":[[]]},{"id":"6e97b7c31e8f6143","type":"api-call-service","z":"9e3fc1e5920df13e","g":"8303250593324aba","name":"Fan ON","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"fan.turn_on","floorId":[],"areaId":[],"deviceId":[],"entityId":["fan.ceiling_fan"],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"fan","service":"turn_on","x":1000,"y":2080,"wires":[["182884d77072fa12"]]},{"id":"182884d77072fa12","type":"api-call-service","z":"9e3fc1e5920df13e","g":"8303250593324aba","name":"Purple","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"light.turn_on","floorId":[],"areaId":[],"deviceId":["4447a7dbb90664c319f100a328f0fded"],"entityId":[],"labelId":[],"data":"{\"hs_color\":[275, 100], \"brightness\": 255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"light","service":"turn_on","x":1210,"y":2080,"wires":[[]]},{"id":"c64af83e74aab9f5","type":"join","z":"9e3fc1e5920df13e","g":"8303250593324aba","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","useparts":false,"accumulate":true,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":350,"y":2100,"wires":[["32acf7189266f1dc"]]},{"id":"32acf7189266f1dc","type":"function","z":"9e3fc1e5920df13e","g":"8303250593324aba","name":"4 Degrees Diff","func":"var upstairsTemp = parseFloat(msg.payload.upstairs);\nvar middleTemp = parseFloat(msg.payload.middle);\n\nif (upstairsTemp !== undefined && middleTemp !== undefined) {\n    var tempDifference = upstairsTemp - middleTemp;\n\n    if (tempDifference > 4) {\n        return { payload: \"ON\", topic: \"fan_control\" };\n    } else {\n        return { payload: \"OFF\", topic: \"fan_control\" };\n    }\n}\nreturn null;\n","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":520,"y":2100,"wires":[["e4eaf5dbdd00c8c9"]]},{"id":"e4eaf5dbdd00c8c9","type":"switch","z":"9e3fc1e5920df13e","g":"8303250593324aba","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":690,"y":2100,"wires":[["0c803d1bc5baf41e"],["6daa258052ba49ed"]]},{"id":"e174a61b1f9ef4bb","type":"poll-state","z":"9e3fc1e5920df13e","g":"8303250593324aba","name":"Upstairs Temp","server":"bb380e72.b8825","version":3,"exposeAsEntityConfig":"","updateInterval":"60","updateIntervalType":"num","updateIntervalUnits":"seconds","outputInitially":false,"outputOnChanged":false,"entityId":"sensor.netatmo_devonport_tas_indoor_temperature","stateType":"str","ifState":"","ifStateType":"str","ifStateOperator":"is","outputs":1,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"upstairs","valueType":"str"}],"x":170,"y":2080,"wires":[["c64af83e74aab9f5"]]},{"id":"20b78961ee930d70","type":"poll-state","z":"9e3fc1e5920df13e","g":"8303250593324aba","name":"Middle Temp","server":"bb380e72.b8825","version":3,"exposeAsEntityConfig":"","updateInterval":"60","updateIntervalType":"num","updateIntervalUnits":"seconds","outputInitially":false,"outputOnChanged":false,"entityId":"sensor.air_conditioning_temperature","stateType":"str","ifState":"","ifStateType":"str","ifStateOperator":"is","outputs":1,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"middle","valueType":"str"}],"x":170,"y":2120,"wires":[["c64af83e74aab9f5"]]},{"id":"0c803d1bc5baf41e","type":"time-of-day","z":"9e3fc1e5920df13e","g":"8303250593324aba","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":850,"y":2080,"wires":[["6e97b7c31e8f6143"],[]]},{"id":"5022260cc1f652c1","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Active Time","style":{"label":true},"nodes":["63e1f74e2b8e7fe0","3486d241215b81bb","9358ef2038ce83ea","8b3bc13fbc998eeb","dc6d68578a4c94a7","f2f68ccaa2609bcb","9bc2c961fe705fa1"],"x":3694,"y":759,"w":212,"h":582},{"id":"63e1f74e2b8e7fe0","type":"time-of-day","z":"9e3fc1e5920df13e","g":"5022260cc1f652c1","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":3790,"y":800,"wires":[["0f37ddde62ae5716"],["ff96f90aced65745"]]},{"id":"3486d241215b81bb","type":"time-of-day","z":"9e3fc1e5920df13e","g":"5022260cc1f652c1","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":3790,"y":1000,"wires":[["d802d3bd409c9b3d"],["f2f68ccaa2609bcb"]]},{"id":"9358ef2038ce83ea","type":"time-of-day","z":"9e3fc1e5920df13e","g":"5022260cc1f652c1","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":3790,"y":1100,"wires":[["3a9f8fc6c8e53edf"],["9bc2c961fe705fa1"]]},{"id":"8b3bc13fbc998eeb","type":"time-of-day","z":"9e3fc1e5920df13e","g":"5022260cc1f652c1","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":3790,"y":1300,"wires":[["548785e60513cde6"],["3a9f8fc6c8e53edf"]]},{"id":"dc6d68578a4c94a7","type":"time-of-day","z":"9e3fc1e5920df13e","g":"5022260cc1f652c1","name":"","startTime":"05:30:00","endTime":"00:00:00","outputs":2,"x":3790,"y":900,"wires":[["ff96f90aced65745"],["d802d3bd409c9b3d"]]},{"id":"f2f68ccaa2609bcb","type":"link out","z":"9e3fc1e5920df13e","g":"5022260cc1f652c1","name":"Liv Heating Program (Night/OFF)","mode":"link","links":["2af704854cf4d9a7"],"x":3865,"y":1040,"wires":[]},{"id":"9bc2c961fe705fa1","type":"link out","z":"9e3fc1e5920df13e","g":"5022260cc1f652c1","name":"Liv Comfort Program (Night/OFF)","mode":"link","links":["2af704854cf4d9a7"],"x":3865,"y":1140,"wires":[]},{"id":"8023658914a25b50","type":"link out","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Liv Comfort Program (Comfy/OFF)","mode":"link","links":["f5fc8f68df9b6ff4"],"x":3175,"y":580,"wires":[]},{"id":"508cca8c44da1b22","type":"link out","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Liv Cooling Program (Comfy/OFF)","mode":"link","links":["f5fc8f68df9b6ff4"],"x":2535,"y":580,"wires":[]},{"id":"894fcf8b64b4a236","type":"link out","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Down Comfort Program (Comf)","mode":"link","links":["2af704854cf4d9a7"],"x":3175,"y":1200,"wires":[]},{"id":"b1cdfa8e29910596","type":"link out","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Down Cooling Program","mode":"link","links":["2af704854cf4d9a7"],"x":2485,"y":1220,"wires":[]},{"id":"8c1d6651e22198b9","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Indoor Check Temperature","style":{"label":true},"nodes":["aceeff6747b12c1f","d4f77215a8c8d101","49ac04fabf9d8732","f01cd6743c2cbc0f","a3a0d4b383fff4fb","ca24b26e05758cc6"],"x":2774,"y":299,"w":372,"h":302},{"id":"aceeff6747b12c1f","type":"switch","z":"9e3fc1e5920df13e","g":"8c1d6651e22198b9","name":"Living <= 21","property":"payload","propertyType":"msg","rules":[{"t":"lte","v":"21","vt":"str"},{"t":"gt","v":"21","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3050,"y":560,"wires":[["3d87dca1f46721d9"],["8023658914a25b50"]]},{"id":"d4f77215a8c8d101","type":"switch","z":"9e3fc1e5920df13e","g":"8c1d6651e22198b9","name":"Living <= 22","property":"payload","propertyType":"msg","rules":[{"t":"lte","v":"22","vt":"str"},{"t":"gt","v":"22","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3050,"y":480,"wires":[["363316c762ea451d"],["3d87dca1f46721d9"]]},{"id":"49ac04fabf9d8732","type":"switch","z":"9e3fc1e5920df13e","g":"8c1d6651e22198b9","name":"Living <= 23","property":"payload","propertyType":"msg","rules":[{"t":"lte","v":"23","vt":"str"},{"t":"gt","v":"23","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3050,"y":380,"wires":[["4598a64a86bd8025"],["363316c762ea451d"]]},{"id":"f01cd6743c2cbc0f","type":"function","z":"9e3fc1e5920df13e","g":"8c1d6651e22198b9","name":"Data.Temperature Living Room Zone [1]","func":"msg.payload = msg.payload.zoneStates[\"1\"].sensorDataPoints.insideTemperature.celsius\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":2960,"y":520,"wires":[["aceeff6747b12c1f"]]},{"id":"a3a0d4b383fff4fb","type":"function","z":"9e3fc1e5920df13e","g":"8c1d6651e22198b9","name":"Data.Temperature Living Room Zone [1]","func":"msg.payload = msg.payload.zoneStates[\"1\"].sensorDataPoints.insideTemperature.celsius\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":2960,"y":440,"wires":[["d4f77215a8c8d101"]]},{"id":"ca24b26e05758cc6","type":"function","z":"9e3fc1e5920df13e","g":"8c1d6651e22198b9","name":"Data.Temperature Living Room Zone [1]","func":"msg.payload = msg.payload.zoneStates[\"1\"].sensorDataPoints.insideTemperature.celsius\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":2960,"y":340,"wires":[["49ac04fabf9d8732"]]},{"id":"d621b8b076ef0db4","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Indoor Check Temperature","style":{"label":true},"nodes":["5b87386a146f748d","2ae6b282375bc5a4","ae43094c6b065dd2","ede19371c814aa6b","221eddbea6542cc6","0d2e065e3c3945d0"],"x":2794,"y":919,"w":352,"h":302},{"id":"5b87386a146f748d","type":"switch","z":"9e3fc1e5920df13e","g":"d621b8b076ef0db4","name":"Downstairs <= 23","property":"payload","propertyType":"msg","rules":[{"t":"lte","v":"23","vt":"str"},{"t":"gt","v":"23","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3030,"y":1000,"wires":[["2cd2ce0f3e9ff4d7"],["edcb44b6f9bdd663"]]},{"id":"2ae6b282375bc5a4","type":"switch","z":"9e3fc1e5920df13e","g":"d621b8b076ef0db4","name":"Downstairs <= 22","property":"payload","propertyType":"msg","rules":[{"t":"lte","v":"22","vt":"str"},{"t":"gt","v":"22","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3030,"y":1100,"wires":[["edcb44b6f9bdd663"],["fde0dafb4b2302ef"]]},{"id":"ae43094c6b065dd2","type":"switch","z":"9e3fc1e5920df13e","g":"d621b8b076ef0db4","name":"Downstairs <= 21","property":"payload","propertyType":"msg","rules":[{"t":"lte","v":"21","vt":"str"},{"t":"gt","v":"21","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":3030,"y":1180,"wires":[["fde0dafb4b2302ef"],["894fcf8b64b4a236"]]},{"id":"ede19371c814aa6b","type":"function","z":"9e3fc1e5920df13e","g":"d621b8b076ef0db4","name":"Data.Temperature Downstairs Zone [2]","func":"msg.payload = msg.payload.zoneStates[\"2\"].sensorDataPoints.insideTemperature.celsius\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":2970,"y":960,"wires":[["5b87386a146f748d"]]},{"id":"221eddbea6542cc6","type":"function","z":"9e3fc1e5920df13e","g":"d621b8b076ef0db4","name":"Data.Temperature Downstairs Zone [2]","func":"msg.payload = msg.payload.zoneStates[\"2\"].sensorDataPoints.insideTemperature.celsius\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":2970,"y":1040,"wires":[["2ae6b282375bc5a4"]]},{"id":"0d2e065e3c3945d0","type":"function","z":"9e3fc1e5920df13e","g":"d621b8b076ef0db4","name":"Data.Temperature Downstairs Zone [2]","func":"msg.payload = msg.payload.zoneStates[\"2\"].sensorDataPoints.insideTemperature.celsius\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":2970,"y":1140,"wires":[["ae43094c6b065dd2"]]},{"id":"57b186098a55b16f","type":"tado","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","acMode":"AUTO","apiCall":"getZoneStates","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":"","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","name":"","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"","x":2680,"y":1140,"wires":[["0d2e065e3c3945d0"]]},{"id":"ca54b9e9f8b83128","type":"tado","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","acMode":"AUTO","apiCall":"getZoneStates","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":"","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","name":"","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"","x":2680,"y":1040,"wires":[["221eddbea6542cc6"]]},{"id":"f668a3a5197a3bb2","type":"tado","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","acMode":"AUTO","apiCall":"getZoneStates","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":"","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","name":"","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"","x":2680,"y":960,"wires":[["ede19371c814aa6b"]]},{"id":"174845a243708199","type":"tado","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","acMode":"AUTO","apiCall":"getZoneStates","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":"","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","name":"","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"","x":2660,"y":340,"wires":[["ca24b26e05758cc6"]]},{"id":"e7709b84688e7494","type":"tado","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","acMode":"AUTO","apiCall":"getZoneStates","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":"","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","name":"","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"","x":2660,"y":520,"wires":[["f01cd6743c2cbc0f"]]},{"id":"a97383e5fb30fe3e","type":"tado","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","acMode":"AUTO","apiCall":"getZoneStates","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":"","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","name":"","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"","x":2660,"y":440,"wires":[["a3a0d4b383fff4fb"]]},{"id":"62b3fc152e27333c","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Outdoor Check Temperature","style":{"label":true},"nodes":["264202a8b97e25ff","885edcd7e5f3b9dc","b70f803e79ea68fe"],"x":1514,"y":539,"w":212,"h":202},{"id":"264202a8b97e25ff","type":"api-current-state","z":"9e3fc1e5920df13e","g":"62b3fc152e27333c","name":"Outdoor <=25","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"25","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.netatmo_devonport_tas_indoor_outdoor_temperature","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1620,"y":700,"wires":[["885edcd7e5f3b9dc"],["89fbb73e3586b0d2"]]},{"id":"885edcd7e5f3b9dc","type":"api-current-state","z":"9e3fc1e5920df13e","g":"62b3fc152e27333c","name":"Outdoor <=21","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"21","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.netatmo_devonport_tas_indoor_outdoor_temperature","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1620,"y":640,"wires":[["5790eb06db40a3f4"],["5ea908fae1e8347a"]]},{"id":"b70f803e79ea68fe","type":"api-current-state","z":"9e3fc1e5920df13e","g":"62b3fc152e27333c","name":"Outdoor  <=21","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"21","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.netatmo_devonport_tas_indoor_outdoor_temperature","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1620,"y":580,"wires":[["5790eb06db40a3f4"],["5ea908fae1e8347a"]]},{"id":"0dbe2f4845a50d67","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Outdoor Check Temperature","style":{"label":true},"nodes":["fc50ea714eaabdb3","85e780ba043cfe9e","923719106fba3ab7"],"x":1514,"y":979,"w":212,"h":202},{"id":"fc50ea714eaabdb3","type":"api-current-state","z":"9e3fc1e5920df13e","g":"0dbe2f4845a50d67","name":"Outdoor <=25","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"25","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.netatmo_devonport_tas_indoor_outdoor_temperature","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1620,"y":1140,"wires":[["85e780ba043cfe9e"],["a187cf17a2dff64b"]]},{"id":"85e780ba043cfe9e","type":"api-current-state","z":"9e3fc1e5920df13e","g":"0dbe2f4845a50d67","name":"Outdoor <=21","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"21","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.netatmo_devonport_tas_indoor_outdoor_temperature","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1620,"y":1080,"wires":[["3af5b9b46c9b4f17"],["798350ac41aea4eb"]]},{"id":"923719106fba3ab7","type":"api-current-state","z":"9e3fc1e5920df13e","g":"0dbe2f4845a50d67","name":"Outdoor  <=21","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"21","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.netatmo_devonport_tas_indoor_outdoor_temperature","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1620,"y":1020,"wires":[["3af5b9b46c9b4f17"],["798350ac41aea4eb"]]},{"id":"82ead103e1c9d801","type":"comment","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"README First","info":"Various examples of how to use the *Tado* node\n\nIF YOU HAVE HAVE PREVIOUS node-red-contrib-tado-client NODES INSTALLED, ENSURE YOU CHANGE THE SERVER TO YOUR CURRENT SERVER\n\nTado no longer uses username/password auth.\n\nInstead you should `inject` into the \"Authentication Flow\"\nand monitor the debug output. This will trigger a device\nauth flow, that will require you to visit a URL to login.\nThe URL Login will be printed by the TADO Debug Node, Open the Deug Window to view.\n\nOnce you've logged in a token will be printed to the\ndebug window. You can use this token to bypass the auth process\nnext time. An example of this is shown in the \"Persistent\nAuthentication\" group - you'll need to enable this.\nOnce enabled this will Tado [authenticate] node will automatically give an Authenticated if sucessful.\n\nYou should also replace the `home_id` in the calls\nwith your `home_id` which can be found using the first\nexample of `getMe` API call.","x":160,"y":80,"wires":[]},{"id":"dc71a70a53f5bd9c","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Authentication Flow","style":{"label":true},"nodes":["56f39dd179eef3ef","ffb7872a6cafe77f","d72d25265e9a7eb9","e4e38b0ac8add558"],"x":94,"y":119,"w":392,"h":142},{"id":"56f39dd179eef3ef","type":"tado","z":"9e3fc1e5920df13e","g":"dc71a70a53f5bd9c","acMode":"AUTO","apiCall":"authenticate","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"manual","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"","horizontalSwing":"off","name":"","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"off","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"","x":370,"y":160,"wires":[["e4e38b0ac8add558"]]},{"id":"ffb7872a6cafe77f","type":"inject","z":"9e3fc1e5920df13e","g":"dc71a70a53f5bd9c","name":"","props":[],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":190,"y":160,"wires":[["56f39dd179eef3ef"]]},{"id":"d72d25265e9a7eb9","type":"tado-token","z":"9e3fc1e5920df13e","g":"dc71a70a53f5bd9c","configName":"d1cf260f.0bb368","x":180,"y":220,"wires":[["e4e38b0ac8add558"]]},{"id":"e4e38b0ac8add558","type":"debug","z":"9e3fc1e5920df13e","g":"dc71a70a53f5bd9c","name":"Token","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":390,"y":220,"wires":[]},{"id":"eccb2fc46909ad53","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Persistent Auth","style":{"label":true},"nodes":["4b20e6bb7e51a7eb","095cc00be448941f","66e58aee5b1f9548","97fe70b1c759734a","736289ccdce4d59e","7bc90330c0bee7bb","1695b6011821ccde"],"x":514,"y":119,"w":772,"h":142},{"id":"4b20e6bb7e51a7eb","type":"tado","z":"9e3fc1e5920df13e","g":"eccb2fc46909ad53","acMode":"AUTO","apiCall":"authenticate","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"manual","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"","horizontalSwing":"off","name":"","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"off","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"","x":1010,"y":220,"wires":[["1695b6011821ccde"]]},{"id":"095cc00be448941f","type":"tado-token","z":"9e3fc1e5920df13e","g":"eccb2fc46909ad53","configName":"d1cf260f.0bb368","x":600,"y":220,"wires":[["66e58aee5b1f9548"]]},{"id":"66e58aee5b1f9548","type":"file","z":"9e3fc1e5920df13e","g":"eccb2fc46909ad53","name":"","filename":"/data/tado.json","filenameType":"str","appendNewline":false,"createDir":false,"overwriteFile":"true","encoding":"none","x":780,"y":220,"wires":[[]]},{"id":"97fe70b1c759734a","type":"file in","z":"9e3fc1e5920df13e","g":"eccb2fc46909ad53","name":"","filename":"/data/tado.json","filenameType":"str","format":"utf8","chunk":false,"sendError":false,"encoding":"none","allProps":false,"x":780,"y":160,"wires":[["7bc90330c0bee7bb"]]},{"id":"736289ccdce4d59e","type":"inject","z":"9e3fc1e5920df13e","g":"eccb2fc46909ad53","name":"","props":[],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","x":610,"y":160,"wires":[["97fe70b1c759734a"]]},{"id":"7bc90330c0bee7bb","type":"change","z":"9e3fc1e5920df13e","g":"eccb2fc46909ad53","name":"","rules":[{"t":"set","p":"refreshToken","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1000,"y":160,"wires":[["4b20e6bb7e51a7eb"]]},{"id":"1695b6011821ccde","type":"debug","z":"9e3fc1e5920df13e","g":"eccb2fc46909ad53","name":"Auth","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1190,"y":220,"wires":[]},{"id":"0998d0b69c906b1e","type":"tado","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","acMode":"AUTO","apiCall":"getMe","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":"","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"","name":"","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"","x":390,"y":360,"wires":[["705f8c9f8921d2b2"]]},{"id":"3ae0861ff6f9c362","type":"tado","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","acMode":"AUTO","apiCall":"getZones","childlock":false,"configName":"d1cf260f.0bb368","defaultTerminationTimeout":900,"defaultTerminationType":"manual","deviceId":"","endDate":"","fanSpeed":"AUTO","geoTracking":true,"homeId":"Insert Home ID from [GetMe] Debug 123456","horizontalSwing":"off","name":"Get all Zones","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","verticalSwing":"off","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"","x":390,"y":420,"wires":[["705f8c9f8921d2b2"]]},{"id":"705f8c9f8921d2b2","type":"debug","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"TADO","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":610,"y":400,"wires":[]},{"id":"608668fd5753cdb4","type":"comment","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"INSTRUCTIONS FOR USE - DOUBLE CLICK ME","info":"THIS IS USED TO CONNECT TO THE TADO API\n1. Double Click Tado [getMe] Node, Add the Tado Config from previous step.... \n2. Find your homes ID in the debug message [window payload.homes[0].id] \n3. Enter your Home ID into the other Nodes to fetch information from the API\n4. Each Tado Node in this flow will your Home ID and some Zone ID\n5. Find the path >_Copy Path Button in the Debug Node [payload.comfort[0].temperatureLevel]\n6. Copy the path into the Function Nodes in this","x":270,"y":300,"wires":[]},{"id":"e30448fbea4e56fa","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Activation (Linked to Home And Away Switch below)","style":{"label":true},"nodes":["dfee267d74ff4a33","8262e5b0f372c20e","3f6a8c980e5e5e72","c94732cbce52e9cc"],"x":74,"y":539,"w":692,"h":388},{"id":"dfee267d74ff4a33","type":"server-state-changed","z":"9e3fc1e5920df13e","g":"e30448fbea4e56fa","name":"Contact Sensors CLOSED 15sec - Topic:door","server":"bb380e72.b8825","version":6,"outputs":2,"exposeAsEntityConfig":"","entities":{"entity":["binary_sensor.middle_floor_sensor_group"],"substring":[],"regex":[]},"outputInitially":false,"stateType":"str","ifState":"off","ifStateType":"str","ifStateOperator":"is","outputOnlyOnStateChange":true,"for":"15","forType":"num","forUnits":"seconds","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"door","valueType":"str"}],"x":270,"y":580,"wires":[["8262e5b0f372c20e"],[]]},{"id":"8262e5b0f372c20e","type":"api-call-service","z":"9e3fc1e5920df13e","g":"e30448fbea4e56fa","name":"Home and Away Switch ON","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"switch.turn_on","floorId":[],"areaId":[],"deviceId":[],"entityId":["switch.home_and_away_switch"],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":true,"domain":"switch","service":"turn_on","x":620,"y":660,"wires":[["2e433e1343465268"]]},{"id":"3f6a8c980e5e5e72","type":"link in","z":"9e3fc1e5920df13e","g":"e30448fbea4e56fa","name":"TEST IN","links":["7ecb932ac307e2a6"],"x":445,"y":660,"wires":[["8262e5b0f372c20e"]]},{"id":"c94732cbce52e9cc","type":"group","z":"9e3fc1e5920df13e","g":"e30448fbea4e56fa","name":"Check every 10 Minutes Topic: check","style":{"label":true},"nodes":["f3feef8c23819aa7","bf776de719e7ac26","da2e9b7189c0dfec"],"x":104,"y":699,"w":332,"h":202},{"id":"f3feef8c23819aa7","type":"inject","z":"9e3fc1e5920df13e","g":"c94732cbce52e9cc","name":"10min Topic:check","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"600","crontab":"","once":false,"onceDelay":0.1,"topic":"check","payload":"","payloadType":"date","x":270,"y":740,"wires":[["bf776de719e7ac26"]]},{"id":"bf776de719e7ac26","type":"api-current-state","z":"9e3fc1e5920df13e","g":"c94732cbce52e9cc","name":"TADO HOME","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"switch.home_and_away_switch","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":320,"y":800,"wires":[["da2e9b7189c0dfec"],["3bfa5e757a7413c3"]]},{"id":"da2e9b7189c0dfec","type":"api-current-state","z":"9e3fc1e5920df13e","g":"c94732cbce52e9cc","name":"Contact Sensors OFF (CLOSED)","server":"bb380e72.b8825","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","entity_id":"binary_sensor.middle_floor_sensor_group","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"seconds","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":270,"y":860,"wires":[["8262e5b0f372c20e"],["3bfa5e757a7413c3"]]},{"id":"a72deceab819581d","type":"group","z":"9e3fc1e5920df13e","g":"f3af93b3a8ce3671","name":"Deactivation (Linked to Home And Away Switch below)","style":{"label":true},"nodes":["fb6ecd64cbf2ff12","3bfa5e757a7413c3","6cc3629f0c7a5ea4"],"x":74,"y":959,"w":692,"h":328},{"id":"fb6ecd64cbf2ff12","type":"server-state-changed","z":"9e3fc1e5920df13e","g":"a72deceab819581d","name":"Contact Sensors OPEN 2 Mins - Topic:door","server":"bb380e72.b8825","version":6,"outputs":2,"exposeAsEntityConfig":"","entities":{"entity":["binary_sensor.middle_floor_sensor_group"],"substring":[],"regex":[]},"outputInitially":false,"stateType":"str","ifState":"on","ifStateType":"str","ifStateOperator":"is","outputOnlyOnStateChange":true,"for":"2","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"door","valueType":"str"}],"x":260,"y":1080,"wires":[["3bfa5e757a7413c3"],[]]},{"id":"3bfa5e757a7413c3","type":"api-call-service","z":"9e3fc1e5920df13e","g":"a72deceab819581d","name":"Home and Away Switch OFF","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"switch.turn_off","floorId":[],"areaId":[],"deviceId":[],"entityId":["switch.home_and_away_switch"],"labelId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":true,"domain":"switch","service":"turn_off","x":620,"y":1000,"wires":[["cc4407921034c7f7"]]},{"id":"6cc3629f0c7a5ea4","type":"group","z":"9e3fc1e5920df13e","g":"a72deceab819581d","name":"OFF (TTS Topic: door)","style":{"label":true},"nodes":["9a973b02c703ec18","cc4407921034c7f7","a227130ae4f9f926"],"x":114,"y":1179,"w":512,"h":82},{"id":"9a973b02c703ec18","type":"api-call-service","z":"9e3fc1e5920df13e","g":"6cc3629f0c7a5ea4","name":"TTS Door Open","server":"bb380e72.b8825","version":7,"debugenabled":false,"action":"tts.cloud_say","floorId":[],"areaId":[],"deviceId":[],"entityId":[],"labelId":[],"data":"{\"entity_id\":\"media_player.attic_speaker\",\"message\":\"a door or window has been open for 2 minutes, I have switched the airconditioners off\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"all","blockInputOverrides":false,"domain":"tts","service":"cloud_say","x":520,"y":1220,"wires":[[]]},{"id":"cc4407921034c7f7","type":"time-of-day","z":"9e3fc1e5920df13e","g":"6cc3629f0c7a5ea4","name":"","startTime":"05:55:00","endTime":"21:00:00","outputs":2,"x":210,"y":1220,"wires":[["a227130ae4f9f926"],[]]},{"id":"a227130ae4f9f926","type":"switch","z":"9e3fc1e5920df13e","g":"6cc3629f0c7a5ea4","name":"msg.topic","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"check","vt":"str"},{"t":"eq","v":"door","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":360,"y":1220,"wires":[[],["9a973b02c703ec18"]]}]

Flow Info

Created 3 months, 1 week ago
Updated 3 weeks, 6 days ago
Rating: 5 2

Actions

Rate:

Node Types

Core
  • change (x1)
  • comment (x2)
  • debug (x3)
  • file (x1)
  • file in (x1)
  • function (x19)
  • inject (x4)
  • join (x1)
  • link in (x6)
  • link out (x18)
  • switch (x53)
Other

Tags

  • dew
  • point
  • tado
  • airconditioning
  • a/c
  • control
  • door
  • presence
  • light
  • notification
  • climate
  • climate-control
  • thermostat
  • temperature
  • TTS
  • Home
  • Assistant
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option