Opener
Get all intercom brands.
GET /opener/brand
Returns:
| Type | Description |
|---|---|
list[dict]
|
list[dict]: List of intercom brands with fields: - brandId (int) - brand (str) |
Source code in nukiwebapi/opener.py
8 9 10 11 12 13 14 15 16 17 18 | |
Get a specific intercom brand.
GET /opener/brand/{brandId}
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
brand_id
|
int
|
The brand ID. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
Brand object with fields: - brandId (int) - brand (str) |
Source code in nukiwebapi/opener.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 | |
Get a list of intercom models.
GET /opener/intercom
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
brand_id
|
int
|
Filter for brandId. Required if recently_changed is not set. |
None
|
ignore_verified
|
bool
|
If True, return intercoms ignoring their verified value. |
None
|
recently_changed
|
bool
|
If True, return all intercoms which were recently updated. |
None
|
Returns:
| Type | Description |
|---|---|
list[dict]
|
list[dict]: List of intercom objects with fields: - intercomId (int) - brandId (int) - type (int) - model (str) - verified (int) - conGndBus (str) - conBusAudio (str) - conAudioout (str) - conDoorbellPlus (str) - conDoorbellMinus (str) - conOpendoor (str) - conGndAnalogue (str) - busModeSwitch (int) - busModeSwitchShortCircuitDuration (int) - creationDate (str) - updateDate (str) |
Source code in nukiwebapi/opener.py
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 68 69 70 71 72 73 74 75 76 77 | |
Get a specific intercom model.
GET /opener/intercom/{intercomId}
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
intercom_id
|
int
|
The intercom ID. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
Intercom object with fields: - intercomId (int) - brandId (int) - type (int) - model (str) - verified (int) - conGndBus (str) - conBusAudio (str) - conAudioout (str) - conDoorbellPlus (str) - conDoorbellMinus (str) - conOpendoor (str) - conGndAnalogue (str) - busModeSwitch (int) - busModeSwitchShortCircuitDuration (int) - creationDate (str) - updateDate (str) |
Source code in nukiwebapi/opener.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |