feat(led-driver): wifi default transport, lazy espnow import, dynamic patterns

Made-with: Cursor
This commit is contained in:
pi
2026-04-11 15:10:12 +12:00
parent aaaf660e9d
commit fea4e69140
3 changed files with 198 additions and 11 deletions

View File

@@ -21,9 +21,10 @@ class Settings(dict):
self["debug"] = False
self["default"] = "on"
self["brightness"] = 32
self["transport_type"] = "espnow"
self["transport_type"] = "wifi"
self["wifi_channel"] = 1
# Wi-Fi + TCP to Pi: leave ssid empty for ESP-NOW-only.
# Wi-Fi + TCP to controller: set ssid and password. Use transport_type "espnow"
# for ESP-NOW (requires espnow firmware).
self["ssid"] = ""
self["password"] = ""