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?
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Snap can be installed on Pop!_OS from the command line. Open Terminal from the Applications launcher and type the following:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install grafana-nodered-demo, simply use the following command:
sudo snap install grafana-nodered-demo
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.