Good Afternoon/Evening
I am a Node Red code noob, been putting together different flows and have a few things working decently.
What I am trying to do is I have some RGBWW outside lights that I am trying to control, I’m sure that once I can get this one figured out, I can program the rest of the flows properly. I have a light that I want turned on at sunset -30, change the color to red, then at 10:30, change the brightness to 75% and the color to 4k kelvin as a security light, then at sunrise +30 turn off.
I have the light changes and in and off times set, but where I am struggling is with the transition of color light to white at a predetermined time.
I will provide my JSON of the flow. If anyone can point me in the right direction, that would be greatly appreciated. Edit- I took my lat and long information out of the JSON
[{"id":"6feccd45f43768cd","type":"tab","label":"Outside Garage Light","disabled":false,"info":"","env":[]},{"id":"f1ea4ab7ec78f3ec","type":"api-call-service","z":"6feccd45f43768cd","name":"Red change color christmas","server":"e597ad4a.7c095","version":5,"debugenabled":true,"domain":"light","service":"turn_on","areaId":[],"deviceId":["3903d72b835743e57216909029ba6bed"],"entityId":["light.soffit_front_light"],"data":"{\"rgbww_color\":[255,0,0,0,0],\"brightness\":255}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1020,"y":80,"wires":[[]]},{"id":"026eb90e7a19b55f","type":"api-call-service","z":"6feccd45f43768cd","name":"White security light","server":"e597ad4a.7c095","version":5,"debugenabled":true,"domain":"light","service":"turn_on","areaId":[],"deviceId":[],"entityId":["light.soffit_front_light"],"data":"{\"kelvin\":4500,\"brightness_pct\":70}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":990,"y":160,"wires":[[]]},{"id":"ba57ceeac95a5aeb","type":"api-call-service","z":"6feccd45f43768cd","name":"Light Off","server":"e597ad4a.7c095","version":5,"debugenabled":true,"domain":"light","service":"turn_off","areaId":[],"deviceId":[],"entityId":["light.soffit_front_light"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":960,"y":240,"wires":[[]]},{"id":"32946a7e9598ebf7","type":"switch","z":"6feccd45f43768cd","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":true,"outputs":2,"x":590,"y":240,"wires":[["bc1df1b112adc696"],["ba57ceeac95a5aeb"]]},{"id":"8219a60f5bdd9f92","type":"bigtimer","z":"6feccd45f43768cd","outtopic":"","outpayload1":"on","outpayload2":"off","name":"Light timing section","comment":"","lat":"","lon":"","starttime":"5004","endtime":"5003","starttime2":"0","endtime2":"0","startoff":"-30","endoff":"30","startoff2":"","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":0,"xmonth7":0,"xday8":0,"xmonth8":0,"xday9":0,"xmonth9":0,"xday10":0,"xmonth10":0,"xday11":0,"xmonth11":0,"xday12":0,"xmonth12":0,"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":210,"y":260,"wires":[["32946a7e9598ebf7"],[],[]]},{"id":"bc1df1b112adc696","type":"light-scheduler-filter","z":"6feccd45f43768cd","settings":"02b1b9626db360bb","events":"[{\"start\":{\"dow\":1,\"mod\":300},\"end\":{\"dow\":1,\"mod\":600}},{\"start\":{\"dow\":2,\"mod\":300},\"end\":{\"dow\":2,\"mod\":600}},{\"start\":{\"dow\":3,\"mod\":300},\"end\":{\"dow\":3,\"mod\":600}},{\"start\":{\"dow\":4,\"mod\":300},\"end\":{\"dow\":4,\"mod\":600}},{\"start\":{\"dow\":5,\"mod\":300},\"end\":{\"dow\":5,\"mod\":600}},{\"start\":{\"dow\":6,\"mod\":300},\"end\":{\"dow\":6,\"mod\":600}},{\"start\":{\"dow\":0,\"mod\":300},\"end\":{\"dow\":0,\"mod\":600}},{\"start\":{\"dow\":1,\"mod\":900},\"end\":{\"dow\":1,\"mod\":1230}},{\"start\":{\"dow\":2,\"mod\":900},\"end\":{\"dow\":2,\"mod\":1230}},{\"start\":{\"dow\":3,\"mod\":900},\"end\":{\"dow\":3,\"mod\":1230}},{\"start\":{\"dow\":4,\"mod\":900},\"end\":{\"dow\":4,\"mod\":1230}},{\"start\":{\"dow\":5,\"mod\":900},\"end\":{\"dow\":5,\"mod\":1230}},{\"start\":{\"dow\":6,\"mod\":900},\"end\":{\"dow\":6,\"mod\":1230}},{\"start\":{\"dow\":0,\"mod\":900},\"end\":{\"dow\":0,\"mod\":1230}},{\"start\":{\"dow\":0,\"mod\":775},\"end\":{\"dow\":0,\"mod\":785}}]","name":"","onlyWhenDark":false,"scheduleRndMax":0,"sunElevationThreshold":6,"sunShowElevationInStatus":true,"x":600,"y":120,"wires":[["f1ea4ab7ec78f3ec"],["026eb90e7a19b55f"]]},{"id":"e597ad4a.7c095","type":"server","name":"Home Assistant","addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"","connectionDelay":false,"cacheJson":false,"heartbeat":false,"heartbeatInterval":"","statusSeparator":"","enableGlobalContextStore":false},{"id":"02b1b9626db360bb","type":"light-scheduler-settings","name":"my settings","latitude":"","longitude":""}]