Best way "downtime time control" of radios / wifi schedule separately?

Folks, new day, new competition :wink:

I would like to set differnet downtimes for 2 and 5 ghz. Ive seen there is luci wifi schedule but can only control both radios :frowning:

Any ideas? Kind regards

You can create scheduled tasks.

  1. set access point status via uci
  2. call reload procedure on hostapd.phy0-ap0
  3. implement calendar in rc.local to actually set "inital" updown statuses after reboot

Reloading wpad service is "restart all", would not work here.

REF: ubus -v list hostapd ubus -v list hostapd.phy0-ap0

did like this in crontab now

# -----------------------------------------------------------
# CRON JOB FÜR automatisches Abschalten wifi  Radio 0 = wifi 5
# ------------------------------------------------------------

# Jeden Tag 06:30 beide WLAN einschalten
30 6 * * * wifi up radio0
30 6 * * * wifi up radio1

# Werktage (Mo-Fr) 21:00 2.4 GHz ausschalten
0 21 * * 1-5 wifi down radio1

# Werktage (Mo-Fr) 22:00 5 GHz ausschalten
0 22 * * 1-5 wifi down radio0

# Wochenende (Sa-So) 22:00 2.4 GHz ausschalten
0 22 * * 6,0 wifi down radio1

# Wochenende (Sa-So) 00:00 5 GHz ausschalten
0 0 * * 6,0 wifi down radio0

# ------------------------------------------
# ENDE CRON JOB FÜR automatisches Abschalten
# ------------------------------------------

Looks ok, probably UP at least one radio at boot...

U mean after manual reboot?

Or full calendar setting full intended state after vacation