mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2024-09-19 22:25:59 -04:00
38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
menu "Example Configuration"
|
|
|
|
config EXAMPLE_BOARD_BUTTON_GPIO
|
|
int "Boot Button GPIO"
|
|
default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6
|
|
default 0
|
|
help
|
|
GPIO number on which the "Boot" button is connected. This is generally used
|
|
by the application for custom operations like toggling states, resetting to defaults, etc.
|
|
|
|
config EXAMPLE_ENABLE_TEST_NOTIFICATIONS
|
|
bool "Test Notifications"
|
|
default n
|
|
help
|
|
Enable this option to test mobile push notifications. When enabled, turning on the switch using
|
|
push button will trigger a parameter notification {"Switch":{"Power":true}} and turning off will
|
|
trigger an alert "Switch was turned off".
|
|
|
|
config EXAMPLE_OUTPUT_GPIO
|
|
int "Output GPIO"
|
|
default 19
|
|
help
|
|
This is an output GPIO that will be connected to a relay or other driver circuit in most cases.
|
|
If the power changes, this GPIO output level will also change.
|
|
|
|
config EXAMPLE_DEVICE_TYPE
|
|
string "IoT Node type"
|
|
default "Lamp"
|
|
help
|
|
This is the type of IoT Node; appears on ESP RainMaker dashboard device detail. Choices: Lamp, Plug
|
|
|
|
config EXAMPLE_DEVICE_NAME
|
|
string "IoT Node name"
|
|
default "ESP RainMaker Table Lamp"
|
|
help
|
|
This is the description of IoT Node; appears on ESP RainMaker dashboard device detail.
|
|
endmenu
|