reading data from arduino/esp controllers
AKA digital shadow
- NODE.js
- DHT22 sensor connected to arduino/esp
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
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
