Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 937 Bytes

README.md

File metadata and controls

36 lines (30 loc) · 937 Bytes

MMM-GrafanaEmbedded [GitHub license]

Embed panels from grafana (requires grafana v6 or higher)

Example

Innstall

  1. cd ~/MagicMirror/modules

  2. git clone https://github.com/eirikaho/MMM-SystemStatus.git

  3. Configure ~/MagicMirror/config/config.js:

    	{
    		module: 'MMM-GrafanaEmbedded',
    		position: 'top_right',
    		config: {
    			id: "",
    			host: "",
    			port: ""
    			dashboardName: "",
    			orgId: ,
    			panelId: ,
    			width: "450",
    			height: "200",
    			refreshRate: "5m",
    			from: "now-24h",
    			to: "now"
    		}
    	},
    

url composition example http://<host>:<port>/d/<id>/>dashboardName>?orgId=<orgId>&refresh=<refreshRate>&from=<from>&to=<to>&panelId=<panelId>

for time range syntax (from, to) see grafana time range controls