openwrt / openwrt/packages

luci-app-wifischedule counterituitive behavior

Open
#20,445 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Environment: ath79, TP-Link archer A7 v5, openwrt 22.03.2
Description: wifi schedule acts counterititvely.

there are 2 sections, the first one, businesshours (it was probably supposed to be named workdays) and second one, weekend. When i set up wifi off on all workdays (Mon-Fri) at 10 pm and back on at 7 am, and NOTHING on weekend, it generates cron entry to shut it off on friday at 10 pm, and it stays off (not on) for the whole weekend, unless manually rebooted. Since a default state for wifi router is to be with a wifi on, no entry for weekend should (imho) mean no limitations on weekend. Right?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with luci-app-wifischedule and reproduce the configuration described on OpenWrt 22.03.2, inspecting the generated cron entry after disabling Wi-Fi on weekdays and leaving the weekend section empty. Done means the weekday schedule still applies while an empty weekend section leaves Wi-Fi unrestricted, with the behavior covered by an appropriate test or reproducible verification.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.