Skip to content
Managed IoT ElectronJS Application for Web Dashboards
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dashboard
remote
.gitignore
CHANGELOG.md
README.md
docker-compose.yml

README.md

dashboards

This project is a simple solution for managing multiple digital signage displays, dashboards, and other dynamic statistical data on raspberry-pi (or x86-x64 arch) powered displays, via one central admin panel. This project is intended for use in conjunction with balena.io (see below for link and account setup instructions).

You may be asking,"What makes this dashboard project better than others?"

  • Managed through balena.io
  • Multiple URLs/webpages to load
  • Custom timeout values for each URL
  • Support for remote screen control/support/viewing

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to deploy this code to your device:

  • Sign up for a free account with balenaCloud here
  • Create an application
  • Add your device and download the OS. Make sure to specify the wifi information needed to connect your device
  • Flash your SD card (balenaEtcher is recommended) and boot the device
  • Ensure the device shows up in your application dashboard
  • Download the code for this project from GitHub, and push to your application, using the code below
git clone https://github.com/willswire/dashboards.git
git remote add balena <get URL by clicking the ? in the top corner of your application dashboard>
git push balena master

Configuration

The following Enviroment Variables must be set within Application > Device under D(x) - Device Variables:

Name Value
SLIDE_COUNT integer value representing how many slides are set
SLIDE_0 https://www.google.com [fully qualified URLs]
TIME_0 60 [integer which represents number of seconds for URL]
SLIDE_[...] up to 10 URLs and timeout values
NOVNC_PASSWORD defaultpassword [obviously change this to something different]

In order to view the device remotely from within your browser, enable the public device URL within the device summary page. Then, you can simply click the link and login using the password set above.

Built With

  • ElectronJS - The web framework used
  • balenaCloud - IoT device management
  • noVNC - Used to provide remote viewing/support through public device URL (enable in device settings)
You can’t perform that action at this time.