Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move next_wakeup_secs to local #17

Closed
matopeto opened this issue Aug 2, 2021 · 2 comments
Closed

Move next_wakeup_secs to local #17

matopeto opened this issue Aug 2, 2021 · 2 comments

Comments

@matopeto
Copy link
Contributor

matopeto commented Aug 2, 2021

Please move next_wakeup_secs method to local directory for user/kindles (like fetch-dashboard.sh that cannot use next-wakeup binnary (eg. my kindle DXG). So users can implement own logick for next wakeup (e.g. hadcoded interval)

Maybe i will post PR for this issue later

@pascalw
Copy link
Owner

pascalw commented Aug 5, 2021

Hey thanks for the suggestion, that makes sense :-) If you can send a PR that would be great. If not I'll look into this myself later.

For the Kindle DXG you could probably compile the next-wakeup binary for armv5te. Not 100% sure, but the CPU seems to be ARM5 compatible so it might work. But indeed if all you need is a hardcoded interval then it's overkill.

Btw should you need a quickfix then you can replace the next-wakeup binary by an executable shell script, something like this:

#!/usr/bin/env sh
echo 3600 # or whatever interval you like

@matopeto
Copy link
Contributor Author

matopeto commented Aug 6, 2021

@pascalw nice workaround without changing dash.sh :) and without compile custom binaries

My use case with my DXG is use it as the photo frame. DXG is without connectivity, so i similarly replace wait_for_wifi :)

So i am closing this issue :) Thanks :)

@matopeto matopeto closed this as completed Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants