luci-app-wifischedule: Not possible to use with only one active radio (e.g. 2,4Ghz)
Open
Nobody has claimed this yet.
bug
release/24.10
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Package Name
luci-app-wifischedule
Maintainer
Nils Koenig openwrt@newk.it
OpenWrt Version
24.10.1
OpenWrt Target/Subtarget
ath79/nand
Steps to Reproduce
- Enable Wifi on 2,4Ghz radio
- Disable the 5Ghz radio
- Configure wifischedule to turn radio off and on again
- Let the Scheduler run
- Observe that now both radios are on
Actual Behaviour
- The package always switches all radios on and off (by design).
- I would like to use the package for switching only the 2,4Ghz radio.
- I worked around the problem on that specific instance by hard coding the radio I wanted to switch in
/usr/bin/wifi_schedule.sh(function _wifi_get_devices, line 306).
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with /usr/bin/wifi_schedule.sh, especially _wifi_get_devices around line 306, and reproduce the listed configuration with only the 2.4GHz radio enabled. Determine how the scheduler selects radios and make the behavior support switching only the intended active radio without enabling the disabled 5GHz radio; verify using the reproduction steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- embedded-iot, networking
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100