Skip to content

Instantly share code, notes, and snippets.

@RamonBell
Created September 26, 2021 02:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RamonBell/42e030c55f245c61e24fc580288be90b to your computer and use it in GitHub Desktop.
Save RamonBell/42e030c55f245c61e24fc580288be90b to your computer and use it in GitHub Desktop.
SETTING RGB BULB COLOR BY MONTH OR HOLIDAY
[{"id":"2982a664efb25955","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"57e72065e35da4fe","type":"bigtimer","z":"2982a664efb25955","outtopic":"","outpayload1":"on","outpayload2":"off","name":"September lights","comment":"","lat":"","lon":"","starttime":5001,"endtime":"1350","starttime2":0,"endtime2":0,"startoff":"-20","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":false,"feb":false,"mar":false,"apr":false,"may":false,"jun":false,"jul":false,"aug":false,"sep":true,"oct":false,"nov":false,"dec":false,"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":555,"y":195,"wires":[["3f8418e96f90a9da"],[],[]]},{"id":"3f8418e96f90a9da","type":"switch","z":"2982a664efb25955","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":770,"y":180,"wires":[["1889dd7fb1308948"],[]]},{"id":"1889dd7fb1308948","type":"api-call-service","z":"2982a664efb25955","name":"RGB light color purple","server":"5f266d6c.e55234","version":3,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.rgbporchlight1, light.tasmota","data":"{\t\"transition\": 15,\t\"brightness_pct\": 100,\t\"rgb_color\": [\t221,\t160,\t221\t]\t}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":775,"y":330,"wires":[[]]},{"id":"5f266d6c.e55234","type":"server","name":"Home Assistant","version":1,"legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":false,"cacheJson":true}]
JUST LOOK UP THE RGB CODE AND CHANGE THE NUMBERS IN THE CALL SERVICE NODE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment