Skip to content
krylovsk edited this page Nov 7, 2014 · 2 revisions

Overview

This page contains description of various integrations with third-part systems, such as dashboards, programming environments, etc.

Freeboard

Freeboard (http://freeboard.io) is "a damn-sexy, open source real-time dashboard builder for IOT and other web mashups. A free open-source alternative to Geckoboard."

A custom fork of Freeboard is available at the following URL https://github.com/patchwork-toolkit/dashboard. It includes the ability to load a dashboard from the server (DGW) upon the page load and also to save modified dashboard on the server (DGW) using a built-in into a DGW RESTful API (/dashboard).

The dashboard should be already included if you are using binary distribution of the Patchwork (see Getting Started). If you have installed Patchwork from sources you would need to run the following commands for fetching and building the dashboard:

$ cd path/to/dgw/static
$ go git https://github.com/patchwork-toolkit/dashboard
$ cd dashboard
$ npm install .
$ grunt

After successful compilation of resources you can access the dashboard at the following URL (pretending you're running DGW locally) http://localhost:8080/static/dashboard/index.html.

Example of the dashboard:

Device Gateway Overview

The actual dashboard configuration is stored in the conf/dashboard.json, where all your Patchwork configuration files are stored. You can modify the dashboard via its Web interface and save the changes by clicked Set default menu item below the Load freeboard & Save freeboard items.