Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ma2shita/bdec7446305180f718afb3bc612aff95 to your computer and use it in GitHub Desktop.
Save ma2shita/bdec7446305180f718afb3bc612aff95 to your computer and use it in GitHub Desktop.
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"iteration": 1607261581145,
"links": [],
"panels": [
{
"content": "<img src=\"https://docs.google.com/drawings/d/e/2PACX-1vRXgU28VYir7LnScJujhWyx2ZITFvMjEqJIHm3o_egWmoUrnTP5Pl2UcndUiQl4L5imyOoRJYLxt9kT/pub?w=474&amp;h=322\">",
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 0
},
"id": 14,
"links": [],
"mode": "html",
"title": "",
"type": "text"
},
{
"bgColor": null,
"clockType": "24 hour",
"countdownSettings": {
"customFormat": null,
"endCountdownTime": "2020-12-07T08:07:00.000Z",
"endText": "00:00:00"
},
"dateSettings": {
"dateFormat": "YYYY-MM-DD",
"fontSize": "20px",
"fontWeight": "normal",
"showDate": false
},
"gridPos": {
"h": 4,
"w": 8,
"x": 4,
"y": 0
},
"id": 10,
"links": [],
"mode": "time",
"refreshSettings": {
"syncWithDashboard": false
},
"timeSettings": {
"customFormat": "HH:mm:ss",
"fontSize": "42px",
"fontWeight": "normal"
},
"timezone": "Asia/Tokyo",
"timezoneSettings": {
"fontSize": "12px",
"fontWeight": "normal",
"showTimezone": false,
"zoneFormat": "offsetAbbv"
},
"title": "現在時刻",
"type": "grafana-clock-panel"
},
{
"content": "<a href=\"https://soracom.jp/products/kit/iotstarter_kit_for_arduino/\" target=\"_blank\">IoT スターターキット for Arduino</a>を利用した屋内百葉箱です。<br>\n計測は温度(C)、湿度(%)、気圧(hPa)、照度(Luxではない)、環境音(dBではない)を1分毎に行っています。<br>\n屋内百葉箱自体の作り方は<a href=\"https://soracom.github.io/iot-recipes/ambient-monitor-box-by-iot-starter-kit-for-arduino/\" target=\"_blank\">IoT DIY レシピ</a>をご覧ください。",
"gridPos": {
"h": 4,
"w": 12,
"x": 12,
"y": 0
},
"id": 12,
"links": [],
"mode": "html",
"title": "解説",
"type": "text"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 4
},
"id": 2,
"legend": {
"alignAsTable": false,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "humi",
"color": "#1f78c1",
"yaxis": 2
},
{
"alias": "temp_c",
"color": "#ef843c"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datatype": "standard",
"devicetype": "subscribers",
"properties": "temp_c",
"refId": "A",
"target": "",
"type": "timeseries"
},
{
"datatype": "standard",
"devicetype": "subscribers",
"properties": "humi",
"refId": "B",
"target": "",
"type": "timeseries"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "温湿度",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 1,
"format": "celsius",
"label": "温度",
"logBase": 1,
"max": "40",
"min": "-10",
"show": true
},
{
"decimals": null,
"format": "humidity",
"label": "湿度",
"logBase": 1,
"max": "100",
"min": "0",
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 4
},
"id": 6,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "air_pressure_hpa",
"color": "rgb(255, 255, 255)"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datatype": "standard",
"devicetype": "subscribers",
"properties": "air_pressure_hpa",
"refId": "A",
"target": "",
"type": "timeseries"
}
],
"thresholds": [
{
"colorMode": "custom",
"fill": true,
"fillColor": "rgba(198, 112, 112, 0.2)",
"line": false,
"op": "lt",
"value": 1013,
"yaxis": "left"
},
{
"colorMode": "custom",
"fill": true,
"fillColor": "rgba(64, 150, 222, 0.37)",
"line": false,
"op": "gt",
"value": 1013,
"yaxis": "left"
}
],
"timeFrom": null,
"timeShift": null,
"title": "気圧",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 1,
"format": "pressurekpa",
"label": "",
"logBase": 1,
"max": "1050",
"min": "900",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 10
},
"id": 8,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "sound",
"bars": true,
"color": "#7eb26d",
"lines": false
},
{
"alias": "light",
"color": "#e5ac0e"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datatype": "standard",
"devicetype": "subscribers",
"properties": "light",
"refId": "A",
"target": "",
"type": "timeseries"
},
{
"datatype": "standard",
"devicetype": "subscribers",
"properties": "sound",
"refId": "B",
"target": "",
"type": "timeseries"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "光量 / 音量",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": "光量",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"decimals": 0,
"format": "short",
"label": "音量",
"logBase": 1,
"max": null,
"min": "0",
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"columns": [],
"datasource": null,
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 10
},
"id": 4,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 5,
"desc": true
},
"styles": [
{
"alias": "Time",
"dateFormat": "MM/DD h:mm a",
"pattern": "time",
"type": "date"
},
{
"alias": "気圧",
"colorMode": "value",
"colors": [
"#e24d42",
"#f2c96d",
"#64b0c8"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 1,
"mappingType": 1,
"pattern": "air_pressure_hpa",
"thresholds": [
"990",
"1013"
],
"type": "number",
"unit": "pressurekpa"
},
{
"alias": "湿度",
"colorMode": "value",
"colors": [
"#f9934e",
"#ffffff",
"#70dbed"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "humi",
"thresholds": [
"40",
"60"
],
"type": "number",
"unit": "humidity"
},
{
"alias": "光量",
"colorMode": "value",
"colors": [
"#444",
"888",
"rgb(203, 204, 32)"
],
"decimals": 0,
"pattern": "light",
"thresholds": [
"20",
"40"
],
"type": "number",
"unit": "short"
},
{
"alias": "音量",
"colorMode": "value",
"colors": [
"#0a437c",
"#fff",
"#f29191"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"link": false,
"mappingType": 1,
"pattern": "sound",
"thresholds": [
"20",
"80"
],
"type": "number",
"unit": "short"
},
{
"alias": "温度",
"colorMode": "value",
"colors": [
"#5195ce",
"#fff",
"#e0752d"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 1,
"mappingType": 1,
"pattern": "temp_c",
"thresholds": [
"25",
"29"
],
"type": "number",
"unit": "celsius"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"datatype": "table",
"devicetype": "subscribers",
"refId": "A",
"target": "",
"type": "timeseries"
}
],
"title": "データ履歴",
"transform": "table",
"type": "table"
}
],
"refresh": "1m",
"schemaVersion": 16,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "屋内環境計 / Ambient monitor",
"uid": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment