Advertisement
Guest User

Untitled

a guest
Nov 12th, 2021
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.12 KB | None | 0 0
  1. [{"id":"e7c43518.b6e9d8","type":"tab","label":"Bom dia","disabled":false,"info":""},{"id":"808969df.743428","type":"api-call-service","z":"e7c43518.b6e9d8","name":"","server":"ca5bb1b0.694ae","version":3,"debugenabled":false,"service_domain":"tts","service":"google_translate_say","entityId":"media_player.google_kitchen","data":"{\t\"message\":\"It's 7:03 A.M. and it's time to go. Today it is \" & data.current.weather[0].description & \" and it's currently \" & payload.current.temp & \" degrees. Be aware that at the end of the day it will be \" & data.hourly[1].weather[0].main & \" and the night can get to \" & payload.hourly[15].feels_like & \" degrees. I hope you have a great day!\"\t}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1120,"y":260,"wires":[[]]},{"id":"9651ab35.c7bf78","type":"api-call-service","z":"e7c43518.b6e9d8","name":"Luz sala","server":"ca5bb1b0.694ae","version":3,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.ebcc79b5c4532db927kut3","data":"{\"brightness\":\"255\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":440,"y":260,"wires":[[]]},{"id":"369904d9.38b3dc","type":"harmonyws-command","z":"e7c43518.b6e9d8","name":"TV cozinha","server":"c3c57ba7.0c3758","activity":"67112703","command":"67112703:PowerToggle","hold":"1","repeat":"1","delay":"3","x":450,"y":320,"wires":[[]]},{"id":"fc24ef04.98e51","type":"api-call-service","z":"e7c43518.b6e9d8","name":"","server":"ca5bb1b0.694ae","version":3,"debugenabled":false,"service_domain":"media_player","service":"volume_set","entityId":"media_player.google_kitchen","data":"{\"volume_level\":1}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1130,"y":20,"wires":[[]]},{"id":"6a7464cc.ccf0fc","type":"openweathermap","z":"e7c43518.b6e9d8","name":"Porto Alegre","wtype":"onecall","lon":"-51.23","lat":"-30.0331","city":"","country":"","language":"en","x":310,"y":60,"wires":[["55cb1f86.78327"]]},{"id":"21700ac7.05c596","type":"cast-to-client","z":"e7c43518.b6e9d8","name":"","url":"http://192.168.2.21/audio/02.wav","contentType":"audio/wav","message":"","language":"en","ip":"192.168.2.143","port":"","volume":"","x":1090,"y":80,"wires":[[]]},{"id":"5dfda5bd.c8f17c","type":"function","z":"e7c43518.b6e9d8","name":"","func":"msg.payload.current.temp = Math.round(msg.payload.current.temp)\nmsg.payload.hourly[15].feels_like= Math.round(msg.payload.hourly[15].feels_like)\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1060,"y":140,"wires":[["699df158.0674f"]]},{"id":"2ce2dc2.e0a3424","type":"api-current-state","z":"e7c43518.b6e9d8","name":"Bateria celular Andre","server":"ca5bb1b0.694ae","version":2,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.andre_battery_level","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":340,"y":140,"wires":[["48581b4.f0b8ee4"]]},{"id":"48581b4.f0b8ee4","type":"change","z":"e7c43518.b6e9d8","name":"Bateria entra no flow","rules":[{"t":"set","p":"bate","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":140,"wires":[[]]},{"id":"55cb1f86.78327","type":"delay","z":"e7c43518.b6e9d8","name":"","pauseType":"delay","timeout":"10","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":800,"y":60,"wires":[["21700ac7.05c596","5dfda5bd.c8f17c","fc24ef04.98e51"]]},{"id":"699df158.0674f","type":"change","z":"e7c43518.b6e9d8","name":"Bateria sai do flow","rules":[{"t":"set","p":"payload.current.dt","pt":"msg","to":"bate","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":1090,"y":200,"wires":[["808969df.743428"]]},{"id":"3ca38083.82f9d","type":"api-call-service","z":"e7c43518.b6e9d8","name":"Luz freezer","server":"ca5bb1b0.694ae","version":3,"debugenabled":false,"service_domain":"switch","service":"turn_on","entityId":"switch.eb55cb933b1be31e27vkkh","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":450,"y":200,"wires":[[]]},{"id":"249bd46c.3f395c","type":"inject","z":"e7c43518.b6e9d8","name":"0703","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"03 07 * * 1,2,3,4,5","once":false,"onceDelay":0.1,"topic":"","payloadType":"date","x":80,"y":140,"wires":[["2ce2dc2.e0a3424","6a7464cc.ccf0fc"]]},{"id":"c3e519e3.e49958","type":"inject","z":"e7c43518.b6e9d8","name":"0554","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"54 05 * * 1,2,3,4,5","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":90,"y":240,"wires":[["3f7c3533.5e08ea","ca5dc14f.f6e9a","b2a358bd.cbad68"]]},{"id":"ca5dc14f.f6e9a","type":"delay","z":"e7c43518.b6e9d8","name":"","pauseType":"delay","timeout":"20","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":300,"y":260,"wires":[["9651ab35.c7bf78"]]},{"id":"b2a358bd.cbad68","type":"delay","z":"e7c43518.b6e9d8","name":"","pauseType":"delay","timeout":"30","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":300,"y":320,"wires":[["369904d9.38b3dc"]]},{"id":"3f7c3533.5e08ea","type":"delay","z":"e7c43518.b6e9d8","name":"","pauseType":"delay","timeout":"10","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":300,"y":200,"wires":[["3ca38083.82f9d"]]},{"id":"ca5bb1b0.694ae","type":"server","name":"Home Assistant","addon":true},{"id":"c3c57ba7.0c3758","type":"harmonyws-server","name":"maestro","ip":"192.168.2.51","debug":false}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement