- ioBroker Community Home
- Deutsch
- Off Topic
- Grafana
- Grafana Sun and Moon
NEWS
Grafana Sun and Moon
-
Sorry, aber kann mir jemand sagen, wie ich die Uhrzeit anzeigen lassen kann? Sund an Moon hab ich erfolgreich eingerichtet. Jetzt hätte ich gern den Sonnenaufgang dargestellt als Uhrzeit. Aber was muss ich auswählen damit es dargestellt wird? Dank vorab


-
Sorry, aber kann mir jemand sagen, wie ich die Uhrzeit anzeigen lassen kann? Sund an Moon hab ich erfolgreich eingerichtet. Jetzt hätte ich gern den Sonnenaufgang dargestellt als Uhrzeit. Aber was muss ich auswählen damit es dargestellt wird? Dank vorab


@jo46 Du hast dann eine neue Datenquelle zur Verfügung und kannst diese nutzen

EDIT: Du hast als Feld "Timeseries" ausgewählt. Nimm mal "Stat"
🧑🎓 Autor des beliebten ioBroker-Master-Kurses
🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
📚 Meine inoffizielle ioBroker Dokumentation -
Sorry, aber kann mir jemand sagen, wie ich die Uhrzeit anzeigen lassen kann? Sund an Moon hab ich erfolgreich eingerichtet. Jetzt hätte ich gern den Sonnenaufgang dargestellt als Uhrzeit. Aber was muss ich auswählen damit es dargestellt wird? Dank vorab


@jo46
Du könntest Dir auch einfach deren JSON runterladen ;-)https://grafana.com/grafana/dashboards/630-sun-and-moon-datasource/
Oder für ganz faule (bereits übersetzt) :grin:
{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "enable": true, "hide": false, "iconColor": "rgb(238, 139, 9)", "mappings": {}, "name": "Sonnenauf / -untergang", "target": { "refId": "annotation_query", "target": [ "sunrise", "sunset" ] } }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "enable": false, "hide": false, "iconColor": "rgb(21, 101, 224)", "mappings": {}, "name": "Mondauf / -untergang", "target": { "refId": "annotation_query", "target": [ "moonrise", "moonset" ] } }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "enable": false, "hide": false, "iconColor": "rgb(98, 164, 0)", "mappings": {}, "name": "Goldene Stunde", "target": { "refId": "annotation_query", "target": [ "goldenHour" ] } }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "enable": true, "hide": false, "iconColor": "#7e7e7f", "mappings": {}, "name": "Mittag / Mitternacht", "target": { "refId": "annotation_query", "target": [ "noon", "midnight" ] } } ] }, "description": "This dashboard demonstrates the usage of the Sun and Moon Datasource Plugin.", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 13, "links": [], "panels": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "super-light-orange", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "time: HH:mm" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 0, "y": 0 }, "id": 5, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/^Time$/", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "sunrise" ] } ], "title": "Sonnenaufgang", "type": "stat" }, { "datasource": { "type": "datasource", "uid": "-- Mixed --" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "light-red", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "time: HH:mm" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 3, "y": 0 }, "id": 6, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/^Time$/", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "sunset" ] } ], "title": "Sonnenuntergang", "type": "stat" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "light-yellow", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 6, "y": 0 }, "id": 8, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "sun_azimuth" ] } ], "title": "Sonne Azimuth", "type": "stat" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "description": "", "fieldConfig": { "defaults": { "color": { "fixedColor": "blue", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "percentage", "steps": [ { "color": "dark-blue", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 9, "y": 0 }, "id": 3, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": false, "sizing": "auto", "text": {} }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "moon_illumination" ] } ], "title": "Mond Beleuchtung", "type": "gauge" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "light-blue", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "time: HH:mm" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 12, "y": 0 }, "id": 9, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/^Time$/", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "moonrise" ] } ], "title": "Mondaufgang", "type": "stat" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "semi-dark-blue", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "time: HH:mm" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 15, "y": 0 }, "id": 10, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/^Time$/", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "moonset" ] } ], "title": "Monduntergang", "type": "stat" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "blue", "mode": "fixed" }, "decimals": 0, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 18, "y": 0 }, "id": 11, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": {}, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "moon_azimuth" ] } ], "title": "Mond Azimuth", "type": "stat" }, { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "degree" }, "overrides": [ { "matcher": { "id": "byName", "options": "Moon altitude" }, "properties": [ { "id": "color", "value": { "fixedColor": "#447EBC", "mode": "fixed", "seriesBy": "min" } }, { "id": "displayName", "value": "Mond" } ] }, { "matcher": { "id": "byName", "options": "Sun altitude" }, "properties": [ { "id": "color", "value": { "fixedColor": "#CCA300", "mode": "fixed" } }, { "id": "displayName", "value": "Sonne" } ] }, { "matcher": { "id": "byName", "options": "Moon illumination" }, "properties": [ { "id": "color", "value": { "fixedColor": "light-blue", "mode": "fixed" } }, { "id": "displayName", "value": "Beleuchtung" } ] } ] }, "gridPos": { "h": 13, "w": 21, "x": 0, "y": 4 }, "id": 1, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "none" } }, "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "fetzerch-sunandmoon-datasource", "uid": "dec4um3aintogf" }, "refId": "A", "target": [ "sun_altitude", "moon_altitude", "moon_illumination" ] } ], "title": "Position Sonne / Mond", "type": "timeseries" } ], "preload": false, "refresh": "", "schemaVersion": 40, "tags": [], "templating": { "list": [] }, "time": { "from": "now-7d", "to": "now" }, "timepicker": {}, "timezone": "browser", "title": "Astronomie", "uid": "000000009", "version": 6, "weekStart": "" }"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")
Proxmox 9.1.1 LXC|8 GB|Core i7-6700
HmIP|ZigBee|Tasmota|Unifi
Zabbix Certified Specialist
Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag