dashboard.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": "-- Grafana --",
  7. "enable": true,
  8. "hide": true,
  9. "iconColor": "rgba(0, 211, 255, 1)",
  10. "name": "Annotations & Alerts",
  11. "type": "dashboard"
  12. }
  13. ]
  14. },
  15. "editable": true,
  16. "gnetId": null,
  17. "graphTooltip": 0,
  18. "id": 1,
  19. "links": [],
  20. "panels": [
  21. {
  22. "datasource": null,
  23. "description": "",
  24. "fieldConfig": {
  25. "defaults": {
  26. "color": {
  27. "mode": "thresholds"
  28. },
  29. "decimals": 1,
  30. "mappings": [],
  31. "max": 300,
  32. "min": 0,
  33. "thresholds": {
  34. "mode": "absolute",
  35. "steps": [
  36. {
  37. "color": "red",
  38. "value": null
  39. },
  40. {
  41. "color": "orange",
  42. "value": 30
  43. },
  44. {
  45. "color": "yellow",
  46. "value": 100
  47. },
  48. {
  49. "color": "green",
  50. "value": 160
  51. }
  52. ]
  53. },
  54. "unit": "watt"
  55. },
  56. "overrides": []
  57. },
  58. "gridPos": {
  59. "h": 7,
  60. "w": 24,
  61. "x": 0,
  62. "y": 0
  63. },
  64. "id": 4,
  65. "options": {
  66. "reduceOptions": {
  67. "calcs": [
  68. "lastNotNull"
  69. ],
  70. "fields": "",
  71. "values": false
  72. },
  73. "showThresholdLabels": false,
  74. "showThresholdMarkers": true,
  75. "text": {}
  76. },
  77. "pluginVersion": "7.5.7",
  78. "targets": [
  79. {
  80. "groupBy": [
  81. {
  82. "params": [
  83. "$__interval"
  84. ],
  85. "type": "time"
  86. },
  87. {
  88. "params": [
  89. "null"
  90. ],
  91. "type": "fill"
  92. }
  93. ],
  94. "orderByTime": "ASC",
  95. "policy": "default",
  96. "query": "from(bucket: \"influxdb\")\n |> range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |> filter(fn: (r) =>\n r._measurement == \"solar\"\n )",
  97. "refId": "A",
  98. "resultFormat": "time_series",
  99. "select": [
  100. [
  101. {
  102. "params": [
  103. "value"
  104. ],
  105. "type": "field"
  106. },
  107. {
  108. "params": [],
  109. "type": "mean"
  110. }
  111. ]
  112. ],
  113. "tags": []
  114. }
  115. ],
  116. "title": "Current Input",
  117. "transformations": [
  118. {
  119. "id": "calculateField",
  120. "options": {
  121. "alias": "Power",
  122. "binary": {
  123. "left": "value {name=\"solar\", type=\"A\"}",
  124. "operator": "*",
  125. "reducer": "sum",
  126. "right": "value {name=\"solar\", type=\"V\"}"
  127. },
  128. "mode": "binary",
  129. "reduce": {
  130. "include": [],
  131. "reducer": "sum"
  132. },
  133. "replaceFields": true
  134. }
  135. }
  136. ],
  137. "type": "gauge"
  138. },
  139. {
  140. "aliasColors": {},
  141. "bars": false,
  142. "dashLength": 10,
  143. "dashes": false,
  144. "datasource": null,
  145. "description": "",
  146. "fieldConfig": {
  147. "defaults": {
  148. "unit": "amp"
  149. },
  150. "overrides": []
  151. },
  152. "fill": 1,
  153. "fillGradient": 0,
  154. "gridPos": {
  155. "h": 8,
  156. "w": 12,
  157. "x": 0,
  158. "y": 7
  159. },
  160. "hiddenSeries": false,
  161. "id": 6,
  162. "legend": {
  163. "avg": false,
  164. "current": false,
  165. "max": false,
  166. "min": false,
  167. "show": false,
  168. "total": false,
  169. "values": false
  170. },
  171. "lines": true,
  172. "linewidth": 1,
  173. "nullPointMode": "null",
  174. "options": {
  175. "alertThreshold": true
  176. },
  177. "percentage": false,
  178. "pluginVersion": "7.5.7",
  179. "pointradius": 2,
  180. "points": false,
  181. "renderer": "flot",
  182. "seriesOverrides": [],
  183. "spaceLength": 10,
  184. "stack": false,
  185. "steppedLine": false,
  186. "targets": [
  187. {
  188. "groupBy": [
  189. {
  190. "params": [
  191. "$__interval"
  192. ],
  193. "type": "time"
  194. },
  195. {
  196. "params": [
  197. "null"
  198. ],
  199. "type": "fill"
  200. }
  201. ],
  202. "orderByTime": "ASC",
  203. "policy": "default",
  204. "query": "from(bucket: \"influxdb\")\n |> range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |> filter(fn: (r) =>\n r._measurement == \"solar\"\n )",
  205. "refId": "A",
  206. "resultFormat": "time_series",
  207. "select": [
  208. [
  209. {
  210. "params": [
  211. "value"
  212. ],
  213. "type": "field"
  214. },
  215. {
  216. "params": [],
  217. "type": "mean"
  218. }
  219. ]
  220. ],
  221. "tags": []
  222. }
  223. ],
  224. "thresholds": [],
  225. "timeFrom": null,
  226. "timeRegions": [],
  227. "timeShift": null,
  228. "title": "Ampere",
  229. "tooltip": {
  230. "shared": true,
  231. "sort": 0,
  232. "value_type": "individual"
  233. },
  234. "transformations": [
  235. {
  236. "id": "filterFieldsByName",
  237. "options": {
  238. "include": {
  239. "names": [
  240. "Time",
  241. "value A"
  242. ]
  243. }
  244. }
  245. },
  246. {
  247. "id": "renameByRegex",
  248. "options": {
  249. "regex": "value A",
  250. "renamePattern": "I"
  251. }
  252. }
  253. ],
  254. "type": "graph",
  255. "xaxis": {
  256. "buckets": null,
  257. "mode": "time",
  258. "name": null,
  259. "show": true,
  260. "values": []
  261. },
  262. "yaxes": [
  263. {
  264. "$$hashKey": "object:72",
  265. "format": "amp",
  266. "label": null,
  267. "logBase": 1,
  268. "max": null,
  269. "min": null,
  270. "show": true
  271. },
  272. {
  273. "$$hashKey": "object:73",
  274. "format": "short",
  275. "label": null,
  276. "logBase": 1,
  277. "max": null,
  278. "min": null,
  279. "show": true
  280. }
  281. ],
  282. "yaxis": {
  283. "align": false,
  284. "alignLevel": null
  285. }
  286. },
  287. {
  288. "aliasColors": {},
  289. "bars": false,
  290. "dashLength": 10,
  291. "dashes": false,
  292. "datasource": null,
  293. "description": "",
  294. "fieldConfig": {
  295. "defaults": {
  296. "unit": "volt"
  297. },
  298. "overrides": []
  299. },
  300. "fill": 1,
  301. "fillGradient": 0,
  302. "gridPos": {
  303. "h": 8,
  304. "w": 12,
  305. "x": 12,
  306. "y": 7
  307. },
  308. "hiddenSeries": false,
  309. "id": 2,
  310. "legend": {
  311. "avg": false,
  312. "current": false,
  313. "max": false,
  314. "min": false,
  315. "show": false,
  316. "total": false,
  317. "values": false
  318. },
  319. "lines": true,
  320. "linewidth": 1,
  321. "nullPointMode": "null",
  322. "options": {
  323. "alertThreshold": true
  324. },
  325. "percentage": false,
  326. "pluginVersion": "7.5.7",
  327. "pointradius": 2,
  328. "points": false,
  329. "renderer": "flot",
  330. "seriesOverrides": [],
  331. "spaceLength": 10,
  332. "stack": false,
  333. "steppedLine": false,
  334. "targets": [
  335. {
  336. "groupBy": [
  337. {
  338. "params": [
  339. "$__interval"
  340. ],
  341. "type": "time"
  342. },
  343. {
  344. "params": [
  345. "null"
  346. ],
  347. "type": "fill"
  348. }
  349. ],
  350. "orderByTime": "ASC",
  351. "policy": "default",
  352. "query": "from(bucket: \"influxdb\")\n |> range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |> filter(fn: (r) =>\n r._measurement == \"solar\"\n )",
  353. "refId": "A",
  354. "resultFormat": "time_series",
  355. "select": [
  356. [
  357. {
  358. "params": [
  359. "value"
  360. ],
  361. "type": "field"
  362. },
  363. {
  364. "params": [],
  365. "type": "mean"
  366. }
  367. ]
  368. ],
  369. "tags": []
  370. }
  371. ],
  372. "thresholds": [],
  373. "timeFrom": null,
  374. "timeRegions": [],
  375. "timeShift": null,
  376. "title": "Voltage",
  377. "tooltip": {
  378. "shared": true,
  379. "sort": 0,
  380. "value_type": "individual"
  381. },
  382. "transformations": [
  383. {
  384. "id": "filterFieldsByName",
  385. "options": {
  386. "include": {
  387. "names": [
  388. "Time",
  389. "value V"
  390. ]
  391. }
  392. }
  393. },
  394. {
  395. "id": "renameByRegex",
  396. "options": {
  397. "regex": "value V",
  398. "renamePattern": "U"
  399. }
  400. }
  401. ],
  402. "type": "graph",
  403. "xaxis": {
  404. "buckets": null,
  405. "mode": "time",
  406. "name": null,
  407. "show": true,
  408. "values": []
  409. },
  410. "yaxes": [
  411. {
  412. "$$hashKey": "object:72",
  413. "format": "volt",
  414. "label": null,
  415. "logBase": 1,
  416. "max": null,
  417. "min": null,
  418. "show": true
  419. },
  420. {
  421. "$$hashKey": "object:73",
  422. "format": "short",
  423. "label": null,
  424. "logBase": 1,
  425. "max": null,
  426. "min": null,
  427. "show": true
  428. }
  429. ],
  430. "yaxis": {
  431. "align": false,
  432. "alignLevel": null
  433. }
  434. },
  435. {
  436. "aliasColors": {},
  437. "bars": false,
  438. "dashLength": 10,
  439. "dashes": false,
  440. "datasource": null,
  441. "description": "",
  442. "fieldConfig": {
  443. "defaults": {},
  444. "overrides": []
  445. },
  446. "fill": 1,
  447. "fillGradient": 0,
  448. "gridPos": {
  449. "h": 9,
  450. "w": 24,
  451. "x": 0,
  452. "y": 15
  453. },
  454. "hiddenSeries": false,
  455. "id": 5,
  456. "legend": {
  457. "alignAsTable": false,
  458. "avg": false,
  459. "current": false,
  460. "max": false,
  461. "min": false,
  462. "rightSide": false,
  463. "show": false,
  464. "total": false,
  465. "values": false
  466. },
  467. "lines": true,
  468. "linewidth": 1,
  469. "nullPointMode": "null",
  470. "options": {
  471. "alertThreshold": true
  472. },
  473. "percentage": false,
  474. "pluginVersion": "7.5.7",
  475. "pointradius": 2,
  476. "points": false,
  477. "renderer": "flot",
  478. "seriesOverrides": [],
  479. "spaceLength": 10,
  480. "stack": false,
  481. "steppedLine": false,
  482. "targets": [
  483. {
  484. "groupBy": [
  485. {
  486. "params": [
  487. "$__interval"
  488. ],
  489. "type": "time"
  490. },
  491. {
  492. "params": [
  493. "null"
  494. ],
  495. "type": "fill"
  496. }
  497. ],
  498. "orderByTime": "ASC",
  499. "policy": "default",
  500. "query": "from(bucket: \"influxdb\")\n |> range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |> filter(fn: (r) =>\n r._measurement == \"solar\"\n )",
  501. "refId": "A",
  502. "resultFormat": "time_series",
  503. "select": [
  504. [
  505. {
  506. "params": [
  507. "value"
  508. ],
  509. "type": "field"
  510. },
  511. {
  512. "params": [],
  513. "type": "mean"
  514. }
  515. ]
  516. ],
  517. "tags": []
  518. }
  519. ],
  520. "thresholds": [],
  521. "timeFrom": null,
  522. "timeRegions": [],
  523. "timeShift": null,
  524. "title": "Power",
  525. "tooltip": {
  526. "shared": false,
  527. "sort": 0,
  528. "value_type": "individual"
  529. },
  530. "transformations": [
  531. {
  532. "id": "calculateField",
  533. "options": {
  534. "alias": "Power",
  535. "binary": {
  536. "left": "value {name=\"solar\", type=\"A\"}",
  537. "operator": "*",
  538. "reducer": "sum",
  539. "right": "value {name=\"solar\", type=\"V\"}"
  540. },
  541. "mode": "binary",
  542. "reduce": {
  543. "include": [],
  544. "reducer": "sum"
  545. },
  546. "replaceFields": true
  547. }
  548. }
  549. ],
  550. "type": "graph",
  551. "xaxis": {
  552. "buckets": null,
  553. "mode": "time",
  554. "name": null,
  555. "show": true,
  556. "values": []
  557. },
  558. "yaxes": [
  559. {
  560. "$$hashKey": "object:105",
  561. "format": "watt",
  562. "label": null,
  563. "logBase": 1,
  564. "max": null,
  565. "min": null,
  566. "show": true
  567. },
  568. {
  569. "$$hashKey": "object:106",
  570. "format": "dateTimeAsLocal",
  571. "label": null,
  572. "logBase": 1,
  573. "max": null,
  574. "min": null,
  575. "show": false
  576. }
  577. ],
  578. "yaxis": {
  579. "align": false,
  580. "alignLevel": null
  581. }
  582. }
  583. ],
  584. "schemaVersion": 27,
  585. "style": "dark",
  586. "tags": [],
  587. "templating": {
  588. "list": []
  589. },
  590. "time": {
  591. "from": "now-30m",
  592. "to": "now"
  593. },
  594. "timepicker": {},
  595. "timezone": "browser",
  596. "title": "Solar",
  597. "uid": "jn3v5cV4k",
  598. "version": 5
  599. }