config
This domain contains variables related to the screen configuration.
{
"lng": 0,
"cfg_name": "",
"timeformat": 0,
"dateformat": 0,
"password": "",
"wifi_mode": 0,
"wifi_ssid": "",
"wifi_key": "",
"dhcp": 1,
"ipaddr": "",
"netmask": "",
"gateway": "",
"dns": "",
"url_prefix": "",
"url_suffix": "",
"post_suffix": "",
"start_req": [
"",
0,
"",
""
],
"reconnect_req": [
"",
0,
"",
""
],
"image_cache_last": ""
}
lng
Language for the screen interface.
- Type:
Integer - Attribute:
Read/Write/Save - Value:
0 : French1 : English2 : Spanish3 : Italian4 : Portuguese5 : German6 : Dutch
cfg_name
Name of configuration.
- Type:
String - Attribute:
Read/Write/Save
timeformat
Time display format.
- Type:
Integer - Attribute:
Read/Write/Save - Value:
0 : 24h1 : 12h
dateformat
Date display format.
- Type:
Integer - Attribute:
Read/Write/Save - Value:
0 : DD/MM/YYYY1 : MM/DD/YYYY
password
Password for access to the api folder.
- Type:
String - Attribute:
Read/Write/Save - Note: If the string is empty the password is not required.
wifi_mode
WiFi working mode.
- Type:
Integer - Attribute:
Read/Write/Save - Value:
0 : Disable1 : Connection2 : AP
wifi_ssid
WiFi network SSID.
- Type:
String - Attribute:
Read/Write/Save
wifi_key
Key of WiFi network.
- Type:
String - Attribute:
Read/Write/Save
dhcp
IP addressing mode.
- Type:
Integer - Attribute:
Read/Write/Save - Value:
0 : IP by DHCP1 : Static IP
ipaddr
IP address for static IP.
- Type:
String - Attribute:
Read/Write/Save - Format:
IPv4
netmask
Subnet mask for static IP.
- Type:
String - Attribute:
Read/Write/Save - Format:
IPv4
gateway
Gateway for static IP.
- Type:
String - Attribute:
Read/Write/Save - Format:
IPv4
dns
DNS server address.
- Type:
String - Attribute:
Read/Write/Save - Format:
IPv4
url_prefix
Text add before url for all http request.
- Type:
String - Attribute:
Read/Write/Save
url_suffix
Text add after url for all http request.
- Type:
String - Attribute:
Read/Write/Save
post_suffix
Text add after post string for all http request.
- Type:
String - Attribute:
Read/Write/Save
start_req
Request executed on startup (when connected).
- Type:
request-array - Attribute:
Read/Write/Save
reconnect_req
Request executed on reconnection.
- Type:
request-array - Attribute:
Read/Write/Save