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

Jan 28 - figure out how to get JS or PHP to do an alarm #2

Open
tachyonlabs opened this issue Jan 22, 2020 · 0 comments
Open

Jan 28 - figure out how to get JS or PHP to do an alarm #2

tachyonlabs opened this issue Jan 22, 2020 · 0 comments

Comments

@tachyonlabs
Copy link
Contributor

tachyonlabs commented Jan 22, 2020

This is in connection with the IFLZonePlusOne whenIsSunsetToday() function -- at first the alarm will just consist of sending an email. Also, there may be a positive or negative offset in terms of optimum pretty sunset time vs actual sunset time, and or whether say a five-minute advance-notice period would be wanted.

Look at among others:
https://stackoverflow.com/questions/40028289/alarm-sound-at-certain-time-of-a-day

https://developer.wordpress.org/plugins/shortcodes/

https://developer.wordpress.org/reference/functions/wp_enqueue_script/ for "the recommended method of linking JavaScript to a WordPress generated page"

https://github.com/tachyonlabs/autotrax/blob/master/AutoTRAX/book/templates/book/book.html for the way I used JavaScript's setTimeout as a timer/alarm

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

1 participant