on Presence#Detection=1 do if [Meek#DisableDetection]=0 and [Meek#Touch]=1 Neopixel,1,5,0,5 timerSet,1,120 timerSet,2,0 endif endon on Rules#Timer=1 do Neopixel,1,5,5,0 timerSet,2,25 endon on Rules#Timer=2 do gpio 4,0 TaskValueSet 3,1,0 Neopixel,1,0,5,0 endif endon on Rules#Timer=3 do if [Meek#DisableDetection]=0 Neopixel,1,5,50,5 timerSet,1,0 timerSet,2,0 TaskValueSet 3,1,0 TaskValueSet 3,2,1 rtttl,15:d=10,o=6,b=180,g,e,c else Neopixel,1,50,50,50 TaskValueSet 3,2,0 timerSet,1,0 timerSet,2,0 rtttl,15:d=10,o=6,b=180,c,e,g endif endon