8000 GitHub - chrismerck/litterluck_sim: JSON Data Generator for IoT
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chrismerck/litterluck_sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

LitterLuck Data Simulator

Simulates data from dumpster monitors. The format used to represent the data is GeoJSON.

Quick Start

Install node pre-requisites:

npm install express nodejs-websocket

Edit the URL of the socket (found in static/index.html) to match your webserver's address:

var ws = new WebSocket("ws://your.server.com:8001");

Start the web/websocket server:

node ll_source.js

View with a modern browser:

http://your.server.com:8080/index.html

Tweaking

To change the number of nodes simulated, in ll_source.js, change the value of the variable N.

Then exit node, and re-run:

node ll_source.js

About

JSON Data Generator for IoT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0