12 063
правки
(Новая страница: «==== Device description ====») |
(Новая страница: «{| class="wikitable" |- ! Parameter name !! Type !! Description !! Required !! Default |- | '''name ''' || string || device name || No || SNMP [address]_[com…») |
||
Строка 74: | Строка 74: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! | ! Parameter name !! Type !! Description !! Required !! Default | ||
|- | |- | ||
| '''name ''' || string || | | '''name ''' || string || device name || No || SNMP [address]_[community] | ||
|- | |- | ||
| '''id''' || string || ID | | '''id''' || string || device ID in MQTT || No || snmp_[address]_[community] | ||
|- | |- | ||
| '''address''' || string || | | '''address''' || string || Network address of the device || style="background: #22EE44;" | Yes || - | ||
|- | |- | ||
| '''device_type''' || string || | | '''device_type''' || string || Type of device (required for downloading the template) || No || - | ||
|- | |- | ||
| '''enabled''' || bool || | | '''enabled''' || bool || do you want to include the device in the poll? || No || true | ||
|- | |- | ||
| '''community''' || string || | | '''community''' || string || community name SNMP || style="background: #22EE44;" | Yes || - | ||
|- | |- | ||
| '''oid_prefix''' || string || | | '''oid_prefix''' || string || Prefix (MIB name) for text OID channels where the prefix is explicitly specified || No || - | ||
|- | |- | ||
| '''snmp_version''' || string || | | '''snmp_version''' || string || SNMP version (currently only 2C is supported ) || No|| 2c | ||
|- | |- | ||
| '''snmp_timeout''' || integer || | | '''snmp_timeout''' || integer || response timeout (in seconds) || No || 5 | ||
|- | |- | ||
| '''poll_interval''' || integer || | | '''poll_interval''' || integer || Minimum polling time for each channel by default || No || - | ||
|- | |- | ||
| '''channels''' || array || | | '''channels''' || array || channels description (SNMP variables) || No || - | ||
|- | |- | ||
|} | |} |
правки