Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.
/ live-data-client Public archive

A testbed client that shows live data in the browser using web sockets.

Notifications You must be signed in to change notification settings

itm/live-data-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live Data Client

Live Data Client (LDC) is a client for the Wisebed Testbed, which displays sensor readings live in the web.

When a program is deployed on the testbed that periodically sends sensor readings, the LDC fetches these readings utilizing the Testbed Runtime's client utilies, publishes them on a channel using Redis's publish/subscribe mechanism.

To push the data to the browser a NodeJS server in conjunction with the Socket IO library is used. The NodeJS server uses a Redis client to subscribe to the sensor readings channel and pushes the incoming data to the browser with Socket IO websockets.

The browser client uses the Smoothie chart library to display the live data. A chart is drawn for every sensor node's incoming data stream.

About

A testbed client that shows live data in the browser using web sockets.

Resources

Stars

Watchers

Forks

Packages

No packages published