12 063
правки
(Новая страница: «==== Channel description ====») |
(Новая страница: «{| class="wikitable" |- ! Parameter name !! Type !! Description !! Required !! Default |- | '''name''' || string || channel name || style="background: #22EE44;"…») |
||
Строка 105: | Строка 105: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! | ! Parameter name !! Type !! Description !! Required !! Default | ||
|- | |- | ||
| '''name''' || string || | | '''name''' || string || channel name || style="background: #22EE44;" | Yes || - | ||
|- | |- | ||
| '''oid''' || string || OID | | '''oid''' || string || OID in numeric or text form || style="background: #22EE44;" | Yes || - | ||
|- | |- | ||
| '''enabled''' || boolean || | | '''enabled''' || boolean || Include the channel in poll? || No || true | ||
|- | |- | ||
| '''control_type''' || string || | | '''control_type''' || string || data type(according to [https://github.com/contactless/homeui/blob/contactless/conventions.md Conventions]) || No || text | ||
|- | |- | ||
| '''units''' || string || | | '''units''' || string || the string name of the units(for control_type == value) || No || - | ||
|- | |- | ||
| '''scale''' || float || | | '''scale''' || float || Multiplier (for numeric values) || No || 1.0 | ||
|- | |- | ||
| '''poll_interval''' || int || | | '''poll_interval''' || int || the polling interval of the channel (in ms) || No || poll_interval from the description of the device, or 1000 | ||
|- | |- | ||
|} | |} |
правки