Hi. I managed to use FBInk + Requests + Regex on Python (https://www.mobileread.com/forums/sh...d.php?t=335501) to create a little dashboard that is displayed on the Kindle screen. Requests pulls data from various http sources (including Google Sheets/Scripts with a little help from Query language). I currently run it via a nohup bash script, after disabling the screensaver with ¬ds and have a couple of questions.
1. What's the best practice for saving energy consumption? Is it possible to say... display the image with FBInk and then set that as a screensaver and put the Kindle to sleep on a timer before running the script again ad-infinitum? What packages would I use to accomplish this?
2. Re. Nohup. I tried Tmux as well but my instance crashes everytime I terminate the SSH connection (whether this is USB or WiFI doesn't matter). Didn't bother with Screen.
3. If I set say, a 15 minute timer, Requests stop working returning an "max retries exceeded with url newconnectionerror" error. Reseting the Kindle gets rid of the error. I infer from this that there is that one of the internal threads running requests has 'frozen' or 'timed out'- maybe because requests hasn't been closed properly? Apologies - I don't know the exact terminology for this as I don't code much.
1. What's the best practice for saving energy consumption? Is it possible to say... display the image with FBInk and then set that as a screensaver and put the Kindle to sleep on a timer before running the script again ad-infinitum? What packages would I use to accomplish this?
2. Re. Nohup. I tried Tmux as well but my instance crashes everytime I terminate the SSH connection (whether this is USB or WiFI doesn't matter). Didn't bother with Screen.
3. If I set say, a 15 minute timer, Requests stop working returning an "max retries exceeded with url newconnectionerror" error. Reseting the Kindle gets rid of the error. I infer from this that there is that one of the internal threads running requests has 'frozen' or 'timed out'- maybe because requests hasn't been closed properly? Apologies - I don't know the exact terminology for this as I don't code much.