TX Ultimate Automações

 avatar
user_4577084
plain_text
a month ago
31 kB
39
Indexable
Never
[{"id":"613a60981b537ee8","type":"group","z":"420dffb8e6acdef5","name":"","style":{"fill":"#ffffbf","fill-opacity":"0.3","label":true},"nodes":["39aa98eea1fd70aa","81879a71a1941b49","e3afbe733343beeb","26fd8fbf1127a8a3","cc91ad3bc2cccb5c","76b8d33564538aac","af44dbfbfd774d66","24add7c3ba5c9106","6274decdd9cf230b","c806aef6c9a4a267","5bbabf417b1f1139","4aa65f52469033ce","7a25039e94280a18","8362eceaee794da7","efd5494a198b6db1","db1f7e6fcca18417"],"x":34,"y":1139,"w":932,"h":517},{"id":"39aa98eea1fd70aa","type":"comment","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"Interruptor 3 TX Ultimate","info":"","x":170,"y":1180,"wires":[]},{"id":"81879a71a1941b49","type":"server-state-changed","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"Botão 1","server":"e8abf248.ae27e","version":5,"outputs":1,"exposeAsEntityConfig":"","entityId":"switch.sonoff_1001f119e2_1","entityIdType":"exact","outputInitially":false,"stateType":"str","ifState":"","ifStateType":"str","ifStateOperator":"is","outputOnlyOnStateChange":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":110,"y":1240,"wires":[["cc91ad3bc2cccb5c"]]},{"id":"e3afbe733343beeb","type":"server-state-changed","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"Botão 2","server":"e8abf248.ae27e","version":5,"outputs":1,"exposeAsEntityConfig":"","entityId":"switch.sonoff_1001f119e2_2","entityIdType":"exact","outputInitially":false,"stateType":"str","ifState":"","ifStateType":"str","ifStateOperator":"is","outputOnlyOnStateChange":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":110,"y":1360,"wires":[["26fd8fbf1127a8a3"]]},{"id":"26fd8fbf1127a8a3","type":"switch","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"on/off","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":250,"y":1360,"wires":[["24add7c3ba5c9106"],["24add7c3ba5c9106"]]},{"id":"cc91ad3bc2cccb5c","type":"switch","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"on/off","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":250,"y":1240,"wires":[["af44dbfbfd774d66"],["af44dbfbfd774d66"]]},{"id":"76b8d33564538aac","type":"server-state-changed","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"Action","server":"e8abf248.ae27e","version":5,"outputs":1,"exposeAsEntityConfig":"","entityId":"sensor.sonoff_1001f119e2_action","entityIdType":"exact","outputInitially":true,"stateType":"str","ifState":"","ifStateType":"str","ifStateOperator":"is","outputOnlyOnStateChange":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":110,"y":1540,"wires":[["5bbabf417b1f1139"]]},{"id":"af44dbfbfd774d66","type":"api-call-service","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"Cena Padrão","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"scene","service":"turn_on","areaId":[],"deviceId":[],"entityId":["scene.patrick_padrao"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":410,"y":1240,"wires":[[]]},{"id":"24add7c3ba5c9106","type":"api-call-service","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"Cena Conforto","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"scene","service":"turn_on","areaId":[],"deviceId":[],"entityId":["scene.patrick_conforto"],"data":"{\"transition\":10}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":420,"y":1360,"wires":[[]]},{"id":"6274decdd9cf230b","type":"api-call-service","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"Fecha Persiana","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"cover","service":"close_cover","areaId":[],"deviceId":[],"entityId":["cover.escritorio_patrick_persiana"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":860,"y":1580,"wires":[[]]},{"id":"c806aef6c9a4a267","type":"api-call-service","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"Abre Persiana","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"cover","service":"open_cover","areaId":[],"deviceId":[],"entityId":["cover.escritorio_patrick_persiana"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":860,"y":1400,"wires":[[]]},{"id":"5bbabf417b1f1139","type":"switch","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"slide_1","vt":"str"},{"t":"eq","v":"slide_2","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":270,"y":1540,"wires":[["efd5494a198b6db1"],["7a25039e94280a18"]]},{"id":"4aa65f52469033ce","type":"switch","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"open","vt":"str"},{"t":"eq","v":"closed","vt":"str"},{"t":"eq","v":"opening","vt":"str"},{"t":"eq","v":"closing","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":610,"y":1600,"wires":[["6274decdd9cf230b"],["db1f7e6fcca18417"],["6274decdd9cf230b"],["db1f7e6fcca18417"]]},{"id":"7a25039e94280a18","type":"api-current-state","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"Persiana","server":"e8abf248.ae27e","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"cover.escritorio_patrick_persiana","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":440,"y":1600,"wires":[["4aa65f52469033ce"]]},{"id":"8362eceaee794da7","type":"switch","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"open","vt":"str"},{"t":"eq","v":"closed","vt":"str"},{"t":"eq","v":"opening","vt":"str"},{"t":"eq","v":"closing","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":610,"y":1480,"wires":[["db1f7e6fcca18417"],["c806aef6c9a4a267"],["db1f7e6fcca18417"],["c806aef6c9a4a267"]]},{"id":"efd5494a198b6db1","type":"api-current-state","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"Persiana","server":"e8abf248.ae27e","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"cover.escritorio_patrick_persiana","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":440,"y":1480,"wires":[["8362eceaee794da7"]]},{"id":"db1f7e6fcca18417","type":"link out","z":"420dffb8e6acdef5","g":"613a60981b537ee8","name":"Ar e Piso","mode":"link","links":["bc58ff50f091b07a","c4c02ea69e4ed0c7"],"x":755,"y":1540,"wires":[]},{"id":"e8abf248.ae27e","type":"server","name":"Home Assistant","addon":true},{"id":"1ddac6435563626a","type":"group","z":"420dffb8e6acdef5","name":"Piso e Ar","style":{"label":true,"fill":"#d1d1d1","fill-opacity":"0.18"},"nodes":["58c7d0f3e1f348f6","ef7ac214ca1a00e1","76ff35abc7144389","f1d4e57f05608b95","29e11c9e72159af2","ea28c91dedcdd94e","3b797b1393f863a9","c12ff9c2d07efd16","f30d799d86ca65f6","ef4954a8d6243beb","088e45a878c7943c","7c3741097cc44dd9","783bb5864677b14a","cbadfe96d54584f1","b70383ecb8208ccf","6afa8219cce08c6e","2588f193309c8621","1b69e8f89c749ae3","2634284ced2e72ee","fec7375b7795077c","9a2c9f757a2d9023","4592c56a0937d7f0","9c4b84649e51ae9a","40e5b3485cc4b4dc","6948a355d6e97d13","073acfab00577411","2b74bea198c145f3","57a80f338025a5c3","8f58af7fb5d7edb5","bc58ff50f091b07a","283bb833fad8bc39","727d09d3670e4e89","05209d2439aba10c","d92ecb6266ce59f7","a24b62d48e7f7976","fad3f076f8f5f364","84a5ede869c01e09"],"x":34,"y":3519,"w":1252,"h":722},{"id":"58c7d0f3e1f348f6","type":"server-state-changed","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Sensação","server":"e8abf248.ae27e","version":5,"outputs":1,"exposeAsEntityConfig":"","entityId":"sensor.tc_escritorio_patrick_percepcao_de_verao_de_simmer","entityIdType":"exact","outputInitially":true,"stateType":"str","ifState":"","ifStateType":"str","ifStateOperator":"is","outputOnlyOnStateChange":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":140,"y":3620,"wires":[["ef7ac214ca1a00e1"]]},{"id":"ef7ac214ca1a00e1","type":"switch","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"cool","vt":"str"},{"t":"eq","v":"slightly_cool","vt":"str"},{"t":"eq","v":"comfortable","vt":"str"},{"t":"eq","v":"slightly_warn","vt":"str"},{"t":"eq","v":"increasing_discomfort","vt":"str"},{"t":"eq","v":"extremely_warn","vt":"str"},{"t":"eq","v":"danger_of_heatstroke","vt":"str"},{"t":"eq","v":"extreme_danger_of_heatstroke","vt":"str"},{"t":"eq","v":"circulatory_collapse_imminent","vt":"str"}],"checkall":"true","repair":false,"outputs":9,"x":330,"y":3620,"wires":[["8f58af7fb5d7edb5"],["8f58af7fb5d7edb5"],["783bb5864677b14a","2b74bea198c145f3"],["783bb5864677b14a","05209d2439aba10c"],["ea28c91dedcdd94e"],["ea28c91dedcdd94e"],["ea28c91dedcdd94e"],["ea28c91dedcdd94e"],["ea28c91dedcdd94e"]]},{"id":"76ff35abc7144389","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Liga Piso","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"climate","service":"turn_on","areaId":[],"deviceId":[],"entityId":["climate.escritorio_patrick_piso_aquecido"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":760,"y":3560,"wires":[[]]},{"id":"f1d4e57f05608b95","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Liga Ar","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"climate","service":"turn_on","areaId":[],"deviceId":[],"entityId":["climate.ar_escritorio_patrick"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":760,"y":3800,"wires":[[]]},{"id":"29e11c9e72159af2","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Desliga Piso","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"climate","service":"turn_off","areaId":[],"deviceId":[],"entityId":["climate.escritorio_patrick_piso_aquecido"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":770,"y":3620,"wires":[["727d09d3670e4e89"]]},{"id":"ea28c91dedcdd94e","type":"api-current-state","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Mac Studio","server":"e8abf248.ae27e","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"binary_sensor.mac_studio","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":590,"y":3800,"wires":[["f1d4e57f05608b95"],[]]},{"id":"3b797b1393f863a9","type":"server-state-changed","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Piso Aquecido","server":"e8abf248.ae27e","version":5,"outputs":2,"exposeAsEntityConfig":"","entityId":"climate.escritorio_patrick_piso_aquecido","entityIdType":"exact","outputInitially":true,"stateType":"str","ifState":"heat","ifStateType":"str","ifStateOperator":"is","outputOnlyOnStateChange":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":140,"y":3940,"wires":[["c12ff9c2d07efd16","9c4b84649e51ae9a"],["40e5b3485cc4b4dc"]]},{"id":"c12ff9c2d07efd16","type":"api-current-state","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Ar Ligado?","server":"e8abf248.ae27e","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is_not","entity_id":"climate.ar_escritorio_patrick","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":330,"y":3940,"wires":[["f30d799d86ca65f6"],[]]},{"id":"f30d799d86ca65f6","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Desliga Ar","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"climate","service":"turn_off","areaId":[],"deviceId":[],"entityId":["climate.ar_escritorio_patrick"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":510,"y":3940,"wires":[[]]},{"id":"ef4954a8d6243beb","type":"server-state-changed","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Ar","server":"e8abf248.ae27e","version":5,"outputs":1,"exposeAsEntityConfig":"","entityId":"climate.ar_escritorio_patrick","entityIdType":"exact","outputInitially":true,"stateType":"str","ifState":"","ifStateType":"str","ifStateOperator":"is_not","outputOnlyOnStateChange":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":110,"y":4140,"wires":[["84a5ede869c01e09"]]},{"id":"088e45a878c7943c","type":"api-current-state","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Piso Ligado?","server":"e8abf248.ae27e","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is_not","entity_id":"climate.escritorio_patrick_piso_aquecido","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":490,"y":4140,"wires":[["7c3741097cc44dd9"],[]]},{"id":"7c3741097cc44dd9","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Desliga Piso","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"climate","service":"turn_off","areaId":[],"deviceId":[],"entityId":["climate.escritorio_patrick_piso_aquecido"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":670,"y":4140,"wires":[[]]},{"id":"783bb5864677b14a","type":"api-current-state","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Piso Ligado?","server":"e8abf248.ae27e","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is_not","entity_id":"climate.escritorio_patrick_piso_aquecido","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":590,"y":3620,"wires":[["29e11c9e72159af2"],[]]},{"id":"cbadfe96d54584f1","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Liga Led Int","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":[],"entityId":["light.sonoff_1001f119e2"],"data":"{\"effect\":\"Party\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":510,"y":3880,"wires":[["b70383ecb8208ccf"]]},{"id":"b70383ecb8208ccf","type":"delay","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":680,"y":3880,"wires":[["6afa8219cce08c6e"]]},{"id":"6afa8219cce08c6e","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Liga Led Interruptor","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":[],"entityId":["light.sonoff_1001f119e2"],"data":"{\"effect\":\"Night Light\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":880,"y":3880,"wires":[[]]},{"id":"2588f193309c8621","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Desliga Led Interruptor","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"light","service":"turn_off","areaId":[],"deviceId":[],"entityId":["light.sonoff_1001f119e2"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":540,"y":4000,"wires":[[]]},{"id":"1b69e8f89c749ae3","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Desliga Led Int","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"light","service":"turn_off","areaId":[],"deviceId":[],"entityId":["light.sonoff_1001f119e2"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":680,"y":4200,"wires":[[]]},{"id":"2634284ced2e72ee","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Liga Led Int","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":[],"entityId":["light.sonoff_1001f119e2"],"data":"{\"effect\":\"Party\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":670,"y":4080,"wires":[["fec7375b7795077c"]]},{"id":"fec7375b7795077c","type":"delay","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":840,"y":4080,"wires":[["9a2c9f757a2d9023"]]},{"id":"9a2c9f757a2d9023","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Liga Led Int","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":[],"entityId":["light.sonoff_1001f119e2"],"data":"{\"effect\":\"Fairy\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1010,"y":4080,"wires":[[]]},{"id":"4592c56a0937d7f0","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Liga Led Int","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":[],"entityId":["light.sonoff_1001f119e2"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":490,"y":4080,"wires":[["2634284ced2e72ee"]]},{"id":"9c4b84649e51ae9a","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Liga Led Int","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":[],"entityId":["light.sonoff_1001f119e2"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":330,"y":3880,"wires":[["cbadfe96d54584f1"]]},{"id":"40e5b3485cc4b4dc","type":"api-current-state","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Ar Ligado?","server":"e8abf248.ae27e","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is_not","entity_id":"climate.ar_escritorio_patrick","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":330,"y":4000,"wires":[[],["2588f193309c8621"]]},{"id":"6948a355d6e97d13","type":"api-current-state","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Piso Ligado?","server":"e8abf248.ae27e","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is_not","entity_id":"climate.escritorio_patrick_piso_aquecido","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":490,"y":4200,"wires":[[],["1b69e8f89c749ae3"]]},{"id":"073acfab00577411","type":"comment","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Sensação Térmica","info":"fresco\nligeiramente fresco\nconfortável\nligeiramente quente\ndesconforto crescente\nextremamente quente\nperigo de insolação\nperigo extremo de insolação\ncolapso circulatório iminente","x":150,"y":3580,"wires":[]},{"id":"2b74bea198c145f3","type":"api-current-state","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Ar Ligado?","server":"e8abf248.ae27e","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is_not","entity_id":"climate.ar_escritorio_patrick","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":770,"y":3720,"wires":[["57a80f338025a5c3"],[]]},{"id":"57a80f338025a5c3","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Desliga Ar","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"climate","service":"turn_off","areaId":[],"deviceId":[],"entityId":["climate.ar_escritorio_patrick"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":950,"y":3720,"wires":[["727d09d3670e4e89"]]},{"id":"8f58af7fb5d7edb5","type":"api-current-state","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Mac Studio","server":"e8abf248.ae27e","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"binary_sensor.mac_studio","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":590,"y":3560,"wires":[["76ff35abc7144389"],[]]},{"id":"bc58ff50f091b07a","type":"link in","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Ar e Piso","links":["db1f7e6fcca18417"],"x":75,"y":3720,"wires":[["283bb833fad8bc39"]]},{"id":"283bb833fad8bc39","type":"api-current-state","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Sensação","server":"e8abf248.ae27e","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.tc_escritorio_patrick_percepcao_de_verao_de_simmer","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":180,"y":3720,"wires":[["ef7ac214ca1a00e1"]]},{"id":"727d09d3670e4e89","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Desliga Led Interruptor","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"light","service":"turn_off","areaId":[],"deviceId":[],"entityId":["light.sonoff_1001f119e2"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1160,"y":3620,"wires":[[]]},{"id":"05209d2439aba10c","type":"api-current-state","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Temperatura","server":"e8abf248.ae27e","version":3,"outputs":2,"halt_if":"23","halt_if_type":"num","halt_if_compare":"gte","entity_id":"sensor.escritorio_patrick_temperatura","state_type":"num","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":590,"y":3680,"wires":[["d92ecb6266ce59f7"],["2b74bea198c145f3"]]},{"id":"d92ecb6266ce59f7","type":"api-current-state","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Ar Ligado?","server":"e8abf248.ae27e","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is_not","entity_id":"climate.ar_escritorio_patrick","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":770,"y":3680,"wires":[[],["fad3f076f8f5f364"]]},{"id":"a24b62d48e7f7976","type":"api-call-service","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Liga Ar","server":"e8abf248.ae27e","version":5,"debugenabled":false,"domain":"climate","service":"turn_on","areaId":[],"deviceId":[],"entityId":["climate.ar_escritorio_patrick"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1120,"y":3680,"wires":[[]]},{"id":"fad3f076f8f5f364","type":"api-current-state","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"Mac Studio","server":"e8abf248.ae27e","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"binary_sensor.mac_studio","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":950,"y":3680,"wires":[["a24b62d48e7f7976"],[]]},{"id":"84a5ede869c01e09","type":"switch","z":"420dffb8e6acdef5","g":"1ddac6435563626a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"cool","vt":"str"},{"t":"eq","v":"fan_only","vt":"str"},{"t":"eq","v":"auto","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":270,"y":4140,"wires":[["4592c56a0937d7f0","088e45a878c7943c"],["088e45a878c7943c","4592c56a0937d7f0"],["088e45a878c7943c","4592c56a0937d7f0"],["6948a355d6e97d13"]]}]
Leave a Comment