Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 2.11 KB

README.md

File metadata and controls

42 lines (33 loc) · 2.11 KB

freeboard-plugins

This is a collection of widget plugins for freeboard.io

  • Actuator widget plugin
  • Switch widget plugin
  • Slider widget plugin
  • Dynamic highcharts widget plugin

 Widget plugins

Actuator widget plugin

Actuator Widget

This widget plugin is based on the interactive-indicator created by Stufisher.

See it in action @ https://goo.gl/hbAXXU

I modified it  mainly to fit my needs. It merely links the states ON or OFF to web URL.

actuator-2A click on the indicator switches the state ON/OFF of the actuator which is bound to a http request.

 

 

 

INSTALLATION

For installation of any plugins of the collection, proceed as the same as the installation of the actuator.js widget plugin.

Copy the plugin (actuator.js  from github onlinux/freeboard-actuator-plugin) to your freeboard installation, for example:

$ cp ./actuator.js /freeboard/plugins/

edit the freeboard index.html file and add a link to the plugin near the end of the head.js script loader, like:

head.js(
  'js/freeboard_plugins.min.js',
  'plugins/actuator.js',
  $(function() {
    //DOM Ready
    freeboard.initialize(true);
  })

actuator-1