Plugins for Freeboard.io
 
 
Go to file
Hugo Sequeira 7d5c61cf66 .gitignore is now working 2014-06-27 10:32:18 +02:00
css Node.js datasource plugin for freeboard.io with socket.io namespaces and rooms. 2014-06-26 19:09:04 +02:00
datasources Node.js datasource plugin for freeboard.io with socket.io namespaces and rooms. 2014-06-26 19:09:04 +02:00
docs Node.js datasource plugin for freeboard.io with socket.io namespaces and rooms. 2014-06-26 19:09:04 +02:00
img Node.js datasource plugin for freeboard.io with socket.io namespaces and rooms. 2014-06-26 19:09:04 +02:00
js Node.js datasource plugin for freeboard.io with socket.io namespaces and rooms. 2014-06-26 19:09:04 +02:00
widgets Initial commit 2014-05-16 09:30:33 -07:00
.gitignore .gitignore is now working 2014-06-27 10:32:18 +02:00
LICENSE Initial commit 2014-05-16 09:25:19 -07:00
README.md Node.js datasource plugin for freeboard.io with socket.io namespaces and rooms. 2014-06-26 19:09:04 +02:00
plugin_node_sample_client.html Node.js datasource plugin for freeboard.io with socket.io namespaces and rooms. 2014-06-26 19:09:04 +02:00
plugin_node_sample_dashboard.json Node.js datasource plugin for freeboard.io with socket.io namespaces and rooms. 2014-06-26 19:09:04 +02:00
plugin_node_sample_example.png Node.js datasource plugin for freeboard.io with socket.io namespaces and rooms. 2014-06-26 19:09:04 +02:00
plugin_node_sample_server.js Node.js datasource plugin for freeboard.io with socket.io namespaces and rooms. 2014-06-26 19:09:04 +02:00

README.md

freeboard.io-node.js

This is a datasource plugin to connect freeboard.io dashboards to real-time node.js servers.

  • Subscribe to real-time events using WebSockets (Sockets.io)
  • Listen for events from different servers
  • Restrict events from only certain namespaces or rooms

Installation

  1. Place the file /datasources/plugin_node.js in /js/freeboard/plugins of your freeboard.io installation.

  2. Edit your freeboard.io main HTML file and add the plugin to the header:

<script type="text/javascript">
	head.js(
			...
			"/js/freeboard/plugins/plugin_node.js",

Testing

You can test this plugin by running the node.js sample server in your terminal:

node plugin_node_sample_server.js

Open the sample freeboard.io client with your browser:

/plugin_node_sample_client.html

Requirements

To run the sample server make sure you have following dependencies installed:

  1. Node.js
  2. Socket.io

Screenshots

In this screenshot, you can see the sample server and dashboard running with multiple clients and receiving data in real-time.

Image

License

MIT