WebSocket

Watching real-time data on your dashboard or any screen from any particular device does amaze users, isn't it?

Oizom Web Dashboard provides a way to user to see Real time data which is coming from device to server at various interval of 2 to 10 minutes.

Why Websocket

To avoid as many REST API calls from multiple end users to API server (Load Balancer), Web socket is being used to fetch/subscribe data to front end application of oizom webapp. This way web application is always updated with latest device information whether it's online or not, what all parameters are being sent from devices to server.

Websocket Information

Web application's dashboard module and overview module are using secure websocket to it's Socket server. Websocket is secured by same API request sent when user logins to system, that way user is verified to use private REST APIs and Web Socket too. Websocket is running on a certain port no. on socket server handling all requests from web and possibly mobile in future.

Here's more information :

info

Oizom - Web Socket

Development Platform

Node.js 6.x

Node Framework

Express.js

Socket Library

Current Dev Version

0.1

Information

Devices send their data to our MQTT broker and that broker is receiving data and push to WebSocket using Socket.io Library.

Contributors of this websocket repository are Sohil Patel (Sohil) & Nayan Mevada (nayan).

Last updated