"query":"SELECT id, units from speed WHERE $timeFilter"
}
]
},
...
...
@@ -23,186 +58,35 @@
"gnetId":null,
"graphTooltip":0,
"hideControls":false,
"id":2,
"id":null,
"links":[],
"refresh":"30s",
"refresh":false,
"rows":[
{
"collapse":false,
"height":224,
"height":335,
"panels":[
{
"aliasColors":{},
"bars":false,
"dashLength":10,
"dashes":false,
"datasource":"influx-local",
"editable":true,
"error":false,
"fill":1,
"grid":{},
"id":2,
"legend":{
"avg":false,
"current":false,
"max":false,
"min":false,
"show":true,
"total":false,
"values":false
},
"lines":true,
"linewidth":1,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":2,
"points":true,
"renderer":"flot",
"seriesOverrides":[],
"spaceLength":10,
"span":4,
"stack":false,
"steppedLine":false,
"targets":[
{
"dsType":"influxdb",
"groupBy":[
{
"params":[
"auto"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT first(\"value\") FROM \"mcx_db\".\"autogen\".\"speed\" WHERE \"id\" = '$lanes' and $timeFilter GROUP BY time($interval) FILL(null)",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
},
{
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT HOLT_WINTERS(FIRST(\"value\"),20,5) FROM \"mcx_db\".\"autogen\".\"speed\" WHERE \"id\" = '$lanes' and $timeFilter GROUP BY time($interval)",
"rawQuery":true,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
}
],
"thresholds":[],
"timeFrom":null,
"timeShift":null,
"title":"Speed and Predicted",
"tooltip":{
"msResolution":true,
"shared":true,
"sort":0,
"value_type":"cumulative"
},
"transparent":false,
"type":"graph",
"xaxis":{
"buckets":null,
"mode":"time",
"name":null,
"show":true,
"values":[]
},
"yaxes":[
{
"format":"short",
"label":null,
"logBase":1,
"max":null,
"min":null,
"show":true
},
{
"format":"short",
"label":null,
"logBase":1,
"max":null,
"min":null,
"show":true
}
]
},
{
"aliasColors":{},
"bars":false,
"dashLength":10,
"dashes":false,
"datasource":"influx-local",
"datasource":"${DS_INFLUX-LOCAL}",
"editable":true,
"error":false,
"fill":1,
"grid":{},
"id":5,
"legend":{
"alignAsTable":false,
"avg":false,
"alignAsTable":true,
"avg":true,
"current":false,
"max":false,
"min":false,
"max":true,
"min":true,
"rightSide":false,
"show":true,
"total":false,
"values":false
"values":true
},
"lines":true,
"linewidth":2,
...
...
@@ -299,10 +183,18 @@
"tags":[]
}
],
"thresholds":[],
"thresholds":[
{
"colorMode":"critical",
"fill":true,
"line":true,
"op":"gt",
"value":10
}
],
"timeFrom":null,
"timeShift":null,
"title":"Speed & Count",
"title":"Vehicels Speed & Count",
"tooltip":{
"msResolution":true,
"shared":true,
...
...
@@ -338,14 +230,12 @@
},
{
"colors":[
"rgba(245, 54, 54, 0.9)",
"#629e51",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
"#bf1b00"
],
"datasource":"influx-local",
"decimals":2,
"editable":true,
"error":false,
"datasource":"${DS_INFLUX-LOCAL}",
"decimals":0,
"fontSizes":[
4,
5,
...
...
@@ -405,38 +295,39 @@
"Times New Roman",
"Verdana"
],
"format":"none",
"format":"short",
"gauge":{
"animateNeedleValueTransition":true,
"animateNeedleValueTransitionSpeed":100,
"edgeWidth":0.05,
"edgeWidth":0,
"gaugeRadius":0,
"gaugeUnits":"",
"innerCol":"#fff",
"innerCol":"rgba(38, 38, 38, 0)",
"labelFontSize":18,
"maxNeedleAngle":320,
"maxTickAngle":300,
"maxValue":100,
"minValue":0,
"needleCol":"#0099CC",
"needleCol":"rgb(255, 255, 255)",
"needleLengthNeg":0.2,
"needleTickGap":0.05,
"needleWidth":5,
"outerEdgeCol":"rgb(33, 124, 164)",
"outerEdgeCol":"rgba(229, 172, 14, 0)",
"padding":0.05,
"pivotCol":"#999",
"pivotCol":"rgb(68, 68, 68)",
"pivotRadius":0.1,
"show":false,
"showLowerThresholdRange":false,
"show":true,
"showLowerThresholdRange":true,
"showMiddleThresholdRange":true,
"showThresholdColorOnBackground":true,
"showThresholdColorOnValue":false,
"showThresholdOnGauge":false,
"showThresholdOnGauge":true,
"showUpperThresholdRange":true,
"tickColMaj":"#0099CC",
"tickColMin":"#000",
"tickColMaj":"#e5ac0e",
"tickColMin":"rgba(0, 0, 0, 0)",
"tickEdgeGap":0.05,
"tickFont":"Open Sans",
"tickLabelCol":"#000",
"tickLabelCol":"rgb(255, 255, 255)",
"tickLengthMaj":0.15,
"tickLengthMin":0.05,
"tickSpaceMajVal":10,
...
...
@@ -445,14 +336,14 @@
"tickWidthMin":1,
"ticknessGaugeBasis":200,
"unitsFont":"Open Sans",
"unitsLabelCol":"#000",
"unitsLabelCol":"rgb(255, 255, 255)",
"unitsLabelFontSize":22,
"valueYOffset":0,
"zeroNeedleAngle":40,
"zeroTickAngle":60
},
"gaugeDivId":"d3gauge_svg_6",
"id":6,
"gaugeDivId":"d3gauge_svg_15",
"id":15,
"links":[],
"mappingType":1,
"mappingTypes":[
...
...
@@ -465,7 +356,7 @@
"value":2
}
],
"operatorName":"avg",
"operatorName":"current",
"operatorNameOptions":[
"min",
"max",
...
...
@@ -489,7 +380,7 @@
"groupBy":[
{
"params":[
"$interval"
"$__interval"
],
"type":"time"
},
...
...
@@ -500,10 +391,10 @@
"type":"fill"
}
],
"measurement":"speed",
"measurement":"/^$lanes$/",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT last(value) FROM speed where \"id\" = '$lanes'",
"query":"SELECT last(value) FROM vehicleCount where \"id\" = '$lanes' and $timeFilter GROUP BY time($interval) ",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
...
...
@@ -524,9 +415,9 @@
"tags":[]
}
],
"thresholds":"",
"thresholds":"40,60",
"tickMaps":[],
"title":"Current Speed",
"title":"Current Vehicle Count",
"type":"briangann-gauge-panel",
"unitFormats":[
{
...
...
@@ -565,6 +456,26 @@
"click":"menuItemSelected(0,6)",
"text":"decibel",
"value":"dB"
},
{
"click":"menuItemSelected(0,7)",
"text":"hexadecimal (0x)",
"value":"hex0x"
},
{
"click":"menuItemSelected(0,8)",
"text":"hexadecimal",
"value":"hex"
},
{
"click":"menuItemSelected(0,9)",
"text":"scientific notation",
"value":"sci"
},
{
"click":"menuItemSelected(0,10)",
"text":"locale format",
"value":"locale"
}
],
"text":"none"
...
...
@@ -590,6 +501,41 @@
"click":"menuItemSelected(1,3)",
"text":"Yen (¥)",
"value":"currencyJPY"
},
{
"click":"menuItemSelected(1,4)",
"text":"Rubles (₽)",
"value":"currencyRUB"
},
{
"click":"menuItemSelected(1,5)",
"text":"Hryvnias (₴)",
"value":"currencyUAH"
},
{
"click":"menuItemSelected(1,6)",
"text":"Real (R$)",
"value":"currencyBRL"
},
{
"click":"menuItemSelected(1,7)",
"text":"Danish Krone (kr)",
"value":"currencyDKK"
},
{
"click":"menuItemSelected(1,8)",
"text":"Icelandic Krone (kr)",
"value":"currencyISK"
},
{
"click":"menuItemSelected(1,9)",
"text":"Norwegian Krone (kr)",
"value":"currencyNOK"
},
{
"click":"menuItemSelected(1,10)",
"text":"Swedish Krone (kr)",
"value":"currencySEK"
}
],
"text":"currency"
...
...
@@ -635,6 +581,16 @@
"click":"menuItemSelected(2,7)",
"text":"days (d)",
"value":"d"
},
{
"click":"menuItemSelected(2,8)",
"text":"duration (ms)",
"value":"dtdurationms"
},
{
"click":"menuItemSelected(2,9)",
"text":"duration (s)",
"value":"dtdurations"
}
],
"text":"time"
...
...
@@ -643,76 +599,126 @@
"submenu":[
{
"click":"menuItemSelected(3,0)",
"text":"YYYY-MM-DD HH:mm:ss",
"value":"dateTimeAsIso"
},
{
"click":"menuItemSelected(3,1)",
"text":"DD/MM/YYYY h:mm:ss a",
"value":"dateTimeAsUS"
},
{
"click":"menuItemSelected(3,2)",
"text":"From Now",
"value":"dateTimeFromNow"
}
],
"text":"date & time"
},
{
"submenu":[
{
"click":"menuItemSelected(4,0)",
"text":"bits",
"value":"bits"
},
{
"click":"menuItemSelected(3,1)",
"click":"menuItemSelected(4,1)",
"text":"bytes",
"value":"bytes"
},
{
"click":"menuItemSelected(3,2)",
"text":"kilobytes",
"click":"menuItemSelected(4,2)",
"text":"kibibytes",
"value":"kbytes"
},
{
"click":"menuItemSelected(3,3)",
"text":"megabytes",
"click":"menuItemSelected(4,3)",
"text":"mebibytes",
"value":"mbytes"
},
{
"click":"menuItemSelected(3,4)",
"text":"gigabytes",
"click":"menuItemSelected(4,4)",
"text":"gibibytes",
"value":"gbytes"
}
],
"text":"data"
"text":"data (IEC)"
},
{
"submenu":[
{
"click":"menuItemSelected(4,0)",
"click":"menuItemSelected(5,0)",
"text":"bits",
"value":"decbits"
},
{
"click":"menuItemSelected(5,1)",
"text":"bytes",
"value":"decbytes"
},
{
"click":"menuItemSelected(5,2)",
"text":"kilobytes",
"value":"deckbytes"
},
{
"click":"menuItemSelected(5,3)",
"text":"megabytes",
"value":"decmbytes"
},
{
"click":"menuItemSelected(5,4)",
"text":"gigabytes",
"value":"decgbytes"
}
],
"text":"data (Metric)"
},
{
"submenu":[
{
"click":"menuItemSelected(6,0)",
"text":"packets/sec",
"value":"pps"
},
{
"click":"menuItemSelected(4,1)",
"click":"menuItemSelected(6,1)",
"text":"bits/sec",
"value":"bps"
},
{
"click":"menuItemSelected(4,2)",
"click":"menuItemSelected(6,2)",
"text":"bytes/sec",
"value":"Bps"
},
{
"click":"menuItemSelected(4,3)",
"click":"menuItemSelected(6,3)",
"text":"kilobits/sec",
"value":"Kbits"
},
{
"click":"menuItemSelected(4,4)",
"click":"menuItemSelected(6,4)",
"text":"kilobytes/sec",
"value":"KBs"
},
{
"click":"menuItemSelected(4,5)",
"click":"menuItemSelected(6,5)",
"text":"megabits/sec",
"value":"Mbits"
},
{
"click":"menuItemSelected(4,6)",
"click":"menuItemSelected(6,6)",
"text":"megabytes/sec",
"value":"MBs"
},
{
"click":"menuItemSelected(4,7)",
"click":"menuItemSelected(6,7)",
"text":"gigabytes/sec",
"value":"GBs"
},
{
"click":"menuItemSelected(4,8)",
"click":"menuItemSelected(6,8)",
"text":"gigabits/sec",
"value":"Gbits"
}
...
...
@@ -722,24 +728,39 @@
{
"submenu":[
{
"click":"menuItemSelected(5,0)",
"click":"menuItemSelected(7,0)",
"text":"ops/sec (ops)",
"value":"ops"
},
{
"click":"menuItemSelected(5,1)",
"click":"menuItemSelected(7,1)",
"text":"reads/sec (rps)",
"value":"rps"
},
{
"click":"menuItemSelected(5,2)",
"click":"menuItemSelected(7,2)",
"text":"writes/sec (wps)",
"value":"wps"
},
{
"click":"menuItemSelected(5,3)",
"click":"menuItemSelected(7,3)",
"text":"I/O ops/sec (iops)",
"value":"iops"
},
{
"click":"menuItemSelected(7,4)",
"text":"ops/min (opm)",
"value":"opm"
},
{
"click":"menuItemSelected(7,5)",
"text":"reads/min (rpm)",
"value":"rpm"
},
{
"click":"menuItemSelected(7,6)",
"text":"writes/min (wpm)",
"value":"wpm"
}
],
"text":"throughput"
...
...
@@ -747,22 +768,22 @@
{
"submenu":[
{
"click":"menuItemSelected(6,0)",
"click":"menuItemSelected(8,0)",
"text":"millimetre (mm)",
"value":"lengthmm"
},
{
"click":"menuItemSelected(6,1)",
"click":"menuItemSelected(8,1)",
"text":"meter (m)",
"value":"lengthm"
},
{
"click":"menuItemSelected(6,2)",
"click":"menuItemSelected(8,2)",
"text":"kilometer (km)",
"value":"lengthkm"
},
{
"click":"menuItemSelected(6,3)",
"click":"menuItemSelected(8,3)",
"text":"mile (mi)",
"value":"lengthmi"
}
...
...
@@ -772,22 +793,47 @@
{
"submenu":[
{
"click":"menuItemSelected(7,0)",
"click":"menuItemSelected(9,0)",
"text":"milligram (mg)",
"value":"massmg"
},
{
"click":"menuItemSelected(9,1)",
"text":"gram (g)",
"value":"massg"
},
{
"click":"menuItemSelected(9,2)",
"text":"kilogram (kg)",
"value":"masskg"
},
{
"click":"menuItemSelected(9,3)",
"text":"metric ton (t)",
"value":"masst"
}
],
"text":"mass"
},
{
"submenu":[
{
"click":"menuItemSelected(10,0)",
"text":"m/s",
"value":"velocityms"
},
{
"click":"menuItemSelected(7,1)",
"click":"menuItemSelected(10,1)",
"text":"km/h",
"value":"velocitykmh"
},
{
"click":"menuItemSelected(7,2)",
"click":"menuItemSelected(10,2)",
"text":"mph",
"value":"velocitymph"
},
{
"click":"menuItemSelected(7,3)",
"click":"menuItemSelected(10,3)",
"text":"knot (kn)",
"value":"velocityknot"
}
...
...
@@ -797,19 +843,29 @@
{
"submenu":[
{
"click":"menuItemSelected(8,0)",
"click":"menuItemSelected(11,0)",
"text":"millilitre",
"value":"mlitre"
},
{
"click":"menuItemSelected(8,1)",
"click":"menuItemSelected(11,1)",
"text":"litre",
"value":"litre"
},
{
"click":"menuItemSelected(8,2)",
"click":"menuItemSelected(11,2)",
"text":"cubic metre",
"value":"m3"
},
{
"click":"menuItemSelected(11,3)",
"text":"cubic decimetre",
"value":"dm3"
},
{
"click":"menuItemSelected(11,4)",
"text":"gallons",
"value":"gallons"
}
],
"text":"volume"
...
...
@@ -817,59 +873,79 @@
{
"submenu":[
{
"click":"menuItemSelected(9,0)",
"click":"menuItemSelected(12,0)",
"text":"watt (W)",
"value":"watt"
},
{
"click":"menuItemSelected(9,1)",
"click":"menuItemSelected(12,1)",
"text":"kilowatt (kW)",
"value":"kwatt"
},
{
"click":"menuItemSelected(9,2)",
"click":"menuItemSelected(12,2)",
"text":"volt-ampere (VA)",
"value":"voltamp"
},
{
"click":"menuItemSelected(9,3)",
"click":"menuItemSelected(12,3)",
"text":"kilovolt-ampere (kVA)",
"value":"kvoltamp"
},
{
"click":"menuItemSelected(9,4)",
"click":"menuItemSelected(12,4)",
"text":"volt-ampere reactive (var)",
"value":"voltampreact"
},
{
"click":"menuItemSelected(9,5)",
"click":"menuItemSelected(12,5)",
"text":"kilovolt-ampere reactive (kvar)",
"value":"kvoltampreact"
},
{
"click":"menuItemSelected(12,6)",
"text":"watt-hour (Wh)",
"value":"watth"
},
{
"click":"menuItemSelected(9,6)",
"click":"menuItemSelected(12,7)",
"text":"kilowatt-hour (kWh)",
"value":"kwatth"
},
{
"click":"menuItemSelected(9,7)",
"click":"menuItemSelected(12,8)",
"text":"joule (J)",
"value":"joule"
},
{
"click":"menuItemSelected(9,8)",
"click":"menuItemSelected(12,9)",
"text":"electron volt (eV)",
"value":"ev"
},
{
"click":"menuItemSelected(9,9)",
"click":"menuItemSelected(12,10)",
"text":"Ampere (A)",
"value":"amp"
},
{
"click":"menuItemSelected(9,10)",
"click":"menuItemSelected(12,11)",
"text":"Kiloampere (kA)",
"value":"kamp"
},
{
"click":"menuItemSelected(12,12)",
"text":"Volt (V)",
"value":"volt"
},
{
"click":"menuItemSelected(12,13)",
"text":"Kilovolt (kV)",
"value":"kvolt"
},
{
"click":"menuItemSelected(12,14)",
"text":"Decibel-milliwatt (dBm)",
"value":"dBm"
}
],
"text":"energy"
...
...
@@ -877,17 +953,17 @@
{
"submenu":[
{
"click":"menuItemSelected(10,0)",
"text":"Celcius (°C)",
"click":"menuItemSelected(13,0)",
"text":"Celsius (°C)",
"value":"celsius"
},
{
"click":"menuItemSelected(10,1)",
"click":"menuItemSelected(13,1)",
"text":"Farenheit (°F)",
"value":"farenheit"
},
{
"click":"menuItemSelected(10,2)",
"click":"menuItemSelected(13,2)",
"text":"Kelvin (K)",
"value":"kelvin"
}
...
...
@@ -897,27 +973,87 @@
{
"submenu":[
{
"click":"menuItemSelected(11,0)",
"click":"menuItemSelected(14,0)",
"text":"Millibars",
"value":"pressurembar"
},
{
"click":"menuItemSelected(11,1)",
"click":"menuItemSelected(14,1)",
"text":"Bars",
"value":"pressurebar"
},
{
"click":"menuItemSelected(14,2)",
"text":"Kilobars",
"value":"pressurekbar"
},
{
"click":"menuItemSelected(14,3)",
"text":"Hectopascals",
"value":"pressurehpa"
},
{
"click":"menuItemSelected(11,2)",
"click":"menuItemSelected(14,4)",
"text":"Inches of mercury",
"value":"pressurehg"
},
{
"click":"menuItemSelected(11,3)",
"click":"menuItemSelected(14,5)",
"text":"PSI",
"value":"pressurepsi"
}
],
"text":"pressure"
},
{
"submenu":[
{
"click":"menuItemSelected(15,0)",
"text":"Newton-meters (Nm)",
"value":"forceNm"
},
{
"click":"menuItemSelected(15,1)",
"text":"Kilonewton-meters (kNm)",
"value":"forcekNm"
},
{
"click":"menuItemSelected(15,2)",
"text":"Newtons (N)",
"value":"forceN"
},
{
"click":"menuItemSelected(15,3)",
"text":"Kilonewtons (kN)",
"value":"forcekN"
}
],
"text":"force"
},
{
"submenu":[
{
"click":"menuItemSelected(16,0)",
"text":"Gallons/min (gpm)",
"value":"flowgpm"
},
{
"click":"menuItemSelected(16,1)",
"text":"Cubic meters/sec (cms)",
"value":"flowcms"
},
{
"click":"menuItemSelected(16,2)",
"text":"Cubic feet/sec (cfs)",
"value":"flowcfs"
},
{
"click":"menuItemSelected(16,3)",
"text":"Cubic feet/min (cfm)",
"value":"flowcfm"
}
],
"text":"flow"
}
],
"valueMaps":[
...
...
@@ -927,38 +1063,1349 @@
"value":"null"
}
]
},
{
"aliasColors":{},
"bars":false,
"dashLength":10,
"dashes":false,
"datasource":"${DS_INFLUX-LOCAL}",
"editable":true,
"error":false,
"fill":1,
"grid":{},
"id":8,
"legend":{
"alignAsTable":false,
"avg":false,
"current":false,
"max":false,
"min":false,
"rightSide":false,
"show":true,
"total":false,
"values":false
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":2,
"points":true,
"renderer":"flot",
"seriesOverrides":[],
"spaceLength":10,
"span":4,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"speed(mph)",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT first(value) FROM speed where \"id\" = '$lanes' and $timeFilter GROUP BY time($interval) ",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
}
],
"repeat":null,
"repeatIteration":null,
"repeatRowId":null,
"showTitle":false,
"title":"Row",
"titleSize":"h6"
"thresholds":[
{
"colorMode":"critical",
"fill":true,
"line":true,
"op":"gt"
}
],
"schemaVersion":14,
"style":"dark",
"tags":[],
"templating":{
"list":[
"timeFrom":null,
"timeShift":null,
"title":"Vehicels Speed",
"tooltip":{
"msResolution":true,
"shared":true,
"sort":0,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"buckets":null,
"mode":"time",
"name":null,
"show":true,
"values":[]
},
"yaxes":[
{
"allValue":null,
"current":{
"isNone":true,
"text":"None",
"value":""
"format":"short",
"label":null,
"logBase":1,
"max":null,
"min":null,
"show":true
},
"datasource":"influx-local",
"hide":0,
"includeAll":false,
"label":"traffic-lane",
"multi":false,
"name":"lanes",
"options":[],
"query":"SHOW TAG VALUES WITH KEY = \"id\"",
"refresh":1,
"regex":"/thing/traffic-lane*/",
{
"format":"short",
"label":null,
"logBase":1,
"max":null,
"min":null,
"show":true
}
]
},
{
"colors":[
"#bf1b00",
"#629e51",
"rgba(8, 8, 7, 0)"
],
"datasource":"${DS_INFLUX-LOCAL}",
"decimals":0,
"fontSizes":[
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
22,
24,
26,
28,
30,
32,
34,
36,
38,
40,
42,
44,
46,
48,
50,
52,
54,
56,
58,
60,
62,
64,
66,
68,
70
],
"fontTypes":[
"Arial",
"Avant Garde",
"Bookman",
"Consolas",
"Courier",
"Courier New",
"Garamond",
"Helvetica",
"Open Sans",
"Palatino",
"Times",
"Times New Roman",
"Verdana"
],
"format":"velocitymph",
"gauge":{
"animateNeedleValueTransition":true,
"animateNeedleValueTransitionSpeed":100,
"edgeWidth":0,
"gaugeRadius":0,
"gaugeUnits":"",
"innerCol":"rgba(38, 38, 38, 0)",
"labelFontSize":18,
"maxNeedleAngle":320,
"maxTickAngle":300,
"maxValue":100,
"minValue":0,
"needleCol":"rgb(255, 255, 255)",
"needleLengthNeg":0.2,
"needleTickGap":0.05,
"needleWidth":5,
"outerEdgeCol":"rgba(229, 172, 14, 0)",
"padding":0.05,
"pivotCol":"rgb(68, 68, 68)",
"pivotRadius":0.1,
"show":true,
"showLowerThresholdRange":true,
"showMiddleThresholdRange":true,
"showThresholdColorOnBackground":true,
"showThresholdColorOnValue":false,
"showThresholdOnGauge":true,
"showUpperThresholdRange":true,
"tickColMaj":"#508642",
"tickColMin":"rgba(0, 0, 0, 0)",
"tickEdgeGap":0.05,
"tickFont":"Open Sans",
"tickLabelCol":"rgb(255, 255, 255)",
"tickLengthMaj":0.15,
"tickLengthMin":0.05,
"tickSpaceMajVal":10,
"tickSpaceMinVal":1,
"tickWidthMaj":5,
"tickWidthMin":1,
"ticknessGaugeBasis":200,
"unitsFont":"Open Sans",
"unitsLabelCol":"rgb(255, 255, 255)",
"unitsLabelFontSize":22,
"valueYOffset":0,
"zeroNeedleAngle":40,
"zeroTickAngle":60
},
"gaugeDivId":"d3gauge_svg_16",
"id":16,
"links":[],
"mappingType":1,
"mappingTypes":[
{
"name":"value to text",
"value":1
},
{
"name":"range to text",
"value":2
}
],
"operatorName":"current",
"operatorNameOptions":[
"min",
"max",
"avg",
"current",
"total",
"name"
],
"rangeMaps":[
{
"from":"null",
"text":"N/A",
"to":"null"
}
],
"span":2,
"svgContainer":{},
"targets":[
{
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"measurement":"/^$lanes$/",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT last(value) FROM speed where \"id\" = '$lanes' and $timeFilter GROUP BY time($interval) ",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
}
],
"thresholds":"40,60",
"tickMaps":[],
"title":"Current Vehicle Speed",
"type":"briangann-gauge-panel",
"unitFormats":[
{
"submenu":[
{
"click":"menuItemSelected(0,0)",
"text":"none",
"value":"none"
},
{
"click":"menuItemSelected(0,1)",
"text":"short",
"value":"short"
},
{
"click":"menuItemSelected(0,2)",
"text":"percent (0-100)",
"value":"percent"
},
{
"click":"menuItemSelected(0,3)",
"text":"percent (0.0-1.0)",
"value":"percentunit"
},
{
"click":"menuItemSelected(0,4)",
"text":"Humidity (%H)",
"value":"humidity"
},
{
"click":"menuItemSelected(0,5)",
"text":"ppm",
"value":"ppm"
},
{
"click":"menuItemSelected(0,6)",
"text":"decibel",
"value":"dB"
},
{
"click":"menuItemSelected(0,7)",
"text":"hexadecimal (0x)",
"value":"hex0x"
},
{
"click":"menuItemSelected(0,8)",
"text":"hexadecimal",
"value":"hex"
},
{
"click":"menuItemSelected(0,9)",
"text":"scientific notation",
"value":"sci"
},
{
"click":"menuItemSelected(0,10)",
"text":"locale format",
"value":"locale"
}
],
"text":"none"
},
{
"submenu":[
{
"click":"menuItemSelected(1,0)",
"text":"Dollars ($)",
"value":"currencyUSD"
},
{
"click":"menuItemSelected(1,1)",
"text":"Pounds (£)",
"value":"currencyGBP"
},
{
"click":"menuItemSelected(1,2)",
"text":"Euro (€)",
"value":"currencyEUR"
},
{
"click":"menuItemSelected(1,3)",
"text":"Yen (¥)",
"value":"currencyJPY"
},
{
"click":"menuItemSelected(1,4)",
"text":"Rubles (₽)",
"value":"currencyRUB"
},
{
"click":"menuItemSelected(1,5)",
"text":"Hryvnias (₴)",
"value":"currencyUAH"
},
{
"click":"menuItemSelected(1,6)",
"text":"Real (R$)",
"value":"currencyBRL"
},
{
"click":"menuItemSelected(1,7)",
"text":"Danish Krone (kr)",
"value":"currencyDKK"
},
{
"click":"menuItemSelected(1,8)",
"text":"Icelandic Krone (kr)",
"value":"currencyISK"
},
{
"click":"menuItemSelected(1,9)",
"text":"Norwegian Krone (kr)",
"value":"currencyNOK"
},
{
"click":"menuItemSelected(1,10)",
"text":"Swedish Krone (kr)",
"value":"currencySEK"
}
],
"text":"currency"
},
{
"submenu":[
{
"click":"menuItemSelected(2,0)",
"text":"Hertz (1/s)",
"value":"hertz"
},
{
"click":"menuItemSelected(2,1)",
"text":"nanoseconds (ns)",
"value":"ns"
},
{
"click":"menuItemSelected(2,2)",
"text":"microseconds (µs)",
"value":"µs"
},
{
"click":"menuItemSelected(2,3)",
"text":"milliseconds (ms)",
"value":"ms"
},
{
"click":"menuItemSelected(2,4)",
"text":"seconds (s)",
"value":"s"
},
{
"click":"menuItemSelected(2,5)",
"text":"minutes (m)",
"value":"m"
},
{
"click":"menuItemSelected(2,6)",
"text":"hours (h)",
"value":"h"
},
{
"click":"menuItemSelected(2,7)",
"text":"days (d)",
"value":"d"
},
{
"click":"menuItemSelected(2,8)",
"text":"duration (ms)",
"value":"dtdurationms"
},
{
"click":"menuItemSelected(2,9)",
"text":"duration (s)",
"value":"dtdurations"
}
],
"text":"time"
},
{
"submenu":[
{
"click":"menuItemSelected(3,0)",
"text":"YYYY-MM-DD HH:mm:ss",
"value":"dateTimeAsIso"
},
{
"click":"menuItemSelected(3,1)",
"text":"DD/MM/YYYY h:mm:ss a",
"value":"dateTimeAsUS"
},
{
"click":"menuItemSelected(3,2)",
"text":"From Now",
"value":"dateTimeFromNow"
}
],
"text":"date & time"
},
{
"submenu":[
{
"click":"menuItemSelected(4,0)",
"text":"bits",
"value":"bits"
},
{
"click":"menuItemSelected(4,1)",
"text":"bytes",
"value":"bytes"
},
{
"click":"menuItemSelected(4,2)",
"text":"kibibytes",
"value":"kbytes"
},
{
"click":"menuItemSelected(4,3)",
"text":"mebibytes",
"value":"mbytes"
},
{
"click":"menuItemSelected(4,4)",
"text":"gibibytes",
"value":"gbytes"
}
],
"text":"data (IEC)"
},
{
"submenu":[
{
"click":"menuItemSelected(5,0)",
"text":"bits",
"value":"decbits"
},
{
"click":"menuItemSelected(5,1)",
"text":"bytes",
"value":"decbytes"
},
{
"click":"menuItemSelected(5,2)",
"text":"kilobytes",
"value":"deckbytes"
},
{
"click":"menuItemSelected(5,3)",
"text":"megabytes",
"value":"decmbytes"
},
{
"click":"menuItemSelected(5,4)",
"text":"gigabytes",
"value":"decgbytes"
}
],
"text":"data (Metric)"
},
{
"submenu":[
{
"click":"menuItemSelected(6,0)",
"text":"packets/sec",
"value":"pps"
},
{
"click":"menuItemSelected(6,1)",
"text":"bits/sec",
"value":"bps"
},
{
"click":"menuItemSelected(6,2)",
"text":"bytes/sec",
"value":"Bps"
},
{
"click":"menuItemSelected(6,3)",
"text":"kilobits/sec",
"value":"Kbits"
},
{
"click":"menuItemSelected(6,4)",
"text":"kilobytes/sec",
"value":"KBs"
},
{
"click":"menuItemSelected(6,5)",
"text":"megabits/sec",
"value":"Mbits"
},
{
"click":"menuItemSelected(6,6)",
"text":"megabytes/sec",
"value":"MBs"
},
{
"click":"menuItemSelected(6,7)",
"text":"gigabytes/sec",
"value":"GBs"
},
{
"click":"menuItemSelected(6,8)",
"text":"gigabits/sec",
"value":"Gbits"
}
],
"text":"data rate"
},
{
"submenu":[
{
"click":"menuItemSelected(7,0)",
"text":"ops/sec (ops)",
"value":"ops"
},
{
"click":"menuItemSelected(7,1)",
"text":"reads/sec (rps)",
"value":"rps"
},
{
"click":"menuItemSelected(7,2)",
"text":"writes/sec (wps)",
"value":"wps"
},
{
"click":"menuItemSelected(7,3)",
"text":"I/O ops/sec (iops)",
"value":"iops"
},
{
"click":"menuItemSelected(7,4)",
"text":"ops/min (opm)",
"value":"opm"
},
{
"click":"menuItemSelected(7,5)",
"text":"reads/min (rpm)",
"value":"rpm"
},
{
"click":"menuItemSelected(7,6)",
"text":"writes/min (wpm)",
"value":"wpm"
}
],
"text":"throughput"
},
{
"submenu":[
{
"click":"menuItemSelected(8,0)",
"text":"millimetre (mm)",
"value":"lengthmm"
},
{
"click":"menuItemSelected(8,1)",
"text":"meter (m)",
"value":"lengthm"
},
{
"click":"menuItemSelected(8,2)",
"text":"kilometer (km)",
"value":"lengthkm"
},
{
"click":"menuItemSelected(8,3)",
"text":"mile (mi)",
"value":"lengthmi"
}
],
"text":"length"
},
{
"submenu":[
{
"click":"menuItemSelected(9,0)",
"text":"milligram (mg)",
"value":"massmg"
},
{
"click":"menuItemSelected(9,1)",
"text":"gram (g)",
"value":"massg"
},
{
"click":"menuItemSelected(9,2)",
"text":"kilogram (kg)",
"value":"masskg"
},
{
"click":"menuItemSelected(9,3)",
"text":"metric ton (t)",
"value":"masst"
}
],
"text":"mass"
},
{
"submenu":[
{
"click":"menuItemSelected(10,0)",
"text":"m/s",
"value":"velocityms"
},
{
"click":"menuItemSelected(10,1)",
"text":"km/h",
"value":"velocitykmh"
},
{
"click":"menuItemSelected(10,2)",
"text":"mph",
"value":"velocitymph"
},
{
"click":"menuItemSelected(10,3)",
"text":"knot (kn)",
"value":"velocityknot"
}
],
"text":"velocity"
},
{
"submenu":[
{
"click":"menuItemSelected(11,0)",
"text":"millilitre",
"value":"mlitre"
},
{
"click":"menuItemSelected(11,1)",
"text":"litre",
"value":"litre"
},
{
"click":"menuItemSelected(11,2)",
"text":"cubic metre",
"value":"m3"
},
{
"click":"menuItemSelected(11,3)",
"text":"cubic decimetre",
"value":"dm3"
},
{
"click":"menuItemSelected(11,4)",
"text":"gallons",
"value":"gallons"
}
],
"text":"volume"
},
{
"submenu":[
{
"click":"menuItemSelected(12,0)",
"text":"watt (W)",
"value":"watt"
},
{
"click":"menuItemSelected(12,1)",
"text":"kilowatt (kW)",
"value":"kwatt"
},
{
"click":"menuItemSelected(12,2)",
"text":"volt-ampere (VA)",
"value":"voltamp"
},
{
"click":"menuItemSelected(12,3)",
"text":"kilovolt-ampere (kVA)",
"value":"kvoltamp"
},
{
"click":"menuItemSelected(12,4)",
"text":"volt-ampere reactive (var)",
"value":"voltampreact"
},
{
"click":"menuItemSelected(12,5)",
"text":"kilovolt-ampere reactive (kvar)",
"value":"kvoltampreact"
},
{
"click":"menuItemSelected(12,6)",
"text":"watt-hour (Wh)",
"value":"watth"
},
{
"click":"menuItemSelected(12,7)",
"text":"kilowatt-hour (kWh)",
"value":"kwatth"
},
{
"click":"menuItemSelected(12,8)",
"text":"joule (J)",
"value":"joule"
},
{
"click":"menuItemSelected(12,9)",
"text":"electron volt (eV)",
"value":"ev"
},
{
"click":"menuItemSelected(12,10)",
"text":"Ampere (A)",
"value":"amp"
},
{
"click":"menuItemSelected(12,11)",
"text":"Kiloampere (kA)",
"value":"kamp"
},
{
"click":"menuItemSelected(12,12)",
"text":"Volt (V)",
"value":"volt"
},
{
"click":"menuItemSelected(12,13)",
"text":"Kilovolt (kV)",
"value":"kvolt"
},
{
"click":"menuItemSelected(12,14)",
"text":"Decibel-milliwatt (dBm)",
"value":"dBm"
}
],
"text":"energy"
},
{
"submenu":[
{
"click":"menuItemSelected(13,0)",
"text":"Celsius (°C)",
"value":"celsius"
},
{
"click":"menuItemSelected(13,1)",
"text":"Farenheit (°F)",
"value":"farenheit"
},
{
"click":"menuItemSelected(13,2)",
"text":"Kelvin (K)",
"value":"kelvin"
}
],
"text":"temperature"
},
{
"submenu":[
{
"click":"menuItemSelected(14,0)",
"text":"Millibars",
"value":"pressurembar"
},
{
"click":"menuItemSelected(14,1)",
"text":"Bars",
"value":"pressurebar"
},
{
"click":"menuItemSelected(14,2)",
"text":"Kilobars",
"value":"pressurekbar"
},
{
"click":"menuItemSelected(14,3)",
"text":"Hectopascals",
"value":"pressurehpa"
},
{
"click":"menuItemSelected(14,4)",
"text":"Inches of mercury",
"value":"pressurehg"
},
{
"click":"menuItemSelected(14,5)",
"text":"PSI",
"value":"pressurepsi"
}
],
"text":"pressure"
},
{
"submenu":[
{
"click":"menuItemSelected(15,0)",
"text":"Newton-meters (Nm)",
"value":"forceNm"
},
{
"click":"menuItemSelected(15,1)",
"text":"Kilonewton-meters (kNm)",
"value":"forcekNm"
},
{
"click":"menuItemSelected(15,2)",
"text":"Newtons (N)",
"value":"forceN"
},
{
"click":"menuItemSelected(15,3)",
"text":"Kilonewtons (kN)",
"value":"forcekN"
}
],
"text":"force"
},
{
"submenu":[
{
"click":"menuItemSelected(16,0)",
"text":"Gallons/min (gpm)",
"value":"flowgpm"
},
{
"click":"menuItemSelected(16,1)",
"text":"Cubic meters/sec (cms)",
"value":"flowcms"
},
{
"click":"menuItemSelected(16,2)",
"text":"Cubic feet/sec (cfs)",
"value":"flowcfs"
},
{
"click":"menuItemSelected(16,3)",
"text":"Cubic feet/min (cfm)",
"value":"flowcfm"
}
],
"text":"flow"
}
],
"valueMaps":[
{
"op":"=",
"text":"N/A",
"value":"null"
}
]
}
],
"repeat":null,
"repeatIteration":null,
"repeatRowId":null,
"showTitle":false,
"title":"Row",
"titleSize":"h6"
},
{
"collapse":false,
"height":359,
"panels":[
{
"aliasColors":{},
"bars":false,
"dashLength":10,
"dashes":false,
"datasource":"${DS_INFLUX-LOCAL}",
"editable":true,
"error":false,
"fill":1,
"grid":{},
"id":7,
"legend":{
"alignAsTable":true,
"avg":true,
"current":false,
"max":true,
"min":true,
"rightSide":false,
"show":true,
"total":false,
"values":true
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":2,
"points":true,
"renderer":"flot",
"seriesOverrides":[],
"spaceLength":10,
"span":4,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"num of pedestrians",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT first(value) FROM pedestrianCount where \"id\" = '$crosswalks' and $timeFilter GROUP BY time($interval) ",
"rawQuery":true,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
},
{
"alias":"speed(meters/hour)",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT first(value) FROM speed where \"id\" = '$crosswalks' and $timeFilter GROUP BY time($interval) ",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
}
],
"thresholds":[],
"timeFrom":null,
"timeShift":null,
"title":"CrossWalk Speed & Count",
"tooltip":{
"msResolution":true,
"shared":true,
"sort":0,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"buckets":null,
"mode":"time",
"name":null,
"show":true,
"values":[]
},
"yaxes":[
{
"format":"short",
"label":null,
"logBase":1,
"max":null,
"min":null,
"show":true
},
{
"format":"short",
"label":null,
"logBase":1,
"max":null,
"min":null,
"show":true
}
]
},
{
"cards":{
"cardPadding":null,
"cardRound":null
},
"color":{
"cardColor":"#b4ff00",
"colorScale":"sqrt",
"colorScheme":"interpolateSpectral",
"exponent":0.5,
"mode":"spectrum"
},
"dataFormat":"timeseries",
"datasource":"${DS_INFLUX-LOCAL}",
"heatmap":{},
"highlightCards":true,
"id":9,
"legend":{
"show":false
},
"links":[],
"span":4,
"targets":[
{
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"measurement":"/^$lanes$/",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT first(value) FROM speed where \"id\" = '$lanes' and $timeFilter GROUP BY time($interval)",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
}
],
"title":"Speed Histogram",
"tooltip":{
"show":true,
"showHistogram":false
},
"type":"heatmap",
"xAxis":{
"show":true
},
"xBucketNumber":null,
"xBucketSize":null,
"yAxis":{
"decimals":null,
"format":"velocitykmh",
"logBase":1,
"max":null,
"min":null,
"show":true,
"splitFactor":null
},
"yBucketNumber":null,
"yBucketSize":null
},
{
"cards":{
"cardPadding":null,
"cardRound":null
},
"color":{
"cardColor":"#b4ff00",
"colorScale":"sqrt",
"colorScheme":"interpolateSpectral",
"exponent":0.5,
"mode":"spectrum"
},
"dataFormat":"timeseries",
"datasource":"${DS_INFLUX-LOCAL}",
"heatmap":{},
"highlightCards":true,
"id":13,
"legend":{
"show":false
},
"links":[],
"span":4,
"targets":[
{
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"measurement":"/^$lanes$/",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT first(value) FROM vehicleCount where \"id\" = '$lanes' and $timeFilter GROUP BY time($interval)",