- if (startTime - nowTime < 330): # no time to switch box back on
- setFPWakeuptime(nowTime + 30) # so switch back on in 30 seconds
+ if (startTime - nowTime) < 330: # no time to switch box back on
+ wptime = nowTime + 30 # so switch back on in 30 seconds