Files
t-embed-insecam-widget/main/Kconfig.projbuild
T
Juli d92a2e53cc On-device menu, persistent settings and 12 favourite slots
Hold the knob to open a six-row menu: save/remove the playing camera as
a favourite (12 NVS slots), play or forget favourites, choose the
source (random insecam or favourites), time per camera, listing,
screen and ring brightness, caption, and reboot into Wi-Fi setup.
Settings live in NVS and override the Kconfig first-boot defaults.
Camera URLs are stored with their COUNTER placeholder so favourites get
a fresh cache-buster on every visit.
2026-09-17 00:57:02 +02:00

68 lines
2.2 KiB
Plaintext

menu "insecam desk widget"
# Interval, listing and brightness are first-boot defaults only; the
# on-device menu (hold the knob) overrides them and persists to NVS.
choice TEMBED_VARIANT
prompt "LilyGO T-Embed variant"
default TEMBED_VARIANT_AUTO
help
The original T-Embed (2022) and the T-Embed CC1101 (2024) use
different pins for nearly everything. Auto-detect probes the I2C
bus at boot (ES7210 on the original, BQ27220/BQ25896/PN532 on the
CC1101) and falls back to the original pin map if nothing answers.
config TEMBED_VARIANT_AUTO
bool "Auto-detect at boot"
config TEMBED_VARIANT_ORIGINAL
bool "T-Embed (2022, APA102 ring)"
config TEMBED_VARIANT_CC1101
bool "T-Embed CC1101 (2024, WS2812 ring)"
endchoice
config WIDGET_INTERVAL_S
int "Seconds per camera in slideshow mode"
range 5 600
default 20
config WIDGET_MAX_JPEG_KB
int "Largest JPEG frame to accept (KB)"
range 64 4096
default 2048
help
Frames bigger than this are skipped. Lives in PSRAM.
config WIDGET_LCD_BRIGHTNESS
int "Backlight brightness (0-100)"
range 0 100
default 80
config WIDGET_LCD_PCLK_MHZ
int "LCD SPI clock (MHz)"
range 10 80
default 40
config WIDGET_LED_BRIGHTNESS
int "LED ring brightness (0-255)"
range 0 255
default 40
config WIDGET_AP_SSID
string "Setup hotspot name"
default "insecam-setup"
config WIDGET_USER_AGENT
string "User-Agent sent to insecam.org"
default "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0 Safari/537.36"
choice WIDGET_LISTING
prompt "Which insecam listing to draw cameras from"
default WIDGET_LISTING_BOTH
config WIDGET_LISTING_BOTH
bool "Random mix of top-rated and newest"
config WIDGET_LISTING_RATING
bool "Top-rated only (/en/byrating/)"
config WIDGET_LISTING_NEW
bool "Newest only (/en/bynew/)"
endchoice
endmenu