src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/Kconfig.projbuild
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2021-03-07 17:33:37 -0600
committerLuke Hoersten <[email protected]>2021-03-07 17:33:37 -0600
commit8a7b9c6a1ce165c349cf06dda56d3a55fb5167b9 (patch)
treee016c8ba5ebeb3282bb77ef0e328263c9a7e3d49 /main/Kconfig.projbuild
Initial commit.
Diffstat (limited to 'main/Kconfig.projbuild')
-rw-r--r--main/Kconfig.projbuild60
1 files changed, 60 insertions, 0 deletions
diff --git a/main/Kconfig.projbuild b/main/Kconfig.projbuild
new file mode 100644
index 0000000..d5f429d
--- /dev/null
+++ b/main/Kconfig.projbuild
@@ -0,0 +1,60 @@
+menu "HomeKit Door Configuration"
+
+ config HOMEKIT_USE_HARDCODED_SETUP_CODE
+ bool "Use hard-coded setup code"
+ default y
+ help
+ HomeKit does not recommend having the setup code programmed in the accessory as is.
+ Instead, it expects setup info (salt-verifier pair) generated for the given setup code.
+ Use this option only for testing purposes. For production, the setup info should be
+ used.
+
+ config HOMEKIT_SETUP_CODE
+ string "HomeKit Setup Code"
+ default "111-22-333"
+ depends on HOMEKIT_USE_HARDCODED_SETUP_CODE
+ help
+ Setup code to be used for HomeKit pairing, if hard-coded setup code is enabled.
+
+ config HOMEKIT_SETUP_ID
+ string "HomeKit Setup Id"
+ default "ES32"
+ depends on HOMEKIT_USE_HARDCODED_SETUP_CODE
+ help
+ Setup id to be used for HomeKit pairing, if hard-coded setup code is enabled.
+
+ config HOMEKIT_DOOR_LOCK_TIMEOUT
+ int "HomeKit Door Millisecond Timeout"
+ default 10000
+ help
+ Milliseconds before locking door
+
+ config HOMEKIT_DOOR_LOCK_GPIO_PIN
+ int "Door lock GPIO pin number"
+ range 0 34
+ default 21
+ help
+ GPIO pin number (IOxx) to control lock relay.
+
+ config HOMEKIT_DOOR_BELL_GPIO_PIN
+ int "Doorbell GPIO pin number"
+ range 0 34
+ default 34
+ help
+ GPIO pin number (IOxx) from which to read doorbell signal.
+
+ config HOMEKIT_DOOR_WIFI_RESET_GPIO_PIN
+ int "Door WIFI reset GPIO pin number"
+ range 0 34
+ default 0
+ help
+ GPIO pin number (IOxx) to reset wifi.
+
+ config HOMEKIT_DOOR_LED_GPIO_PIN
+ int "LED GPIO pin number"
+ range 0 34
+ default 13
+ help
+ GPIO pin number (IOxx) for LED.
+
+endmenu