Install latest/stable of grafana-nodered-demo
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install grafana-nodered-demo
Don't have snapd? Get set up for snaps.
Grafana snap which come with the MQTT plugin and all the required configurations to run the IoT Device nodered demo. The snap is supposed to be installed on a local pc. Once installed, point your browser to http://localhost:3000 to access the grafana dashboard. The Grafana snap includes a Data source configured to connect to hivemq public MQTT broker. To change the broker, login to grafana with admin/admin and go to "Data Sources/MQTT". The grafana.ini file is located in $SNAP_DATA/conf/grafana.ini. Edit with root permissions to change the configuration (e.g. to change the grafana http port, search for "http_port" and change the port accordingly. The snap provides a content interface slot called "writable". The "writable" slot allows r/w on $SNAP_DATA/conf. Tipical usage is to add/modify a custom grafana.ini file. To connect to the interface, your snap should declare a "writable" slot as described below: plugs: writable: interface: content content: writable-data target: <your target dir> More info on content interface here: https://snapcraft.io/docs/content-interface
Use the following command to connect the interface: snap connect <your-snap-name>:writable grafana-nodered-demo:writable
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.