Skip to content

immicola/web-app-serial-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-app-serial-reader

reading data from arduino/esp controllers
AKA digital shadow

requirements

  • NODE.js
  • DHT22 sensor connected to arduino/esp

how to deploy (without DB)

upload example.ino to your controller(make sure, you connected right PIN)
copy the repo
change your path in app.js to ports (in my case 'COM10')
npm i to install dependencies
npm start to run the application http://localhost:3000

how to deploy (with DB)

upload example.ino to your controller(make sure, you connected right PIN)
copy the repo
change your path in newapp.js to ports (in my case 'COM10')
type npm i to install dependencies
create your influx cloud account https://cloud2.influxdata.com/
get api token,cloud-url , bucket-name and token
create .env file and paste export INFLUXDB_TOKEN={your_api_token}
change other values in newapp.js to yours
type node newapp.js to run the application http://localhost:3000
you later can see received data in influx cloud, in data explore tab

architecture (without DB)

Screenshot 2024-09-26 193332

About

reading data from arduino/esp controllers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published