luci/applications/luci-app-wifischedule
Hosted Weblate 46f7fcf18d Translated using Weblate (Romanian)
Currently translated at 43.9% (29 of 66 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/ro/

Translated using Weblate (Romanian)

Currently translated at 48.6% (36 of 74 strings)

Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/ro/

Translated using Weblate (Romanian)

Currently translated at 93.1% (27 of 29 strings)

Translation: OpenWrt/LuCI/applications/vpnbypass
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/ro/

Translated using Weblate (Romanian)

Currently translated at 27.6% (47 of 170 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/ro/

Translated using Weblate (Romanian)

Currently translated at 68.7% (33 of 48 strings)

Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/ro/

Translated using Weblate (Romanian)

Currently translated at 90.3% (28 of 31 strings)

Translation: OpenWrt/LuCI/applications/dynapoint
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdynapoint/ro/

Translated using Weblate (Romanian)

Currently translated at 51.7% (29 of 56 strings)

Translation: OpenWrt/LuCI/applications/dump1090
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdump1090/ro/

Translated using Weblate (Romanian)

Currently translated at 53.8% (35 of 65 strings)

Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/ro/

Translated using Weblate (Romanian)

Currently translated at 63.2% (31 of 49 strings)

Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/ro/

Translated using Weblate (Romanian)

Currently translated at 21.5% (42 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/ro/

Translated using Weblate (Romanian)

Currently translated at 67.4% (29 of 43 strings)

Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/ro/

Translated using Weblate (Romanian)

Currently translated at 47.4% (28 of 59 strings)

Translated using Weblate (Romanian)

Currently translated at 29.2% (33 of 113 strings)

Translated using Weblate (Romanian)

Currently translated at 25.5% (34 of 133 strings)

Translated using Weblate (Romanian)

Currently translated at 64.5% (31 of 48 strings)

Translated using Weblate (Romanian)

Currently translated at 19.3% (37 of 191 strings)

Translated using Weblate (Romanian)

Currently translated at 84.3% (27 of 32 strings)

Translated using Weblate (Romanian)

Currently translated at 43.2% (32 of 74 strings)

Translated using Weblate (Romanian)

Currently translated at 50.0% (29 of 58 strings)

Translated using Weblate (Romanian)

Currently translated at 42.2% (763 of 1805 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ro/

Translated using Weblate (Romanian)

Currently translated at 26.0% (55 of 211 strings)

Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/ro/

Translated using Weblate (Romanian)

Currently translated at 56.0% (28 of 50 strings)

Translation: OpenWrt/LuCI/applications/acme
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacme/ro/

Translated using Weblate (Romanian)

Currently translated at 96.4% (27 of 28 strings)

Translation: OpenWrt/LuCI/applications/acl
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacl/ro/

Translated using Weblate (Romanian)

Currently translated at 71.7% (28 of 39 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/ro/

Translated using Weblate (Romanian)

Currently translated at 35.8% (28 of 78 strings)

Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/ro/

Translated using Weblate (Romanian)

Currently translated at 65.9% (29 of 44 strings)

Translation: OpenWrt/LuCI/applications/ser2net
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsser2net/ro/

Translated using Weblate (Romanian)

Currently translated at 96.4% (27 of 28 strings)

Translation: OpenWrt/LuCI/applications/vnstat2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat2/ro/

Translated using Weblate (Romanian)

Currently translated at 41.4% (39 of 94 strings)

Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/ro/

Translated using Weblate (Romanian)

Currently translated at 57.6% (30 of 52 strings)

Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/ro/

Translated using Weblate (Romanian)

Currently translated at 26.2% (49 of 187 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/ro/

Translated using Weblate (Romanian)

Currently translated at 45.7% (27 of 59 strings)

Translated using Weblate (Romanian)

Currently translated at 41.0% (87 of 212 strings)

Translated using Weblate (Romanian)

Currently translated at 21.2% (73 of 343 strings)

Translated using Weblate (Danish)

Currently translated at 5.1% (10 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/da/

Translated using Weblate (Danish)

Currently translated at 88.9% (1605 of 1805 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/da/

Translated using Weblate (Danish)

Currently translated at 100.0% (49 of 49 strings)

Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/da/

Translated using Weblate (Danish)

Currently translated at 100.0% (20 of 20 strings)

Translation: OpenWrt/LuCI/applications/ltqtapi
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsltqtapi/da/

Translated using Weblate (Danish)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Danish)

Currently translated at 8.0% (15 of 186 strings)

Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/da/

Translated using Weblate (Romanian)

Currently translated at 54.0% (27 of 50 strings)

Translation: OpenWrt/LuCI/applications/acme
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacme/ro/

Translated using Weblate (Romanian)

Currently translated at 92.8% (26 of 28 strings)

Translation: OpenWrt/LuCI/applications/acl
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacl/ro/

Translated using Weblate (Romanian)

Currently translated at 69.2% (27 of 39 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/ro/

Translated using Weblate (Romanian)

Currently translated at 34.6% (27 of 78 strings)

Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/ro/

Translated using Weblate (Romanian)

Currently translated at 63.6% (28 of 44 strings)

Translation: OpenWrt/LuCI/applications/ser2net
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsser2net/ro/

Translated using Weblate (Romanian)

Currently translated at 92.8% (26 of 28 strings)

Translation: OpenWrt/LuCI/applications/vnstat2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat2/ro/

Translated using Weblate (Romanian)

Currently translated at 40.4% (38 of 94 strings)

Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/ro/

Translated using Weblate (Romanian)

Currently translated at 47.2% (35 of 74 strings)

Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/ro/

Translated using Weblate (Romanian)

Currently translated at 94.1% (32 of 34 strings)

Translation: OpenWrt/LuCI/applications/wifischedule
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswifischedule/ro/

Translated using Weblate (Romanian)

Currently translated at 89.6% (26 of 29 strings)

Translation: OpenWrt/LuCI/applications/vpnbypass
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/ro/

Translated using Weblate (Romanian)

Currently translated at 18.8% (35 of 186 strings)

Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/ro/

Translated using Weblate (Romanian)

Currently translated at 25.6% (48 of 187 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/ro/

Translated using Weblate (Romanian)

Currently translated at 32.4% (35 of 108 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/ro/

Translated using Weblate (Romanian)

Currently translated at 41.9% (34 of 81 strings)

Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/ro/

Translated using Weblate (Romanian)

Currently translated at 28.4% (33 of 116 strings)

Translation: OpenWrt/LuCI/applications/radicale
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale/ro/

Translated using Weblate (Romanian)

Currently translated at 23.2% (29 of 125 strings)

Translation: OpenWrt/LuCI/applications/privoxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsprivoxy/ro/

Translated using Weblate (Romanian)

Currently translated at 34.9% (43 of 123 strings)

Translation: OpenWrt/LuCI/applications/nlbwmon
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/ro/

Translated using Weblate (Romanian)

Currently translated at 54.3% (31 of 57 strings)

Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/ro/

Translated using Weblate (Romanian)

Currently translated at 27.0% (46 of 170 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/ro/

Translated using Weblate (Romanian)

Currently translated at 66.6% (32 of 48 strings)

Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/ro/

Translated using Weblate (Romanian)

Currently translated at 87.0% (27 of 31 strings)

Translation: OpenWrt/LuCI/applications/dynapoint
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdynapoint/ro/

Translated using Weblate (Romanian)

Currently translated at 50.0% (28 of 56 strings)

Translation: OpenWrt/LuCI/applications/dump1090
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdump1090/ro/

Translated using Weblate (Romanian)

Currently translated at 52.3% (34 of 65 strings)

Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/ro/

Translated using Weblate (Romanian)

Currently translated at 100.0% (26 of 26 strings)

Translation: OpenWrt/LuCI/applications/dcwapd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/ro/

Translated using Weblate (Romanian)

Currently translated at 75.0% (30 of 40 strings)

Translation: OpenWrt/LuCI/applications/clamav
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsclamav/ro/

Translated using Weblate (Romanian)

Currently translated at 61.2% (30 of 49 strings)

Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/ro/

Translated using Weblate (Romanian)

Currently translated at 21.0% (41 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/ro/

Translated using Weblate (Romanian)

Currently translated at 65.1% (28 of 43 strings)

Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/ro/

Translated using Weblate (Romanian)

Currently translated at 22.6% (38 of 168 strings)

Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/ro/

Translated using Weblate (Romanian)

Currently translated at 76.3% (29 of 38 strings)

Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/ro/

Translated using Weblate (Romanian)

Currently translated at 44.0% (26 of 59 strings)

Translated using Weblate (Romanian)

Currently translated at 28.3% (32 of 113 strings)

Translated using Weblate (Romanian)

Currently translated at 24.8% (33 of 133 strings)

Translated using Weblate (Romanian)

Currently translated at 61.3% (27 of 44 strings)

Translated using Weblate (Romanian)

Currently translated at 91.8% (45 of 49 strings)

Translated using Weblate (Romanian)

Currently translated at 31.7% (62 of 195 strings)

Translated using Weblate (Romanian)

Currently translated at 18.8% (36 of 191 strings)

Translated using Weblate (Romanian)

Currently translated at 81.2% (26 of 32 strings)

Translated using Weblate (Romanian)

Currently translated at 41.8% (31 of 74 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Romanian)

Currently translated at 40.5% (86 of 212 strings)

Translated using Weblate (Romanian)

Currently translated at 20.9% (72 of 343 strings)

Translated using Weblate (Romanian)

Currently translated at 42.6% (35 of 82 strings)

Translated using Weblate (Romanian)

Currently translated at 48.2% (28 of 58 strings)

Translated using Weblate (Romanian)

Currently translated at 42.1% (761 of 1805 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ro/

Translated using Weblate (Italian)

Currently translated at 52.4% (946 of 1805 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Italian)

Currently translated at 12.2% (42 of 343 strings)

Translated using Weblate (Italian)

Currently translated at 52.2% (944 of 1805 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/it/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1805 of 1805 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (74 of 74 strings)

Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/zh_Hans/

Translated using Weblate (French)

Currently translated at 41.8% (18 of 43 strings)

Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/fr/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (170 of 170 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (1805 of 1805 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (74 of 74 strings)

Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/zh_Hans/

Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Giovanni Giacobbi <giovanni@giacobbi.net>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Pierre-jean Texier <texier.pj2@gmail.com>
Co-authored-by: Simona Iacob <s@zp1.net>
Co-authored-by: drax red <drax@outlook.dk>
Co-authored-by: 孤爺仔 <7312140@qq.com>
Signed-off-by: Eric <spice2wolf@gmail.com>
Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
Signed-off-by: Pierre-jean Texier <texier.pj2@gmail.com>
Signed-off-by: Simona Iacob <s@zp1.net>
Signed-off-by: drax red <drax@outlook.dk>
Signed-off-by: 孤爺仔 <7312140@qq.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/it/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/da/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfwknopd/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsminidlna/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/it/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsuhttpd/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsupnp/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/ro/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/it/
Translation: OpenWrt/LuCI/applications/ahcp
Translation: OpenWrt/LuCI/applications/commands
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/fwknopd
Translation: OpenWrt/LuCI/applications/minidlna
Translation: OpenWrt/LuCI/applications/nut
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/polipo
Translation: OpenWrt/LuCI/applications/radicale2
Translation: OpenWrt/LuCI/applications/splash
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/applications/uhttpd
Translation: OpenWrt/LuCI/applications/upnp
Translation: OpenWrt/LuCI/applications/watchcat
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
2021-11-18 22:50:55 +02:00
..
luasrc applications: add ACL dependency annotations to legacy controllers 2020-04-19 17:17:26 +02:00
po Translated using Weblate (Romanian) 2021-11-18 22:50:55 +02:00
root/usr/share/rpcd/acl.d treewide: stage ACL rules for legacy applications 2020-04-10 23:21:35 +02:00
Makefile treewide: move server side CBI support to luci-compat 2019-11-03 20:49:31 +01:00
README.md treewide: Fix typos in comments 2018-10-10 15:00:07 +08:00

wifischedule

Turns WiFi on and off according to a schedule on an openwrt router

Components

  • wifischedule: Shell script that creates cron jobs based on configuration provided in UCI and does all the other logic of enabling and disabling wifi with the use of /sbin/wifi and /usr/bin/iwinfo. Can be used standalone.
  • luci-app-wifischedule: LUCI frontend for creating the UCI configuration and triggering the actions. Depends on wifischedule.

Use cases

You can create user-defined events when to enable or disable WiFi. There are various use cases why you would like to do so:

  1. Reduce power consumption and therefore reduce CO2 emissions.
  2. Reduce emitted electromagnatic radiation.
  3. Force busincess hours when WiFi is available.

Regarding 1: Please note, that you need to unload the wireless driver modules in order to get the most effect of saving power. In my test scenario only disabling WiFi saves about ~0.4 Watt, unloading the modules removes another ~0.4 Watt.

Regarding 2: Think of a wireless accesspoint e.g. in your bedrom, kids room where you want to remove the amount of radiation emitted.

Regarding 3: E.g. in a company, why would wireless need to be enabled weekends if no one is there working? Or think of an accesspoint in your kids room when you want the youngsters to sleep after 10 pm instead of facebooking...

Configuration

You can create an arbitrary number of schedule events. Please note that there is on sanity check done whether the start / stop times overlap or make sense. If start and stop time are equal, this leads to disabling the WiFi at the given time.

Logging if enabled is done to the file /var/log/wifi_schedule.log and can be reviewed through the "View Logfile" tab. The cron jobs created can be reviewed through the "View Cron Jobs" tab.

Please note that the "Unload Modules" function is currently considered as experimental. You can manually add / remove modules in the text field. The button "Determine Modules Automatically" tries to make a best guess determining regarding the driver module and its dependencies. When un-/loading the modules, there is a certain number of retries (module_load) performed.

The option "Force disabling wifi even if stations associated" does what it says - when activated it simply shuts down WiFi. When unchecked, its checked every recheck_interval minutes if there are still stations associated. Once the stations disconnect, WiFi is disabled.

Please note, that the parameters module_load and recheck_interval are only accessible through uci.

UCI Configuration wifi_schedule

UCI configuration file: /etc/config/wifi_schedule:

config global
        option logging '0'
        option enabled '0'
        option recheck_interval '10'
        option modules_retries '10'

config entry 'Businesshours'
        option enabled '0'
        option daysofweek 'Monday Tuesday Wednesday Thursday Friday'
        option starttime '06:00'
        option stoptime '22:00'
        option forcewifidown '0'

config entry 'Weekend'
        option enabled '0'
        option daysofweek 'Saturday Sunday'
        option starttime '00:00'
        option stoptime '00:00'
        option forcewifidown '1'

Script: wifi_schedule.sh

This is the script that does the work. Make your changes to the UCI config file: /etc/config/wifi_schedule

Then call the script as follows in order to get the necessary cron jobs created:

wifi_schedule.sh cron

All commands:

wifi_schedule.sh cron|start|stop|forcestop|recheck|getmodules|savemodules|help

    cron: Create cronjob entries.
    start: Start wifi.
    stop: Stop wifi gracefully, i.e. check if there are stations associated and if so keep retrying.
    forcestop: Stop wifi immediately.
    recheck: Recheck if wifi can be disabled now.
    getmodules: Returns a list of modules used by the wireless driver(s)
    savemodules: Saves a list of automatic determined modules to UCI
    help: This description.