AqualinkD/web/config.js

141 lines
4.2 KiB
JavaScript

// Display order of devices. Tiles will be displayed in the order below,
// any devices you don't want to see you can comment the ID. (with // e.g. `//"Solar_Heater",` )
// If the device isn't listed below is will NOT be shown.
// For a complete list returned from your particular aqualinkd instance
// use the below URL and look at the ID value for each device.
// http://aqualink.ip.address/?command=devices
var devices = [
"Filter_Pump",
"Spa_Mode",
"Aux_1",
"Aux_2",
"Aux_3",
"Aux_4",
"Aux_5",
"Aux_6",
"Aux_7",
"Aux_B1",
"Aux_B2",
"Aux_B3",
"Aux_B4",
"Aux_B5",
"Aux_B6",
"Aux_B7",
"Aux_B8",
"Pool_Heater",
"Spa_Heater",
"SWG",
//"SWG/Percent",
"SWG/PPM",
//"SWG/Boost",
"Temperature/Air",
"Temperature/Pool",
"Temperature/Spa",
"Pool_Water",
"Spa_Water",
"Freeze_Protect",
"CHEM/pH",
"CHEM/ORP",
"Solar_Heater",
];
// This get's picked up by dynamic_config.js and used as mode 0
var light_program = [
"Voodoo Lounge - Show",
"Blue Sea",
"Royal Blue",
"Afternoon Skies",
"Aqua Green",
"Emerald",
"Cloud White",
"Warm Red",
"Flamingo",
"Vivid Violet",
"Sangria",
"Twilight - Show",
"Tranquility - Show",
"Gemstone - Show",
"USA - Show",
"Mardi Gras - Show",
"Cool Cabaret - Show"
];
// all SWG return a status number, some have different meanings. Change the text below to suit, NOT THE NUMBER.
var swgStatus = {
0: "On",
1: "No flow",
2: "Low salt",
4: "High salt",
8: "Clean cell",
9: "Turning off",
16: "High current",
32: "Low volts",
64: "Low temp",
128: "Check PCB",
253: "General Fault",
254: "Unknown",
255: "Off"
}
/*
* BELOW IS NOT RELIVENT FOR simple.html or simple inteface
*
*/
// Background image, delete or leave blank for solid color
//var background_url = "http://192.168.144.224/snap.jpeg";
var background_url='hk/background.jpg';
//var background_url='';
// Reload background image every X seconds.(useful if camera snapshot)
// 0 means only load once when page loads.
//var background_reload = 10;
// By default all Variable Speed Pumps will show RPM.
// this will show GPM on VSP's that you can only set GPM (ie Jandy VF pumps)
//var show_vsp_gpm=false;
// By default all Temperatures & Value tiles are off.
// this will turn them on
var turn_on_sensortiles = true;
// This will turn on/off the Spa Heater when you turn on/off Spa Mode.
//var link_spa_and_spa_heater = true;
// Change the min max for heater slider
var heater_slider_min = 36;
var heater_slider_max = 104;
// Change the slider for timers
var timer_slider_min = 0;
//var timer_slider_max = 360;
//var timer_slider_step = 10;
var timer_slider_max = 120;
var timer_slider_step = 1;
// Colors
var body_background = "#EBEBEA";
var body_text = "#000000";
var options_pane_background = "#F5F5F5";
var options_pane_bordercolor = "#7C7C7C";
var options_slider_highlight = "#2196F3";
var options_slider_lowlight = "#D3D3D3";
var head_background = "#2B6A8F";
var head_text = "#FFFFFF)";
var error_background = "#8F2B2B";
var tile_background = "#DCDCDC";
var tile_text = "#6E6E6E";
var tile_on_background = "#FFFFFF";
var tile_on_text = "#000000";
var tile_status_text = "#575757";
// Dark colors
// var body_background = "#000000";
// var tile_background = "#646464";
// var tile_text = "#B9B9B9";
// var tile_status_text = "#B2B2B2";
// var head_background = "#000D53";
// REMOVE THIS.
//document.writeln("<script type='text/javascript' src='extra/extra.js'></script>");