Web Variables
Web variables 'web vars' are special expressions, that are provided by the template engine and can be used to render a variety of information about the system state with the Templates feature.
How to use this document
The main content (reference of available web vars) is organized into multiple lists by their respective table structure. At the end, there is a list of Simple Web vars, that dont belong to a table structure.
Simple variables and table items have a data type.
Refer to the table of contents for more information.
After the web variables reference, you will find glossaries of used flags and used data formats/types.
info
A machine readable reference of all available web variables in the form of a .json file (e.g. for use by LLMs) is available here.
Web Variables Reference
Table of Contents
| Table | Description |
|---|---|
webvars | Simple web variables |
changetab | Table of changes that are stored in the database in flash. |
filetab | The filetab table contains the installed content files. |
fwtab | The fwtab table contains information about the two firmware buffers. |
histotab | The histotab table contains the results of the most recently queried history. The table is generated dynamically from the parameters of the query. |
inputtab | Table of inputs |
logtab | The logtab table contains the 8 most recent syslog notifications. |
netiftab | The netiftab table contains information about the two network interfaces. |
outputtab | Table of outputs |
pushtab | Table of destinations for HTTP Push |
sensortab | The sensortab table contains information on up to 16 sensors. |
watchtab | Table of Watchdogs |
webvars
| Variable | Description | Flags | Format |
|---|---|---|---|
| abnormal_conditions | Number of sensor alarms and triggered watchdogs | PUBLIC, RONLY | uint32 |
| admin_name | Name of admin user | char[] | |
| admin_pwd | Variable for changing the password | RONLY | char[] |
| admin_pwd2 | Variable for changing the password for comparison with admin_pwd | RONLY | char[] |
| anon_read | Should reading be possible without login | bool | |
| api_key | API key for HTTP requests, like Box2Box | RONLY | char[] |
| ca_cert_status | Has a CA certificate been uploaded | RONLY | bool |
| changes_start | Time stamp of oldest recorded entry in changetab | PUBLIC, RONLY | ts |
| changetab_count | Number of stored changes. Can be lower than loop.length, if entries at start have been deleted. | PUBLIC, RONLY | uint32 |
| changetab_max | Index of newest change | PUBLIC, RONLY | uint32 |
| changetab_min | Index of oldest change | PUBLIC, RONLY | uint32 |
| cmnty_read | SNMP Community for read-only access | char[15] | |
| cmnty_trap | SNMP Community for traps | char[15] | |
| cmnty_write | SNMP Community for write access | char[15] | |
| config_usage | The configuration's current size in percent | RONLY | char[] |
| csrf_token | Random text, which is generated once per session and must be included in many POST requests, to prevent CSRF attacks | PUBLIC, RONLY | char[] |
| db_usage | Current database usage in percent | PUBLIC, RONLY | int32 |
| db_usage_changes | Current database usage for changes in percent | PUBLIC, RONLY | int32 |
| db_usage_history | Current database usage for sensor data in percent | PUBLIC, RONLY | int32 |
| db_usage_syslog | Current database usage for syslog messages in percent | PUBLIC, RONLY | int32 |
| db_usage_unknown | Current database usage for unknown data in percent | PUBLIC, RONLY | int32 |
| db_usage_unknown_blocks | Current database usage for unknown data in blocks | PUBLIC, RONLY | int32 |
| dev_type | Type of device, e.g. "310" | PUBLIC, RONLY | char[] |
| fs_has_space | New files can be uploaded in filesystem | RONLY | bool |
| fw_dev | RONLY | ||
| fw_manufacturer | Producer of the active firmware | PUBLIC, RONLY | char[] |
| fw_name | Name of the active firmware | PUBLIC, RONLY | char[] |
| fw_version | Version of the active firmware | PUBLIC, RONLY | char[] |
| gmt_offset | Difference between local time and UTC in seconds, including summer time, if active | PUBLIC, RONLY | int32 |
| gmt_offset_dst | Difference between local time and UTC in seconds, if summer time is active | PUBLIC, RONLY | int32 |
| gmt_offset_normal | Difference between local time and UTC in seconds, if normal time is active | PUBLIC, RONLY | int32 |
| has_password | Has admin user password | PUBLIC, RONLY | bool |
| has_simulated_network_inputs | NEEDS_REBOOT | ||
| has_simulated_sensors | |||
| histo_rate | Logging rate in seconds (only full minutes) | PUBLIC | uint32 |
| histo_rate_m | Logging rate in minutes | PUBLIC | uint32 |
| histo_start | Time stamp of the oldest recorded data | PUBLIC, RONLY | ts |
| histotab_count | Number of stored sensor data. Can be lower than loop.length, if entries at start have been deleted. | PUBLIC, RONLY | uint32 |
| histotab_max | Index of newest measurement | PUBLIC, RONLY | uint32 |
| histotab_min | Index of oldest measurement | PUBLIC, RONLY | uint32 |
| hostname | Name of the device | PUBLIC | char[15] |
| http_host | Host used for current HTTP request | PUBLIC, RONLY | char[] |
| https_active | Is TLS used for current HTTP request | PUBLIC, RONLY | bool |
| https_redirect | Redirect to HTTPS enabled | PUBLIC, NEEDS_REBOOT | bool |
| hw_fail_str | Error message for detected hardware problems | PUBLIC, RONLY | char[] |
| icons_url | PUBLIC, RONLY | ||
| is_admin | Is current user admin | PUBLIC, RONLY | bool |
| lang | Index of language settings 0: English 1: German | PUBLIC | int32 |
| led_brn | Dimming level of LED in normal state | uint16 | |
| mailtab_addr | Email address of receiver | char[63] | |
| mailtab_ena | Sending of emails enabled | bool | |
| mailtab_tpl | Name of template file for emails | char[] | |
| mb_ena | Modbus activated | check | |
| mb_wrprot | Modbus is read-only | check | |
| memfree_kb | Free RAM in kilobytes | PUBLIC, RONLY | uint32 |
| memfree_min_kb | Minimal free RAM in kilobytes | PUBLIC, RONLY | uint32 |
| memusage | Current usage of RAM in percent | PUBLIC, RONLY | char[] |
| memusage_max | Maximum usage of RAM in percent | PUBLIC, RONLY | char[] |
| menu_content | PUBLIC, RONLY | ||
| mqtt_broker | Hostname or IP address of the MQTT broker | char[63] | |
| mqtt_client_id | Client ID, that is sent to the broker | char[23] | |
| mqtt_ena | MQTT activated | check | |
| mqtt_interval | Update rate in minutes for sensor data | uint32 | |
| mqtt_keep_alive | Keep alive value, which is sent during connecting to MQTT. The value specifies the maximum time allowed between messages from device to broker. Pings are used, so the device sends enough messages to fulfill this. | uint16 | |
| mqtt_last_will_connect_message | Message that will be sent at connection for mqtt_last_will_topic | char[] | |
| mqtt_last_will_message | Last will message. See mqtt_last_will_topic | char[] | |
| mqtt_last_will_topic | Last will topic. If mqtt_last_will_message and mqtt_last_will_topic are set, then both are sent to the broker while connecting. The broker will send the message, when the device is not connected any more. | char[] | |
| mqtt_password | Password for MQTT | char[31] | |
| mqtt_port | Port of the MQTT broker | uint16 | |
| mqtt_retain_inputs | Set retain flag for messages for inputs | bool | |
| mqtt_retain_last_will | Set retain flag for last will | bool | |
| mqtt_retain_outputs | Set retain flag for messages for outputs | bool | |
| mqtt_retain_sensors | Set retain flag for messages for sensors | bool | |
| mqtt_retain_watchdogs | Set retain flag for messages for watchdogs | bool | |
| mqtt_send_reboot | Send messages with current state after reboot | bool | |
| mqtt_status | State of MQTT connection | RONLY | int32 |
| mqtt_tls | Use TLS for MQTT connection | bool | |
| mqtt_topic_prefix | Prefix used for MQTT topics | char[] | |
| mqtt_user | User for MQTT | PUBLIC | char[31] |
| netif | Active network interface, "ETH", "WLAN" or "WLAN AP" | RONLY | char[] |
| ntp_ena | Time synchronisation with NTP enabled | bool | |
| ntpd | NTP server's hostname or IP address | char[31] | |
| remotetab_api_key | API key for control of other device using Box2Box | char[] | |
| remotetab_ena | Box2Box enabled | bool | |
| remotetab_flags | Bit flags for Box2Box | uint32 | |
| remotetab_output_count | Number of outputs of other device | uint32 | |
| remotetab_pulse_flags | Bit flags indicating which outputs use a pulse. | uint32 | |
| remotetab_send_reboot | Send notifications after Reboot for current state | bool | |
| remotetab_url | URL used for changes of other device | char[] | |
| reset_req | Reboot required | PUBLIC, RONLY | bool |
| server_cert_status | Has a TLS server certificate been uploaded | RONLY | bool |
| server_key_status | Has a TLS server key been uploaded | RONLY | bool |
| smtptab_hostname | Name of the SMTP server | char[] | |
| smtptab_login | Login name | char[] | |
| smtptab_password | Login password | char[] | |
| smtptab_port | SMTP server port | uint16 | |
| smtptab_sender | Sender address | char[] | |
| snmp_ena | SNMPv1/v2c activated | check | |
| snmpd | SNMP server's hostname or IP address | char[] | |
| syscontact | Responsible person, see SNMP OID 1.3.6.1.2.1.1.4 | PUBLIC | char[63] |
| sysdate | Current date (local) | PUBLIC, RONLY | date |
| sysgmdate | Current date (UTC) | PUBLIC, RONLY | date |
| sysgmtime | Current time (UTC) | PUBLIC, RONLY | time |
| syslocation | Location of the device, see SNMP OID 1.3.6.1.2.1.1.6 | PUBLIC | char[63] |
| systime | Current time (local) | PUBLIC, RONLY | time |
| systimestamp | Time stamp of current local time | PUBLIC, RONLY | ts |
| timerange_end | End timestamp configured with function timerange after normalisation | PUBLIC, RONLY | ts |
| timerange_start | Start timestamp configured with function timerange after normalisation | PUBLIC, RONLY | ts |
| timerange_step | Step value configured with function timerange after normalisation | PUBLIC, RONLY | uint32 |
| timezone | Current timezone in POSIX TZ format | PUBLIC | char[] |
| timezone_input | RONLY | ||
| uptime | Time since boot in days, hours, minutes and seconds | PUBLIC, RONLY | [Dd Hh Mm Ss](#format-dd hh mm ss) |
| uptime_d | Full days since last boot | PUBLIC, RONLY | uint |
| uptime_h | Hours past full days since last boot | PUBLIC, RONLY | uint |
| uptime_m | Minutes past full hours since last boot | PUBLIC, RONLY | uint |
| uptime_s | Seconds past full minute since last boot | PUBLIC, RONLY | uint |
| uri | URI of current HTTP request | PUBLIC, RONLY | char[] |
| uri_path | Path in URI of current HTTP request | PUBLIC, RONLY | char[] |
| user | Current user | RONLY | char[] |
| wlan_ap_ena | WLAN access point enabled | NEEDS_REBOOT | bool |
| wlan_ap_name | Name of WLAN access point (SSID) | NEEDS_REBOOT | char[] |
| wlan_ap_pass | WLAN access point password | NEEDS_REBOOT | char[] |
| wlan_ap_secu | Security of WLAN access point | NEEDS_REBOOT | uint16 |
| wlan_ap_secu_input | RONLY | ||
| wlan_ap_sta_list | List of stations connected to WLAN access point | RONLY | char[] |
| wlan_ena | WLAN enabled | bool | |
| wlan_name | Name of WiFi network (SSID) | PUBLIC | char[32] |
| wlan_pass | Passphrase for Wifi network | char[64] | |
| wlan_secu | Security of WiFi network * 0: Unknown * 1: WEP-OPEN * 2: WEP-PSK * 3: WEP-SHARED * 4: WPA-PSK-TKIP * 5: WPA-PSK-AES * 6: WPA2-PSK-AES * 7: WPA2-PSK-TKIP * 8: WPA2-PSK-MIXED | uint16 | |
| wlan_secu_input | RONLY |
changetab
| Variable | Description | Flags | Format |
|---|---|---|---|
| changetab_date | Date of change (local time) | PUBLIC, RONLY | date |
| changetab_desc | Description of change | PUBLIC, RONLY | char[] |
| changetab_events_json | Events as JSON | PUBLIC, RONLY | char[] |
| changetab_flags | Bit flags * Bit 0: First value after system start * Bit 1: Internal: Values are stored as difference * Bit 2: There is an event * Bit 3: Internal: Previous input states are explicitly stored * Bit 4: Internal: Previous output states are explicitly stored * Bit 5: Internal: Previous watchdog states are explicitly stored * Bit 8: There is a database error (not stored) * Bit 9: The first entry in a time interval is a reboot or database error (only with timerange) * Bit 10: The next entry after a time interval is a reboot or database error (only with timerange) | PUBLIC, RONLY | uint32 |
| changetab_gmdate | Date of change (UTC) | PUBLIC, RONLY | date |
| changetab_gmt_offset | Difference between local time and GMT in seconds, including summer time, if active | PUBLIC, RONLY | int32 |
| changetab_gmtime | Time of change (UTC) | PUBLIC, RONLY | time |
| changetab_id | ID of object for change. For inputs, outputs and watchdogs it is the index. | PUBLIC, RONLY | uint32 |
| changetab_next_inputs | State of inputs after this event | PUBLIC, RONLY | uint32 |
| changetab_next_outputs | State of outputs after this event | PUBLIC, RONLY | uint32 |
| changetab_next_watchdogs | State of watchdogs after this event | PUBLIC, RONLY | uint32 |
| changetab_objectname | Name of object for this change | PUBLIC, RONLY | char[] |
| changetab_prev_inputs | State of inputs before this event | PUBLIC, RONLY | uint32 |
| changetab_prev_outputs | State of outputs before this event | PUBLIC, RONLY | uint32 |
| changetab_prev_watchdogs | State of watchdogs before this event | PUBLIC, RONLY | uint32 |
| changetab_time | Time of change (local time) | PUBLIC, RONLY | time |
| changetab_timestamp | Time stamp of change (UTC) | PUBLIC, RONLY | ts |
| changetab_type | Type of change: * 1: Input * 2: Output * 3: Watchdog | PUBLIC, RONLY | uint32 |
| changetab_typedesc | Type of change as Text | PUBLIC, RONLY | char[] |
| changetab_user | Index of the user who made this change, or special values for changes without user | PUBLIC, RONLY | uint32 |
| changetab_username | Name of the user who made this change, or special values for changes without user | PUBLIC, RONLY | char[] |
| changetab_value | New value after change | PUBLIC, RONLY | int32 |
filetab
| Variable | Description | Flags | Format |
|---|---|---|---|
| filetab_date | Date on which the content file was uploaded | RONLY | date |
| filetab_is_default | Is this a default file | RONLY | bool |
| filetab_name | Name of content file | RONLY | char[] |
| filetab_path | Path of content file | RONLY | char[] |
| filetab_size | Size of content file in Bytes | RONLY | uint32 |
| filetab_time | Time of last change to content file | RONLY | time |
fwtab
| Variable | Description | Flags | Format |
|---|---|---|---|
| fwtab_date | Date of creation of firmware | RONLY | date |
| fwtab_name | Name of firmware | RONLY | char[] |
| fwtab_system_version | Version of operating system of firmware | RONLY | char[] |
| fwtab_time | Time of creation of firmware | RONLY | time |
| fwtab_valid | Buffer contains valid firmware image | RONLY | bool |
| fwtab_version | Firmware version | RONLY | char[] |
histotab
| Variable | Description | Flags | Format |
|---|---|---|---|
| histotab_date | Date of measurement (local time) | PUBLIC, RONLY | date |
| histotab_flags | Status of sensor * Bit 0: First value after system start * Bit 1: Internal: Values are stored as difference * Bit 2: Internal: The set of sensors is unchanged * Bit 8: There is a database error (not stored) | PUBLIC, RONLY | uint16 |
| histotab_gmdate | Date of measurement (UTC) | PUBLIC, RONLY | date |
| histotab_gmt_offset | Difference between local time and UTC in seconds, including summer time, if active | PUBLIC, RONLY | int32 |
| histotab_gmtime | Time of measurement (UTC) | PUBLIC, RONLY | time |
| histotab_raw_content | Prints content of database entry directly. Useful for debugging, because e.g. also data for deleted sensors is visible. | PUBLIC, RONLY | char[] |
| histotab_time | Time of measurement (local time) | PUBLIC, RONLY | time |
| histotab_timestamp | Time stamp of measurement (UTC) | PUBLIC, RONLY | ts |
inputtab
| Variable | Description | Flags | Format |
|---|---|---|---|
| inputtab_activity | Number of seconds since last activity for this input or -1 for no activity since start | PUBLIC, RONLY | int32 |
| inputtab_activity_text | Time since last activity for this input or "" for no activity since start | PUBLIC, RONLY | char[] |
| inputtab_flags | Bit flags for notifications | uint32 | |
| inputtab_group | Arbitrary text for grouping | PUBLIC | char[] |
| inputtab_min_change_dur | Minimal duration until an input change is recognized in steps of 0.1s | fixed | |
| inputtab_name | Name of input | PUBLIC | char[] |
| inputtab_name_def | Name with default value if empty | PUBLIC, RONLY | char[] |
| inputtab_notification_html | RONLY | ||
| inputtab_remote0_flags | Bit flags for notifications | uint32 | |
| inputtab_remote0_notification_html | RONLY | ||
| inputtab_value | Current state of input | PUBLIC, RONLY | int32 |
logtab
| Variable | Description | Flags | Format |
|---|---|---|---|
| logtab_date | Date of event | PUBLIC, RONLY | date |
| logtab_msg | Syslog notification | PUBLIC, RONLY | char[] |
| logtab_time | Time of event | PUBLIC, RONLY | time |
| logtab_timestamp | Time stamp of event | PUBLIC, RONLY | ts |
netiftab
| Variable | Description | Flags | Format |
|---|---|---|---|
| include_network_settings | RONLY | ||
| netiftab_cdns_ip | Configured static IP address of primary DNS server | NEEDS_REBOOT | ip4 |
| netiftab_cdns_ip_sec | Configured static IP address of secondary DNS server | NEEDS_REBOOT | ip4 |
| netiftab_cip_addr | Configured static IP address | NEEDS_REBOOT | ip4 |
| netiftab_cip_gate | Configured static IP address of gateway | NEEDS_REBOOT | ip4 |
| netiftab_cip_mask | Configured static subnet mask | NEEDS_REBOOT | ip4 |
| netiftab_dhcp_state | DHCP state | RONLY | char[] |
| netiftab_dns_ip | Current IP address of primary DNS server | RONLY | ip4 |
| netiftab_dns_ip_sec | Current IP address of secondary DNS server | RONLY | ip4 |
| netiftab_dns_manu | Manual DNS IP address activated | NEEDS_REBOOT | bool |
| netiftab_flags | Bit flags for activations Bit 0: Discovery Bit 3: WiFi Bit 4: DHCP Bit 5: MDNS | NEEDS_REBOOT | uint32 |
| netiftab_ip_addr | Current IP address | RONLY | ip4 |
| netiftab_ip_gate | Gateway IP address | RONLY | ip4 |
| netiftab_ip_manu | Manual IP configuration activated | NEEDS_REBOOT | bool |
| netiftab_ip_mask | IP network mask | RONLY | ip4 |
| netiftab_mac | MAC address | PUBLIC, RONLY | char[] |
| netiftab_syslog | Syslog server hostname or IP address | char[] | |
| netiftab_syslog_port | Port number of Syslog server | uint16 | |
| netiftab_type_name | Type of network interface, "WLAN" or "Ethernet" | RONLY | char[] |
| netiftab_up | Is network interface active | RONLY | bool |
outputtab
| Variable | Description | Flags | Format |
|---|---|---|---|
| outputtab_activity | Number of seconds since last activity for this output or -1 for no activity since start | PUBLIC, RONLY | int32 |
| outputtab_activity_text | Time since last activity for this output or "" for no activity since start | PUBLIC, RONLY | char[] |
| outputtab_flags | Bit flags for notifications | uint32 | |
| outputtab_group | Arbitrary text for grouping | PUBLIC | char[] |
| outputtab_mqtt_subscribe | MQTT topic for control of this output | char[] | |
| outputtab_name | Name of output | PUBLIC | char[] |
| outputtab_name_def | Name with default value if empty | PUBLIC, RONLY | char[] |
| outputtab_notification_html | RONLY | ||
| outputtab_pulse | Pulse length in seconds or 0, if no pulse should be used | fixed | |
| outputtab_remote0_flags | Bit flags for notifications | uint32 | |
| outputtab_remote0_notification_html | RONLY | ||
| outputtab_value | Current state of output | PUBLIC, RONLY | int32 |
pushtab
| Variable | Description | Flags | Format |
|---|---|---|---|
| pushtab_ena | HTTP Push enabled | bool | |
| pushtab_rate | Update rate of HTTP Push in minutes | uint16 | |
| pushtab_tpl | Name of template file for HTTP Push service | char[] | |
| pushtab_url | URL for HTTP Push service | char[] | |
| pushtab_var1 | First variable for HTTP Push service | char[] | |
| pushtab_var2 | Second variable for HTTP Push service | char[] |
sensortab
| Variable | Description | Flags | Format |
|---|---|---|---|
| sensortab_activity | Number of seconds since last activity for this sensor or -1 for no activity since start | PUBLIC, RONLY | int32 |
| sensortab_activity_text | Time since last activity for this sensor or "" for no activity since start | PUBLIC, RONLY | char[] |
| sensortab_control_register | |||
| sensortab_cunit | Custom unit as text | PUBLIC | char[] |
| sensortab_firmware_info | RONLY | ||
| sensortab_firmware_info_updater | RONLY | ||
| sensortab_flags | Bit flags for notifications | uint32 | |
| sensortab_found_hardware | Sensor found with search | PUBLIC, RONLY | bool |
| sensortab_gain | Factor by which the measured sensor values are multiplied | PUBLIC | fixed |
| sensortab_group | Arbitrary text for grouping | PUBLIC | char[] |
| sensortab_hist_avg | Average value for this sensor in histotab entry | PUBLIC, RONLY | fixed |
| sensortab_hist_flags | Flags for this Sensor in histotab entry Same as sensortab_status with the addition of: * Bit 12: First entry for this sensor | PUBLIC, RONLY | uint32 |
| sensortab_hist_hi | Maximal value for this sensor in histotab entry | PUBLIC, RONLY | fixed |
| sensortab_hist_lo | Minimal value for this sensor in histotab entry | PUBLIC, RONLY | fixed |
| sensortab_hyst | Hysteresis for sensor alerts | PUBLIC | fixed |
| sensortab_iunit | Unit of sensor as number | PUBLIC | uint32 |
| sensortab_last_error | Last error code for sensor as hex string | PUBLIC, RONLY | char[] |
| sensortab_lim_hi | Sensor's upper alert threshold | PUBLIC | fixed |
| sensortab_lim_lo | Sensor's lower alert threshold | PUBLIC | fixed |
| sensortab_name | Name of sensor | PUBLIC | char[] |
| sensortab_name_def | Name with default value if empty | PUBLIC, RONLY | char[] |
| sensortab_notification_html | RONLY | ||
| sensortab_offset | Offset that is added to the measured sensor values | PUBLIC | fixed |
| sensortab_remote0_flags | Bit flags for notifications | uint32 | |
| sensortab_remote0_notification_html | RONLY | ||
| sensortab_serial | Serial number of sensor For 1-Wire the serial number has an additional index to distinguish multiple sensors of the same 1-Wire device | PUBLIC, RONLY | char[] |
| sensortab_serial_onewire | 1-Wire serial number of sensor | PUBLIC | char[] |
| sensortab_status | Current sensor status * Bit 0: Lower limit alarm * Bit 1: Upper limit alarm * Bit 2: Falling limit alarm * Bit 3: Rising limit alarm * Bit 7: Sensor error | PUBLIC, RONLY | uint8 |
| sensortab_status_text | sensortab_status as text | PUBLIC, RONLY | char[] |
| sensortab_unit | Unit of value as text with HTML entities. Always %RH for humidity and °C, °F or K for temperatures, depending on sensortab_iunit. | PUBLIC, RONLY | char[] |
| sensortab_unit_fract | Exponent of decimal fraction for display, also equals the number of decimal points | PUBLIC | int32 |
| sensortab_unit_input | RONLY | ||
| sensortab_updater_active | PUBLIC | ||
| sensortab_value | Current value measured by sensor | PUBLIC, RONLY | fixed |
watchtab
| Variable | Description | Flags | Format |
|---|---|---|---|
| watchtab_activity | Number of seconds since last activity for this watchdog or -1 for no activity since start | PUBLIC, RONLY | int32 |
| watchtab_activity_text | Time since last activity for this watchdog or "" for no activity since start | PUBLIC, RONLY | char[] |
| watchtab_flags | Bit flags for notifications | uint32 | |
| watchtab_group | Arbitrary text for grouping | PUBLIC | char[] |
| watchtab_name | Name of Watchdog | PUBLIC | char[] |
| watchtab_name_def | Name with default value if empty | PUBLIC, RONLY | char[] |
| watchtab_notification_html | RONLY | ||
| watchtab_rate | For passive watchdogs: Maximum duration, until the device has to report, before the watchdog triggers For active watchdogs: Duration, until it is checked again, if device is reachable | uint32 | |
| watchtab_remote0_flags | Bit flags for notifications | uint32 | |
| watchtab_remote0_notification_html | RONLY | ||
| watchtab_state | State of the watchdog: * -1: Unknown (After reboot or change of type) * 0: Good * 1: Triggered | PUBLIC, RONLY | int32 |
| watchtab_target | For Ping-Out-Watchdog: IP/Hostname of device For HTTP-Out-Watchdogs: IP/Hostname of device For HTTP-In-Watchdogs: Name used in URL | char[] | |
| watchtab_time_left | Duration until watchdog will be checked again or device has to report | PUBLIC, RONLY | uint32 |
| watchtab_type | Type of Watchdog: * 1: Outgoing Ping * 2: Incoming Ping * 3: Outgoing HTTP request * 4: Incoming HTTP request | PUBLIC | uint32 |
| watchtab_type_input | RONLY |
Flag Reference
| Flag | Meaning |
|---|---|
HTTP_PUSH_CHANGED | HTTP Push Changed |
MODBUS_CHANGED | Modbus Changed |
MQTT_NEED_RECONNECT | MQTT Needs Reconnect |
NEEDS_REBOOT | Needs Reboot |
NTP_CHANGED | NTP Changed |
PUBLIC | Public |
RONLY | Read only |
SENSOR_SETTINGS_CHANGED | Sensor Settings Changed |
SNMP_SETTINGS_CHANGED | SNMP Settings Changed |
SYSLOG_CHANGED | Syslog Changed |
WATCHDOG_CHANGED | Watchdog Changed |
WLAN_CLIENT_CHANGED | WLAN Client Changed |
Format Reference
| Format | Meaning |
|---|---|
Dd Hh Mm Ss | |
bool | |
char[] | |
check | |
date | |
fixed | |
int | |
int32 | |
ip4 | |
time | |
ts | |
uin32 | |
uint | |
uint16 | |
uint32 | |
uint8 |