![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Nov 2011
Device: Kindle4
|
Auto-Wake-on-time ?
Hi all !
I have calibre download news from a local newspaper every night. Its running on my server which is always on. I understand that i can wake the kindle and pull the newspaper on my kindle via the calibre webserver. I wonder if this could be automated. i.e. The standby/off kindle wakes at 5:30 am and fetches the newspaper via wifi from the server, then goes back to standby. Is "wake on time" possible in the kindles ? Thanks, Cheers, Karl |
![]() |
![]() |
![]() |
#2 |
wannabe developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
|
Thats easy. Simply edit cron to execute at certain time shell script which will simulate power button/slider press.
Another way is to create same shell script with endless loop and 24 hour delay between simulating key press. Cheers |
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Nov 2011
Device: Kindle4
|
So cron/script will run even when the kindle is in sleep/poweroff ???
|
![]() |
![]() |
![]() |
#4 |
wannabe developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
|
Obviously it wont work when your kindle is powered off, because you would need wake on lan functionality then. While in sleep state kindle can execute scripts without issues.
|
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Nov 2011
Device: Kindle4
|
Quote:
So one would just keep the kindle in sleep mode instead of power-off. How long does a K4 last in sleep mode with a full battery ? Edit: Ok, reading up on that it seems the kindle is basically never powered off, its always running even in sleep mode. Thats super-cool, so the "pull news at 5:30am" just needs some shell scripting ! Thanks seaniko7, Cheers! Last edited by karl_k; 12-09-2011 at 11:49 AM. |
|
![]() |
![]() |
![]() |
#6 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
lipc-set-prop com.lab126.powerd wakeUp 1 I tested this command with SSH shell on a kindle keyboard 3G, and on a kindle DX. It wakes them from sleep mode. If the kindle is already awake, this command just displays an error message. It should work fine in a cron script. Last edited by geekmaster; 12-09-2011 at 02:31 PM. |
|
![]() |
![]() |
![]() |
#7 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Nov 2011
Device: none
|
Quote:
great work! |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Auto sync is not so auto sync? (Sony PRS-650) | arspr | Devices | 3 | 04-26-2011 03:43 PM |
You wake up and ... | Sweetpea | Lounge | 126 | 10-03-2010 10:41 PM |
Shortcut to wake up? Way to increase time between idle & sleep-mode? | joe2010 | Amazon Kindle | 0 | 06-11-2010 08:41 PM |
Nine secs. for K2 to wake up | dwallbaum | Amazon Kindle | 9 | 11-20-2009 09:14 AM |
Wake up BOOKEEN!!! and Smell the | hidari | Bookeen | 77 | 04-03-2009 02:07 PM |