Great. Would that approach allow you to tell when to start allowing sleep again or would you still be relying on timers?
No. There's no such thing as a "clientidle" event. Something has to do the bean counting. Which means we still need some timer counting down the delay since the last activity event.
One more reason why I don't want to remove the polling code just yet is UEML: as Smart Radio does no longer have a persistent connection to UEML, the existing client activity detection doesn't work. I'll have to figure out some mechanism to monitor http activity in that case. Until I've found a good solution there I'll leave the polling in addition to the event in.
-- Michael _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
