led-tool: ESP-NOW access point and channel tool

Adds espnow_ap_off.py, which turns a driver's access point off and sets its
ESP-NOW channel, and updates cli.py to match.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Haiku 5.5 committed 2026-11-21 01:18:52 +13:00
1 parent 20a9b60d5f
commit bc5129ef9b
2 files changed
+336 -1

No files matched your search

+3 -1
View File
@@ -875,7 +875,9 @@ Examples
idf = parser.add_argument_group("ESP-IDF led-driver only")
idf.add_argument("--max-brightness", dest="max_brightness", type=int, metavar="0-255",
help="Ceiling for every output colour")
idf.add_argument("--ap", choices=["on", "off"], help="Turn the access point on or off")
idf.add_argument("--ap", choices=["on", "off"],
help="Turn the access point on or off (off needs a joined Wi-Fi network or ESP-NOW: "
"--mode espnow --ap off)")
idf.add_argument("--ap-ssid", dest="ap_ssid", metavar="NAME",
help="Access point name (empty: led-XXXXXX)")
idf.add_argument("--ap-password", dest="ap_password", metavar="PASS",