项目作者: shasdas

项目描述 :
IoT Data Visualization using D3 and Pubnub - zone wise entity tracking based on streamed data
高级语言: JavaScript
项目地址: git://github.com/shasdas/WhoIsWhere.git
创建时间: 2017-02-14T13:33:52Z
项目社区:https://github.com/shasdas/WhoIsWhere

开源协议:

下载


WhoIsWhere

IoT Data Visualization using D3 and Pubnub - zone wise entity tracking based on streamed data

whoiswhere

Description of Visual

  1. Each box is representing workstation - WS-1, WS-2, WS-3 ...
  2. Orange circles are worker named WK-1, WK-2, WK-3 ....
  3. Wearables could stream data to pubnub subscription via gateway.
  4. Pubnub listener gets notified on streamed data which would get
  5. plotted using D3 to give a picture of workers moving around workstations at any point in time.

SetUp

  1. In script.js in the code block below a pub-sub key set has to be given from the Pubnub subscription
  2. // pubnub registration
  3. var pubnub = new PubNub({
  4. publishKey : '<PUT_YOUR_PUB_KEY_HERE>',
  5. subscribeKey : '<PUT_YOUR_SUB_KEY_HERE>'
  6. });
  7. A set of dummy data would get published in 5 seconds interval to pubnub channel to simulate the visualization.

Mobile version using React-Native is available here - React-Native-WhoIsWhere