This resin.io based application runs on a raspberry pi to display our grafana dashboards (powered by http://prometheus.io/).
It's running firefox with the R-kiosk extensions. Optionally it runs an openvpn client in case your dashboards are not accessible from the public internet.
Add your resin git remote and push the project. For details see resin.io's getting started documentation.
Just clone this repo instead of the example. After that, you need to set some environment variables:
URL
: Dashboard URL to openPASS
: The dashboard runs dropbear, this var will be the root password. If unset, defaults to 'root'
To use openvpn, set the following options:
REMOTE_HOST
: Address of openvpn serverREMOTE_PORT
: Port the openvpn server is running onVPN_USER
: VPN UsernameVPN_PASS
: VPN PasswordCERT
: Client certificate, newlines replaced by\n
Especially the openvpn config is a bit specific to user setup, for example it uses TCP. It's not a priority for us to make it more generic, but PRs for that are welcome.