Ok, I got it. I had a mistake in my logic. I thought it would just give two states. "active" or "screenSaver". With logging I found out easily that I was stopping on purpose, because the state wasn't "screenSaver" anymore. I did this originally to give an easy way to stop the quote rotations. The user just had to hit the wake button. But I failed to realize that there are two non-"active" states I want to let to run.
I'll post my "final" python here. I now want to make the simple adjustments to not do the rotation at night stave more power. Again, similar to Peterson's app, but since I don't have any online grabbing to do, I dumbed it all down into one simple python script.
Justin
|