|
|
@@ -2,7 +2,8 @@ var FORM_SETTINGS = [
|
|
|
"admin_username", "admin_password", "ce_pin", "csn_pin", "reset_pin","packet_repeats",
|
|
|
"http_repeat_factor", "auto_restart_period", "discovery_port", "mqtt_server",
|
|
|
"mqtt_topic_pattern", "mqtt_update_topic_pattern", "mqtt_state_topic_pattern",
|
|
|
- "mqtt_username", "mqtt_password", "radio_interface_type", "listen_repeats"
|
|
|
+ "mqtt_username", "mqtt_password", "radio_interface_type", "listen_repeats",
|
|
|
+ "state_flush_interval"
|
|
|
];
|
|
|
|
|
|
var FORM_SETTINGS_HELP = {
|
|
|
@@ -28,7 +29,9 @@ var FORM_SETTINGS_HELP = {
|
|
|
discovery_port : "UDP port to listen for discovery packets on. Defaults to " +
|
|
|
"the same port used by MiLight devices, 48899. Use 0 to disable.",
|
|
|
listen_repeats : "Increasing this increases the amount of time spent listening for " +
|
|
|
- "packets. Set to 0 to disable listening. Default is 3."
|
|
|
+ "packets. Set to 0 to disable listening. Default is 3.",
|
|
|
+ state_flush_interval : "Number of seconds between flushing states from RAM to flash. " +
|
|
|
+ "Set to 0 to disable delay and immediately persist state to flash."
|
|
|
}
|
|
|
|
|
|
var UDP_PROTOCOL_VERSIONS = [ 5, 6 ];
|