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

Restrict access by day / hour ... #11

Open
s-celles opened this issue Jan 27, 2016 · 0 comments
Open

Restrict access by day / hour ... #11

s-celles opened this issue Jan 27, 2016 · 0 comments

Comments

@s-celles
Copy link
Member

With Raspberry Pi date/time is updated using network (NTP).
Such feature could need a Real Time Clock

Moreover it will be necessary to define a text format to define allowed hours, forbidden hours...

A cron like format might be considered
http://www.nncron.ru/help/EN/working/cron-format.htm
Some Python libs to deal with crontab format
https://github.com/kiorky/croniter
https://bugs.launchpad.net/python-crontab

Maybe ISO 8601 can also be considered
https://en.wikipedia.org/wiki/ISO_8601
Some Python libs to deal with ISO 8601
https://pypi.python.org/pypi?%3Aaction=search&term=8601&submit=search

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