src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/Kconfig.projbuild
blob: 5230dcac599750628767deda4b222d23c1bf32e0 (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
61
62
63
64
65
66
67
menu "HomeKit Intercom 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_INTERCOM_LOCK_TIMEOUT
        int "HomeKit Intercom Millisecond Timeout"
        default 10000
        help
            Milliseconds before locking intercom

    config HOMEKIT_INTERCOM_LOCK_GPIO_PIN
        int "Intercom lock GPIO pin number"
        range 0 39
        default 21
        help
             GPIO pin number to control lock relay.

    config HOMEKIT_INTERCOM_BELL_GPIO_PIN
        int "Intercom bell GPIO pin number"
        range 0 39
        default 33
        help
             GPIO pin number from which to read intercom bell signal.

    config HOMEKIT_INTERCOM_BELL_ADC1_CHANNEL
        int "Intercom bell ADC1 channel number"
        range 0 7
        default 5
        help
            ADC1 channel number from which to read intercom bell signal.

    config HOMEKIT_INTERCOM_WIFI_RESET_GPIO_PIN
        int "Intercom WIFI reset GPIO pin number"
        range 0 39
        default 0
        help
             GPIO pin number to reset wifi.

    config HOMEKIT_INTERCOM_LED_GPIO_PIN
        int "LED GPIO pin number"
        range 0 39
        default 13
        help
             GPIO pin number for LED.

endmenu