lanket / freeboard-actuator-plugin

This is a widget plugin for http://freeboard.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

freeboard-actuator-plugin

Plugin

Actuator widget plugin for freeboard.io

Actuator Widget

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

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

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);
  })head.js(
 'js/freeboard_plugins.min.js',
 'plugins/actuator.js',
 $(function() {
 //DOM Ready
 freeboard.initialize(true);
 })

actuator-1

About

This is a widget plugin for http://freeboard.io

License:MIT License


Languages

Language:JavaScript 100.0%