src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/Kconfig.projbuild
blob: d5f429d7090fcb1d7d7ee33beb5795976b12c12e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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