Title - Outside Light On and Off + Change with Motion
Summary - (this could be better) but I have created my outside light to come on at Dusk at 1% and off at Dawn, in inbetween those times if motion is detected the light goes upto 100% and goes back down to 1% once motion has stopped. This uses node-red-contrib-bigtimer & node-red-contrib-time-range-switch
Picture -
Flow -
Summary
[{"id":"73237910.0a2008","type":"hubitat device","z":"59821e52.c4335","name":"Front Door","server":"89a479f5.5c31e8","deviceId":"164","attribute":"motion","sendEvent":true,"x":90,"y":200,"wires":[["6efa468f.3981c8"]]},{"id":"6efa468f.3981c8","type":"switch","z":"59821e52.c4335","name":"Active/Inactive","property":"payload.value","propertyType":"msg","rules":[{"t":"eq","v":"active","vt":"str"},{"t":"eq","v":"inactive","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":300,"y":200,"wires":[["e54b0756.fc7b38"],["72f28de3.e1f6d4"]]},{"id":"6f351f4.c3bdfe","type":"hubitat command","z":"59821e52.c4335","name":"Outside Light 1%","server":"89a479f5.5c31e8","deviceId":"650","command":"setLevel","commandArgs":"1","x":750,"y":220,"wires":[[]]},{"id":"eeb04e1.acb47b","type":"hubitat command","z":"59821e52.c4335","name":"Outside Light Off","server":"89a479f5.5c31e8","deviceId":"650","command":"off","commandArgs":"","x":550,"y":80,"wires":[[]]},{"id":"7c0ff5d9.4e653c","type":"hubitat command","z":"59821e52.c4335","name":"Outside Light On","server":"89a479f5.5c31e8","deviceId":"650","command":"on","commandArgs":"","x":550,"y":40,"wires":[[]]},{"id":"7e96d26c.12185c","type":"switch","z":"59821e52.c4335","name":"On (1) - Off (0)","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"str"},{"t":"eq","v":"0","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":340,"y":80,"wires":[["7c0ff5d9.4e653c"],["eeb04e1.acb47b"]]},{"id":"957b1404.bf00a8","type":"bigtimer","z":"59821e52.c4335","outtopic":"","outpayload1":"","outpayload2":"","name":"Big Timer","comment":"","lat":"52.699219","lon":"-1.367270","starttime":5001,"endtime":"5000","starttime2":0,"endtime2":"0","startoff":0,"endoff":0,"startoff2":0,"endoff2":0,"offs":0,"outtext1":"1","outtext2":"0","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,"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,"repeat":true,"atstart":true,"odd":false,"even":false,"x":100,"y":80,"wires":[["7e96d26c.12185c"],[],["7e96d26c.12185c"]]},{"id":"e54b0756.fc7b38","type":"time-range-switch","z":"59821e52.c4335","name":"","lat":"52.699219","lon":"-1.367270","startTime":"dusk","endTime":"dawn","startOffset":"1","endOffset":"-1","x":530,"y":160,"wires":[["f5fab64c.1a05b8"],[]]},{"id":"72f28de3.e1f6d4","type":"time-range-switch","z":"59821e52.c4335","name":"","lat":"52.699219","lon":"-1.367270","startTime":"dusk","endTime":"dawn","startOffset":0,"endOffset":0,"x":530,"y":240,"wires":[["6f351f4.c3bdfe"],[]]},{"id":"f5fab64c.1a05b8","type":"hubitat command","z":"59821e52.c4335","name":"Outside Light 100%","server":"89a479f5.5c31e8","deviceId":"650","command":"setLevel","commandArgs":"100","x":750,"y":140,"wires":[[]]},{"id":"89a479f5.5c31e8","type":"hubitat config","z":"","name":"AVA","usetls":false,"host":"192.168.4.32","port":"80","appId":"966","nodeRedServer":"http://192.168.2.15:1880","webhookPath":"/hubitat/webhook_","autoRefresh":true,"useWebsocket":false}]