Skip to content

Instantly share code, notes, and snippets.

@RamonBell
Created April 23, 2021 15:00
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RamonBell/1d87354fdae7fbf833d2e6d2a7583bcb to your computer and use it in GitHub Desktop.
Save RamonBell/1d87354fdae7fbf833d2e6d2a7583bcb to your computer and use it in GitHub Desktop.
some premade node red node and flows
here are some of my most used node red flows:
[{"id":"ae3bb37e.1e5b1","type":"tab","label":"Preset nodes","disabled":false,"info":""},{"id":"12dad45a.09b5cc","type":"group","z":"ae3bb37e.1e5b1","name":"","style":{"fill":"#ffff00","label":true},"nodes":["19979de1.412c12","a358eaa9.574cb8"],"x":817.5078125,"y":119,"w":500,"h":283.5234375},{"id":"a358eaa9.574cb8","type":"group","z":"ae3bb37e.1e5b1","g":"12dad45a.09b5cc","style":{"stroke":"#c7c2bb","stroke-opacity":"1","fill":"#c7c2bb","fill-opacity":"0.75","label":true,"label-position":"nw","color":"#afa89d"},"nodes":["119286c.c14c479","fddf1965.59c7a8"],"x":843.5078125,"y":218.5234375,"w":448,"h":158},{"id":"3e7d5673.ae1eaa","type":"group","z":"ae3bb37e.1e5b1","name":"","style":{"fill":"#777777","label":true},"nodes":["3da81636.a0fbba","e9d3b605.a0adb8"],"x":34,"y":39,"w":292,"h":142},{"id":"64235d8b.4e4704","type":"group","z":"ae3bb37e.1e5b1","name":"","style":{"fill":"#c8e7a7","label":true},"nodes":["2063baeb.2c4a06","e5e0289a.6a4378"],"x":54,"y":439,"w":332,"h":149.5},{"id":"96e27867.1701f8","type":"group","z":"ae3bb37e.1e5b1","style":{"stroke":"#c7c2bb","stroke-opacity":"1","fill":"#c7c2bb","fill-opacity":"0.75","label":true,"label-position":"nw","color":"#afa89d"},"nodes":["36dce708.4c2978","5db08f4b.61d6e"],"x":44.5078125,"y":239.5234375,"w":341.4921875,"h":141.4765625},{"id":"f4982f86.f3635","type":"group","z":"ae3bb37e.1e5b1","name":"","style":{"fill":"#7fb7df","label":true},"nodes":["9203f1df.1c6c5","bc4742f7.9f4df"],"x":634,"y":459,"w":498,"h":373},{"id":"bc4742f7.9f4df","type":"group","z":"ae3bb37e.1e5b1","g":"f4982f86.f3635","style":{"stroke":"#c7c2bb","stroke-opacity":"1","fill":"#c7c2bb","fill-opacity":"0.75","label":true,"label-position":"nw","color":"#afa89d"},"nodes":["beef8092.b6018","d1278bf8.ac5fa8"],"x":834,"y":539,"w":272,"h":267},{"id":"3da81636.a0fbba","type":"api-call-service","z":"ae3bb37e.1e5b1","g":"3e7d5673.ae1eaa","name":"Set Volume to 80%","server":"","version":1,"debugenabled":false,"service_domain":"media_player","service":"volume_set","entityId":"media_player.ramon_s_echo_plus","data":"{\"volume_level\":\".8\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":210,"y":140,"wires":[[]]},{"id":"e9d3b605.a0adb8","type":"comment","z":"ae3bb37e.1e5b1","g":"3e7d5673.ae1eaa","name":"set volume of Alexa Devices","info":"","x":180,"y":80,"wires":[]},{"id":"36dce708.4c2978","type":"api-call-service","z":"ae3bb37e.1e5b1","g":"96e27867.1701f8","name":"","server":"","version":1,"debugenabled":false,"service_domain":"persistent_notification","service":"create","entityId":"","data":"{\"message\": \"battery level low\"}","dataType":"jsonata","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":220,"y":340,"wires":[[]]},{"id":"5db08f4b.61d6e","type":"comment","z":"ae3bb37e.1e5b1","g":"96e27867.1701f8","name":"Presistent notification( bell thing)","info":"","x":200.5078125,"y":280.5234375,"wires":[]},{"id":"119286c.c14c479","type":"function","z":"ae3bb37e.1e5b1","g":"a358eaa9.574cb8","name":"Garbage out random message","func":"var line1 = [\"Guess what, \", \"It's that time again, \", \"it's time, \", \"It's Tuesday, \" ]\nvar line2 = [\"Garbage cans need to go out, \", \"Take out the garbage cans, \", \"Don't forget about the garbage, \"] \nvar line3 = [\"and remember the diapers and recycle, \"]\nmsg.payload =\n\nline1[Math.floor(Math.random() * line1.length)]+\nline2[Math.floor(Math.random() * line2.length)]+\nline3[Math.floor(Math.random() * line3.length)]\n\nreturn msg\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":999.5078125,"y":259.5234375,"wires":[["fddf1965.59c7a8"]]},{"id":"fddf1965.59c7a8","type":"api-call-service","z":"ae3bb37e.1e5b1","g":"a358eaa9.574cb8","name":"Alexa Announce ","server":"","version":1,"debugenabled":true,"service_domain":"notify","service":"alexa_media_ramon_s_echo_plus","entityId":"","data":"{\"message\":\"{{payload}}\",\"data\":{\"type\":\"announce\"}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1185.5078125,"y":335.5234375,"wires":[[]]},{"id":"19979de1.412c12","type":"comment","z":"ae3bb37e.1e5b1","g":"12dad45a.09b5cc","name":"Random message with alexa with announce","info":"","x":1050,"y":160,"wires":[]},{"id":"2063baeb.2c4a06","type":"bigtimer","z":"ae3bb37e.1e5b1","g":"64235d8b.4e4704","outtopic":"","outpayload1":"on","outpayload2":"off","name":"family room lights","comment":"","lat":"","lon":"","starttime":5001,"endtime":"1350","starttime2":0,"endtime2":0,"startoff":"-150","endoff":0,"startoff2":0,"endoff2":0,"offs":0,"outtext1":"","outtext2":"","timeout":1440,"sun":true,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"jan":true,"feb":true,"mar":true,"apr":true,"may":true,"jun":true,"jul":true,"aug":true,"sep":true,"oct":true,"nov":true,"dec":true,"day1":0,"month1":0,"day2":0,"month2":0,"day3":0,"month3":0,"day4":0,"month4":0,"day5":0,"month5":0,"day6":0,"month6":0,"day7":0,"month7":0,"day8":0,"month8":0,"day9":0,"month9":0,"day10":0,"month10":0,"day11":0,"month11":0,"day12":0,"month12":0,"d1":0,"w1":0,"d2":0,"w2":0,"d3":0,"w3":0,"d4":0,"w4":0,"d5":0,"w5":0,"d6":0,"w6":0,"xday1":0,"xmonth1":0,"xday2":0,"xmonth2":0,"xday3":0,"xmonth3":0,"xday4":0,"xmonth4":0,"xday5":0,"xmonth5":0,"xday6":0,"xmonth6":0,"xday7":"","xmonth7":"","xday8":"","xmonth8":"","xday9":"","xmonth9":"","xday10":"","xmonth10":"","xday11":"","xmonth11":"","xday12":"","xmonth12":"","xd1":0,"xw1":0,"xd2":0,"xw2":0,"xd3":0,"xw3":0,"xd4":0,"xw4":0,"xd5":0,"xw5":0,"xd6":0,"xw6":0,"suspend":false,"random":false,"randon1":false,"randoff1":false,"randon2":false,"randoff2":false,"repeat":false,"atstart":true,"odd":false,"even":false,"x":250,"y":540,"wires":[[],[],[]]},{"id":"e5e0289a.6a4378","type":"comment","z":"ae3bb37e.1e5b1","g":"64235d8b.4e4704","name":"Preset Bigtimer set your long and lat","info":"","x":220,"y":480,"wires":[]},{"id":"beef8092.b6018","type":"switch","z":"ae3bb37e.1e5b1","g":"bc4742f7.9f4df","name":"other remote","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"320848","vt":"str"},{"t":"cont","v":"32084C","vt":"str"},{"t":"cont","v":"320844","vt":"str"},{"t":"cont","v":"320849","vt":"str"},{"t":"cont","v":"320842","vt":"str"},{"t":"cont","v":"320845","vt":"str"},{"t":"cont","v":"320841","vt":"str"},{"t":"cont","v":"320843","vt":"str"}],"checkall":"true","repair":false,"outputs":8,"x":1010,"y":720,"wires":[[],[],[],[],[],[],[],[]]},{"id":"d1278bf8.ac5fa8","type":"mqtt in","z":"ae3bb37e.1e5b1","g":"bc4742f7.9f4df","name":"","topic":"tele/RF_Bridge/RESULT","qos":"2","datatype":"auto","broker":"28f8704b.3b96a","x":970,"y":580,"wires":[["beef8092.b6018"]]},{"id":"9203f1df.1c6c5","type":"comment","z":"ae3bb37e.1e5b1","g":"f4982f86.f3635","name":"Get codes from tasmota flashed rf bridge ","info":"","x":820,"y":500,"wires":[]},{"id":"28f8704b.3b96a","type":"mqtt-broker","name":"","broker":"192.168.0.8","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment