Skip to content

vollfed/nodeServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

description

Handy way to see sensor data in web browser. You will need to get MQTT broker to get this working or use public one. ( For custom see another repo). You can setup border for sensor value, refresh rate and sample length. Bar chart increments only if sensor value falls below border.

example

sensor

Project setup

npm install

# FOR NODE SERVER
npm install express --save
npm install axios --save
npm install mqtt --save

#FOR PLOTS
npm install chart.js --save

Run

node index.js

Web

http://localhost:8081/root