Karsten Böddeker 1a6670ef01 update for lede based master %!s(int64=8) %!d(string=hai) anos
..
files 3f8381d864 Minify all Lua code %!s(int64=8) %!d(string=hai) anos
luasrc 3f8381d864 Minify all Lua code %!s(int64=8) %!d(string=hai) anos
Makefile 1a6670ef01 update for lede based master %!s(int64=8) %!d(string=hai) anos
ReadMe.md 67820451dc rename ffho-aptimer -> ffho-ap-timer %!s(int64=8) %!d(string=hai) anos

ReadMe.md

ffho-ap-timer

Timer for the client wifi with three modes (daily, weekly, monthly)

/etc/config/ap-timer

ap-timer.settings.enabled:

  • 0 disables the ap-timer (default)
  • 1 enables the ap-timer

ap-timer.settings.type:

  • day, $day = all
  • week, $day = [Mon|Tue|Wed|Thu|Fri|Sat|Sun]
  • month, $day = [01-31]

ap-timer.$day.on:

  • List of time to enable wireless

ap-timer.$day.off:

  • List of time to disable wireless

example

config ap-timer 'settings'
	option enabled '1'
	option type 'week'

config week 'Sun'
	list on '06:00'
	list off '23:00'