INITIAL DASHBOARD JSON Configuration
{
"version": 1,
"allow_edit": true,
"plugins": [],
"panes": [
{
"width": 1,
"row": {
"4": 1,
"5": 1,
"6": 1,
"7": 1,
"8": 1
},
"col": {
"4": 1,
"5": 1,
"6": 1,
"7": 1,
"8": 1
},
"col_width": "6",
"widgets": [
{
"type": "text_widget",
"settings": {
"size": "regular",
"value": "CE-HOME DASHBOARD",
"animate": true
}
}
]
},
{
"title": "AMBIENT PRESSURES",
"width": 1,
"row": {
"3": 1,
"4": 5,
"5": 5,
"6": 5,
"7": 5,
"8": 5,
"11": 5,
"12": 5
},
"col": {
"3": 2,
"4": 1,
"5": 2,
"6": 2,
"7": 2,
"8": 3,
"11": 2,
"12": 2
},
"col_width": 1,
"widgets": [
{
"type": "dyngauge",
"settings": {
"title": "Ambient Pressure MSL",
"value": "Math.round(datasources[\"Amb_Values\"][\"bmp_amb_values\"][\"bmp_pres\"] + 14.5)",
"units": "hPa",
"min_value": "850",
"max_value": "1050",
"level_colors": "return ['#f45b5b', '#f9c802', '#a9d70b', '#55BF3B']"
}
},
{
"type": "dyngauge",
"settings": {
"title": "Ambient Pressure ABS",
"value": "datasources[\"Amb_Values\"][\"bmp_amb_values\"][\"bmp_pres\"]",
"units": "hPa",
"min_value": "820",
"max_value": "1040",
"level_colors": "return ['#f45b5b', '#f9c802', '#a9d70b', '#55BF3B']"
}
}
]
},
{
"title": "OUTSIDE PRESSURES",
"width": 1,
"row": {
"3": 1,
"4": 5,
"5": 5,
"6": 5,
"7": 5,
"8": 5,
"11": 5,
"12": 5
},
"col": {
"3": 3,
"4": 2,
"5": 3,
"6": 3,
"7": 3,
"8": 4,
"11": 3,
"12": 3
},
"col_width": 1,
"widgets": [
{
"type": "dyngauge",
"settings": {
"title": "Outside Pressure MSL (OWM)",
"value": "datasources[\"OWM_Milano\"][\"pressure\"]",
"units": "hPa",
"min_value": "900",
"max_value": "1050",
"level_colors": "return ['#f45b5b', '#f9c802', '#a9d70b', '#55BF3B']"
}
},
{
"type": "dyngauge",
"settings": {
"title": "Outside Pressure SL (OWM)",
"value": "datasources[\"OWM_Lavagna\"][\"pressure\"]",
"units": "hPa",
"min_value": "900",
"max_value": "1050",
"level_colors": "return ['#f45b5b', '#f9c802', '#a9d70b', '#55BF3B']"
}
}
]
},
{
"title": "TEMPERATURES",
"width": 1,
"row": {
"3": 15,
"4": 5,
"5": 5,
"6": 5,
"7": 5,
"8": 5,
"11": 5,
"12": 5
},
"col": {
"3": 3,
"4": 3,
"5": 1,
"6": 1,
"7": 1,
"8": 6,
"11": 1,
"12": 1
},
"col_width": "1",
"widgets": [
{
"type": "dyngauge",
"settings": {
"title": "Inside Temperature",
"value": "datasources[\"Amb_Values\"][\"bmp_amb_values\"][\"bmp_temp\"]",
"units": "ºC",
"min_value": "10",
"max_value": "40",
"level_colors": "return ['#ff3300', '#ff3300', '#ccff33', '#ff3300', '#ff3300']"
}
},
{
"type": "dyngauge",
"settings": {
"title": "Outside Temp (OWM)",
"value": "datasources[\"OWM_Milano\"][\"current_temp\"]",
"units": "ºC",
"min_value": "-10",
"max_value": "+45",
"level_colors": "return ['#ff3300', '#ff3300', '#ff3300', '#ccff33', '#ff3300', '#ff3300']"
}
}
]
},
{
"title": "CHRONY Time Server",
"width": 1,
"row": {
"3": 37,
"4": 5,
"5": 5,
"6": 5,
"7": 5,
"8": 5,
"11": 5,
"12": 5
},
"col": {
"3": 3,
"4": 4,
"5": 4,
"6": 4,
"7": 4,
"8": 5,
"11": 4,
"12": 4
},
"col_width": "1",
"widgets": [
{
"type": "gauge",
"settings": {
"title": "Precision",
"value": "return (Math.round (datasources[\"Chronystat\"][\"chronystat\"][\"chrony_data\"][\"precision\"] * 1000000 ))",
"units": "usec.",
"min_value": 0,
"max_value": "500"
}
},
{
"type": "dyngauge",
"settings": {
"title": "OFFSET",
"value": "return ( Math.round((datasources[\"Chronystat\"][\"chronystat\"][\"chrony_data\"][\"offset\"] * 1000000 )*1000) / 1000 )",
"units": "usec.",
"min_value": "-30",
"max_value": "30",
"level_colors": "return ['#f45b5b', '#ccff33', '#f45b5b']"
}
}
]
},
{
"title": "POWER Monitor",
"width": 1,
"row": {
"3": 1,
"4": 19,
"5": 15,
"6": 5,
"7": 5,
"8": 5,
"11": 1,
"12": 1
},
"col": {
"3": 1,
"4": 1,
"5": 5,
"6": 5,
"7": 5,
"8": 1,
"11": 6,
"12": 6
},
"col_width": "1",
"widgets": [
{
"type": "dyngauge",
"settings": {
"title": "Voltage",
"value": "datasources[\"SDM_Energy\"][\"Measures\"][\"Voltage\"]",
"units": "Volts",
"min_value": "190",
"max_value": "250",
"level_colors": "return ['#ff3300', '#ff3300', '#ccff33', '#ff3300', '#ff3300']"
}
},
{
"type": "gauge",
"settings": {
"title": "Current",
"value": "datasources[\"SDM_Energy\"][\"Measures\"][\"Current\"]",
"units": "Amperes",
"min_value": 0,
"max_value": "20"
}
},
{
"type": "gauge",
"settings": {
"title": "Power",
"value": "datasources[\"SDM_Energy\"][\"Measures\"][\"Power\"] * -1",
"units": "Watts",
"min_value": "0",
"max_value": "4000"
}
},
{
"type": "dyngauge",
"settings": {
"title": "Frequency",
"value": "datasources[\"SDM_Energy\"][\"Measures\"][\"Frequency\"]",
"units": "HZ",
"min_value": "45",
"max_value": "55",
"level_colors": "return ['#ff3300', '#ff3300', '#ccff33', '#ff3300', '#ff3300']"
}
},
{
"type": "dyngauge",
"settings": {
"title": "Power Factor",
"value": "datasources[\"SDM_Energy\"][\"Measures\"][\"Pwr_Factor\"] * -1",
"min_value": "-1",
"max_value": "1",
"level_colors": "return ['#f45b5b', '#f9c802', '#a9d70b', '#55BF3B']"
}
}
]
},
{
"title": "CAL-CLOCK",
"width": 1,
"row": {
"3": 15,
"4": 19,
"5": 37,
"6": 13,
"7": 13,
"8": 13,
"11": 13,
"12": 13
},
"col": {
"3": 2,
"4": 3,
"5": 1,
"6": 6,
"7": 6,
"8": 2,
"11": 6,
"12": 6
},
"col_width": 1,
"widgets": [
{
"type": "text_widget",
"settings": {
"title": "DATE",
"size": "regular",
"value": "datasources[\"Chronystat\"][\"chronystat\"][\"date_time\"][\"date_numeric\"]",
"animate": true
}
},
{
"type": "text_widget",
"settings": {
"title": "TIME",
"size": "regular",
"value": "datasources[\"Chronystat\"][\"chronystat\"][\"date_time\"][\"time\"]",
"animate": true
}
}
]
},
{
"title": "ENERGY Monitor",
"width": 1,
"row": {
"3": 23,
"4": 21,
"5": 19,
"6": 5,
"7": 5,
"8": 5,
"11": 5,
"12": 5
},
"col": {
"3": 2,
"4": 2,
"5": 4,
"6": 6,
"7": 6,
"8": 2,
"11": 6,
"12": 6
},
"col_width": 1,
"widgets": [
{
"type": "text_widget",
"settings": {
"title": "ACTIVE ENERGY",
"size": "regular",
"value": "datasources[\"SDM_Energy\"][\"Measures\"][\"Tot_Act_Energy\"] / 1000",
"sparkline": true,
"animate": true,
"units": "kWh"
}
},
{
"type": "text_widget",
"settings": {
"title": "REACTIVE ENERGY",
"size": "regular",
"value": "datasources[\"SDM_Energy\"][\"Measures\"][\"Tot_React_Energy\"] / 1000",
"animate": true,
"units": "kVARh"
}
}
]
},
{
"title": "CHARTING",
"width": 1,
"row": {
"3": 51,
"4": 19,
"5": 5,
"6": 19,
"7": 27,
"8": 19,
"9": 33,
"11": 33,
"12": 33,
"14": 33
},
"col": {
"3": 1,
"4": 4,
"5": 5,
"6": 4,
"7": 4,
"8": 3,
"9": 3,
"11": 3,
"12": 3,
"14": 3
},
"col_width": "1",
"widgets": [
{
"type": "sparkline",
"settings": {
"title": "Ambient Pressure in hPa",
"value": [
"datasources[\"Amb_Values\"][\"bmp_amb_values\"][\"bmp_pres\"] - -14.5",
"datasources[\"Amb_Values\"][\"bmp_amb_values\"][\"bmp_pres\"]"
],
"include_legend": false,
"legend": "hPa MSL), hPa( ABS)"
}
},
{
"type": "sparkline",
"settings": {
"title": "Ambient Temperature in ºC",
"value": [
"datasources[\"Amb_Values\"][\"bmp_amb_values\"][\"bmp_temp\"]"
]
}
}
]
},
{
"title": "DAYLIGHT",
"width": 1,
"row": {
"3": 1,
"4": 25,
"5": 37,
"6": 19,
"7": 19,
"8": 19,
"11": 19,
"12": 19
},
"col": {
"3": 3,
"4": 3,
"5": 2,
"6": 6,
"7": 6,
"8": 2,
"11": 6,
"12": 6
},
"col_width": 1,
"widgets": [
{
"type": "text_widget",
"settings": {
"title": "SUNRISE",
"size": "regular",
"value": "datasources[\"Solar_Time_INfo\"][\"results\"][\"sunrise\"]",
"animate": true,
"units": "UTC Time"
}
},
{
"type": "text_widget",
"settings": {
"title": "SUNSET",
"size": "regular",
"value": "datasources[\"Solar_Time_INfo\"][\"results\"][\"sunset\"]",
"animate": true,
"units": "UTC Time"
}
},
{
"type": "text_widget",
"settings": {
"title": "DAYLIGHT TIME",
"size": "regular",
"value": "datasources[\"Solar_Time_INfo\"][\"results\"][\"day_length\"]",
"animate": true,
"units": "Hours"
}
}
]
},
{
"title": "SERVER ITX",
"width": 1,
"row": {
"4": 51,
"6": 29,
"7": 19,
"8": 29
},
"col": {
"4": 1,
"6": 4,
"7": 4,
"8": 3
},
"col_width": 1,
"widgets": [
{
"type": "dyngauge",
"settings": {
"title": "Core Temp",
"value": "datasources[\"Srv_Sensors\"][1][\"last_measure\"][\"value\"]",
"min_value": "25",
"max_value": "110",
"level_colors": "return [ '#a9d70b', '#a9d70b', '#55BF3B', '#f9c802', '#f45b5b']"
}
}
]
},
{
"title": "INFO",
"width": 1,
"row": {
"6": 27,
"7": 27,
"8": 1
},
"col": {
"6": 6,
"7": 6,
"8": 7
},
"col_width": 1,
"widgets": [
{
"type": "text_widget",
"settings": {
"title": "My IP Address",
"size": "regular",
"value": "datasources[\"My_IP\"][\"ip\"]",
"animate": true
}
}
]
},
{
"title": "SUN & MOON MAP",
"width": 1,
"row": {
"6": 37,
"7": 37
},
"col": {
"6": 1,
"7": 1
},
"col_width": "2",
"widgets": [
{
"type": "picture",
"settings": {
"src": "var d = new Date();\nvar n = d.toISOString();\nvar ceUrl = \"https://www.timeanddate.com/scripts/sunmap.php?iso=\";\nreturn ceUrl+n;",
"refresh": 1200,
"height": 4
}
}
]
},
{
"title": "ENVIRONMENT",
"width": 1,
"row": {
"6": 19,
"7": 19
},
"col": {
"6": 1,
"7": 1
},
"col_width": "3",
"widgets": [
{
"type": "picture",
"settings": {
"src": "http://172.16.5.31/images/GrpPress.png",
"refresh": 30,
"height": 4
}
},
{
"type": "picture",
"settings": {
"src": "http://172.16.5.31/cgi-bin/rrd_graph_temp?_start_val=end-1d&_width=800&_height=180",
"refresh": 30,
"height": 4
}
}
]
}
],
"datasources": [
{
"name": "OWM_Milano",
"type": "openweathermap",
"settings": {
"api_key": "7b6d187665455d5ac6428cae2fa201d5",
"location": "Milano, it",
"units": "metric",
"refresh": 360,
"name": "OWM_Milano"
}
},
{
"name": "OWM_Lavagna",
"type": "openweathermap",
"settings": {
"api_key": "7b6d187665455d5ac6428cae2fa201d5",
"location": "Lavagna, it",
"units": "metric",
"refresh": 360
}
},
{
"name": "Chronystat",
"type": "JSON",
"settings": {
"url": "http://172.16.5.31/cgi-bin/chronystat_json",
"use_thingproxy": false,
"refresh": 2,
"method": "GET"
}
},
{
"name": "SDM_Energy",
"type": "JSON",
"settings": {
"url": "http://172.16.5.31/cgi-bin/energy_measures",
"use_thingproxy": false,
"refresh": 40,
"method": "GET"
}
},
{
"name": "QUANTUM Random Number",
"type": "JSON",
"settings": {
"url": "https://qrng.anu.edu.au/API/jsonI.php?length=1&type=uint16’",
"use_thingproxy": false,
"refresh": 10,
"method": "GET",
"name": "QUANTUM Random Number"
}
},
{
"name": "Solar_Time_INfo",
"type": "JSON",
"settings": {
"url": "http://api.sunrise-sunset.org/json?lat=45.464030&lng=9.161633",
"use_thingproxy": false,
"refresh": 7200,
"method": "GET"
}
},
{
"name": "My_IP",
"type": "JSON",
"settings": {
"url": "http://ip.jsontest.com/ ",
"use_thingproxy": false,
"refresh": 3600,
"method": "GET"
}
},
{
"name": "Amb_Values",
"type": "JSON",
"settings": {
"url": "http://172.16.5.31/cgi-bin/amb-val-json",
"use_thingproxy": true,
"refresh": 5,
"method": "GET",
"name": "Amb_Values"
}
},
{
"name": "Srv_Sensors",
"type": "JSON",
"settings": {
"url": "http://172.16.5.31:3131/api/1.1/sensors/",
"use_thingproxy": false,
"refresh": 5,
"method": "GET",
"name": "Srv_Sensors"
}
}
],
"columns": 8
}
IFRAME1 JSON CONFIGURATION
{
"version": 1,
"allow_edit": true,
"plugins": [],
"panes": [
{
"title": "AMBIENT PRESSURES",
"width": 1,
"row": {
"3": 1,
"4": 1,
"5": 5,
"6": 5,
"7": 5,
"8": 5,
"11": 5,
"12": 5
},
"col": {
"3": 2,
"4": 2,
"5": 2,
"6": 2,
"7": 2,
"8": 3,
"11": 2,
"12": 2
},
"col_width": 1,
"widgets": [
{
"type": "dyngauge",
"settings": {
"title": "Ambient Pressure MSL",
"value": "Math.round(datasources[\"Amb_Values\"][\"bmp_amb_values\"][\"bmp_pres\"] + 14.5)",
"units": "hPa",
"min_value": "850",
"max_value": "1050",
"level_colors": "return ['#f45b5b', '#f9c802', '#a9d70b', '#55BF3B']"
}
},
{
"type": "dyngauge",
"settings": {
"title": "Ambient Pressure ABS",
"value": "datasources[\"Amb_Values\"][\"bmp_amb_values\"][\"bmp_pres\"]",
"units": "hPa",
"min_value": "820",
"max_value": "1040",
"level_colors": "return ['#f45b5b', '#f9c802', '#a9d70b', '#55BF3B']"
}
}
]
},
{
"title": "OUTSIDE PRESSURES",
"width": 1,
"row": {
"3": 1,
"4": 1,
"5": 5,
"6": 5,
"7": 5,
"8": 5,
"11": 5,
"12": 5
},
"col": {
"3": 3,
"4": 3,
"5": 3,
"6": 3,
"7": 3,
"8": 4,
"11": 3,
"12": 3
},
"col_width": 1,
"widgets": [
{
"type": "dyngauge",
"settings": {
"title": "Outside Pressure MSL (OWM)",
"value": "datasources[\"OWM_Milano\"][\"pressure\"]",
"units": "hPa",
"min_value": "900",
"max_value": "1050",
"level_colors": "return ['#f45b5b', '#f9c802', '#a9d70b', '#55BF3B']"
}
},
{
"type": "dyngauge",
"settings": {
"title": "Outside Pressure SL (OWM)",
"value": "datasources[\"OWM_Lavagna\"][\"pressure\"]",
"units": "hPa",
"min_value": "900",
"max_value": "1050",
"level_colors": "return ['#f45b5b', '#f9c802', '#a9d70b', '#55BF3B']"
}
}
]
},
{
"title": "TEMPERATURES",
"width": 1,
"row": {
"3": 15,
"4": 1,
"5": 5,
"6": 5,
"7": 5,
"8": 5,
"11": 5,
"12": 5
},
"col": {
"3": 3,
"4": -8,
"5": 1,
"6": 1,
"7": 1,
"8": 6,
"11": 1,
"12": 1
},
"col_width": "1",
"widgets": [
{
"type": "dyngauge",
"settings": {
"title": "Inside Temperature",
"value": "datasources[\"Amb_Values\"][\"bmp_amb_values\"][\"bmp_temp\"]",
"units": "ºC",
"min_value": "return [ 10 ]",
"max_value": "return [ 40 ]",
"level_colors": "return ['#ff3300', '#ff3300', '#ccff33', '#ff3300', '#ff3300']"
}
},
{
"type": "dyngauge",
"settings": {
"title": "Outside Temp (OWM)",
"value": "datasources[\"OWM_Milano\"][\"current_temp\"]",
"units": "ºC",
"min_value": "return [ -10 ]",
"max_value": "return [ +45 ]",
"level_colors": "return ['#ff3300', '#ff3300', '#ff3300', '#ccff33', '#ff3300', '#ff3300']"
}
}
]
},
{
"title": "CAL-CLOCK",
"width": 1,
"row": {
"3": 15,
"4": 1,
"5": 37,
"6": 13,
"7": 13,
"8": 13,
"11": 13,
"12": 13
},
"col": {
"3": 2,
"4": 4,
"5": 1,
"6": 6,
"7": 6,
"8": 2,
"11": 6,
"12": 6
},
"col_width": 1,
"widgets": [
{
"type": "text_widget",
"settings": {
"title": "DATE",
"size": "regular",
"value": "datasources[\"Chronystat\"][\"chronystat\"][\"date_time\"][\"date_numeric\"]",
"animate": true
}
},
{
"type": "text_widget",
"settings": {
"title": "TIME",
"size": "regular",
"value": "datasources[\"Chronystat\"][\"chronystat\"][\"date_time\"][\"time\"]",
"animate": true
}
}
]
},
{
"title": "DAYLIGHT",
"width": 1,
"row": {
"3": 1,
"4": 7,
"5": 37,
"6": 19,
"7": 19,
"8": 19,
"11": 19,
"12": 19
},
"col": {
"3": 3,
"4": 4,
"5": 2,
"6": 6,
"7": 6,
"8": 2,
"11": 6,
"12": 6
},
"col_width": 1,
"widgets": [
{
"type": "text_widget",
"settings": {
"title": "SUNRISE",
"size": "regular",
"value": "datasources[\"Solar_Time_INfo\"][\"results\"][\"sunrise\"]",
"animate": true,
"units": "UTC Time"
}
},
{
"type": "text_widget",
"settings": {
"title": "SUNSET",
"size": "regular",
"value": "datasources[\"Solar_Time_INfo\"][\"results\"][\"sunset\"]",
"animate": true,
"units": "UTC Time"
}
},
{
"type": "text_widget",
"settings": {
"title": "DAYLIGHT TIME",
"size": "regular",
"value": "datasources[\"Solar_Time_INfo\"][\"results\"][\"day_length\"]",
"animate": true,
"units": "Hours"
}
}
]
}
],
"datasources": [
{
"name": "OWM_Milano",
"type": "openweathermap",
"settings": {
"api_key": "7b6d187665455d5ac6428cae2fa201d5",
"location": "Milano, it",
"units": "metric",
"refresh": 360,
"name": "OWM_Milano"
}
},
{
"name": "OWM_Lavagna",
"type": "openweathermap",
"settings": {
"api_key": "7b6d187665455d5ac6428cae2fa201d5",
"location": "Lavagna, it",
"units": "metric",
"refresh": 360
}
},
{
"name": "Solar_Time_INfo",
"type": "JSON",
"settings": {
"url": "http://api.sunrise-sunset.org/json?lat=45.464030&lng=9.161633",
"use_thingproxy": false,
"refresh": 7200,
"method": "GET"
}
},
{
"name": "My_IP",
"type": "JSON",
"settings": {
"url": "http://ip.jsontest.com/ ",
"use_thingproxy": false,
"refresh": 3600,
"method": "GET"
}
},
{
"name": "Amb_Values",
"type": "JSON",
"settings": {
"url": "http://172.16.5.31/cgi-bin/amb-val-json",
"use_thingproxy": true,
"refresh": 5,
"method": "GET",
"name": "Amb_Values"
}
},
{
"name": "Chronystat",
"type": "JSON",
"settings": {
"url": "http://172.16.5.31/cgi-bin/chronystat_json",
"use_thingproxy": false,
"refresh": 1,
"method": "GET"
}
}
],
"columns": 8
}
{
"version": 1,
"allow_edit": true,
"plugins": [],
"panes": [
{
"title": "ENERGY Monitor",
"width": 1,
"row": {
"3": 1,
"4": 1,
"5": 19,
"6": 5,
"7": 5,
"8": 5,
"11": 5,
"12": 5
},
"col": {
"3": 3,
"4": 2,
"5": 4,
"6": 6,
"7": 6,
"8": 2,
"11": 6,
"12": 6
},
"col_width": 1,
"widgets": [
{
"type": "text_widget",
"settings": {
"title": "ACTIVE ENERGY",
"size": "regular",
"value": "datasources[\"SDM_Energy\"][\"Measures\"][\"Tot_Act_Energy\"] / 1000",
"sparkline": true,
"animate": true,
"units": "kWh"
}
},
{
"type": "text_widget",
"settings": {
"title": "REACTIVE ENERGY",
"size": "regular",
"value": "datasources[\"SDM_Energy\"][\"Measures\"][\"Tot_React_Energy\"] / 1000",
"animate": true,
"units": "kVARh"
}
}
]
},
{
"title": "CHRONY Time Server",
"width": 1,
"row": {
"3": 1,
"4": 1,
"5": 5,
"6": 5,
"7": 5,
"8": 5,
"11": 5,
"12": 5
},
"col": {
"3": 1,
"4": 1,
"5": 4,
"6": 4,
"7": 4,
"8": 5,
"11": 4,
"12": 4
},
"col_width": "1",
"widgets": [
{
"type": "gauge",
"settings": {
"title": "Precision",
"value": "return (Math.round (datasources[\"Chronystat\"][\"chronystat\"][\"chrony_data\"][\"precision\"] * 1000000 ))",
"units": "usec.",
"min_value": 0,
"max_value": "500"
}
},
{
"type": "dyngauge",
"settings": {
"title": "OFFSET",
"value": "return ( Math.round((datasources[\"Chronystat\"][\"chronystat\"][\"chrony_data\"][\"offset\"] * 1000000 )*1000) / 1000 )",
"units": "usec.",
"min_value": "-30",
"max_value": "30",
"level_colors": "return ['#f45b5b', '#ccff33', '#f45b5b']"
}
}
]
},
{
"title": "POWER MONITOR 2",
"width": 1,
"row": {
"3": 1,
"4": 1
},
"col": {
"3": 2,
"4": 3
},
"col_width": 1,
"widgets": [
{
"type": "gauge",
"settings": {
"title": "Power",
"value": "return ( datasources[\"SDM_Energy\"][\"Measures\"][\"Power\"] * -1 )",
"units": "Watt",
"min_value": 0,
"max_value": "4000"
}
}
]
},
{
"title": "POWER Monitor 1",
"width": 1,
"row": {
"3": 1,
"4": 1,
"5": 15,
"6": 5,
"7": 5,
"8": 5,
"11": 1,
"12": 1
},
"col": {
"3": -8,
"4": 4,
"5": 5,
"6": 5,
"7": 5,
"8": 1,
"11": 6,
"12": 6
},
"col_width": "1",
"widgets": [
{
"type": "dyngauge",
"settings": {
"title": "Voltage",
"value": "datasources[\"SDM_Energy\"][\"Measures\"][\"Voltage\"]",
"units": "Volts",
"min_value": "190",
"max_value": "250",
"level_colors": "return ['#ff3300', '#ff3300', '#ccff33', '#ff3300', '#ff3300']"
}
},
{
"type": "gauge",
"settings": {
"title": "Current",
"value": "datasources[\"SDM_Energy\"][\"Measures\"][\"Current\"]",
"units": "Amperes",
"min_value": 0,
"max_value": "20"
}
},
{
"type": "dyngauge",
"settings": {
"title": "Frequency",
"value": "datasources[\"SDM_Energy\"][\"Measures\"][\"Frequency\"]",
"units": "HZ",
"min_value": "45",
"max_value": "55",
"level_colors": "return ['#ff3300', '#ff3300', '#ccff33', '#ff3300', '#ff3300']"
}
},
{
"type": "dyngauge",
"settings": {
"title": "Power Factor",
"value": "return ( datasources[\"SDM_Energy\"][\"Measures\"][\"Pwr_Factor\"] * -1)",
"units": "cos θ",
"min_value": "return [ -1 ]",
"max_value": "return [ 1 ]",
"level_colors": "return ['#f45b5b', '#f9c802', '#a9d70b', '#55BF3B']"
}
}
]
},
{
"title": "SUN & MOON MAP",
"width": 1,
"row": {
"3": 9,
"4": 9,
"5": 37,
"6": 37,
"7": 37
},
"col": {
"3": 2,
"4": 2,
"5": 1,
"6": 1,
"7": 1
},
"col_width": "2",
"widgets": [
{
"type": "picture",
"settings": {
"src": "var d = new Date();\nvar n = d.toISOString();\nvar ceUrl = \"https://www.timeanddate.com/scripts/sunmap.php?iso=\";\nreturn ceUrl+n;",
"refresh": 1200,
"height": 4
}
}
]
},
{
"title": "INFO",
"width": 1,
"row": {
"3": 15,
"4": 15,
"5": 1,
"6": 27,
"7": 27,
"8": 1
},
"col": {
"3": 1,
"4": 1,
"5": 5,
"6": 6,
"7": 6,
"8": 7
},
"col_width": 1,
"widgets": [
{
"type": "text_widget",
"settings": {
"title": "My IP Address",
"size": "regular",
"value": "datasources[\"My_IP\"][\"ip\"]",
"animate": true
}
}
]
}
],
"datasources": [
{
"name": "Chronystat",
"type": "JSON",
"settings": {
"url": "http://172.16.5.31/cgi-bin/chronystat_json",
"use_thingproxy": false,
"refresh": 2,
"method": "GET"
}
},
{
"name": "SDM_Energy",
"type": "JSON",
"settings": {
"url": "http://172.16.5.31/cgi-bin/energy_measures",
"use_thingproxy": false,
"refresh": 40,
"method": "GET"
}
},
{
"name": "My_IP",
"type": "JSON",
"settings": {
"url": "http://ip.jsontest.com/ ",
"use_thingproxy": false,
"refresh": 3600,
"method": "GET"
}
}
],
"columns": 4
}