https://github.com/skykery/temp-reporter
Small flask app based on sockets and vuejs used to monitor my cigar cabinet.
https://github.com/skykery/temp-reporter
dht22 flask nodemcu socket-io vuejs2
Last synced: about 1 month ago
JSON representation
Small flask app based on sockets and vuejs used to monitor my cigar cabinet.
- Host: GitHub
- URL: https://github.com/skykery/temp-reporter
- Owner: skykery
- License: mit
- Created: 2023-03-09T14:43:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-14T18:08:40.000Z (about 3 years ago)
- Last Synced: 2025-02-14T16:40:47.357Z (over 1 year ago)
- Topics: dht22, flask, nodemcu, socket-io, vuejs2
- Language: Python
- Homepage: https://cabinet.techwetrust.com
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
## Basic project used to report data from a NodeMCU using the DHT22 sensor.


Idea and execution: https://twitter.com/alin__alexandru/status/1633851944501407745
### Env vars
- AUTH_USER - user for basic auth (default to admin)
- AUTH_PASSWORD. -password for basic auth (default to admin)
- CHART_TITLE - title to show on index.html or legend of the chart (default to cigar cabinet)
- MAX_RECORDS - number of records to keep (default to 10)
- SOCKET_URL - app host URL (default to http://127.0.0.1:5000)
Run command: `docker run -p 5000:5000 -e AUTH_USER="admin" -e AUTH_PASSWORD="admin" skykery/temp_humidity_reporter`
### Add entries
GET http://127.0.0.1:5000/add?t=10&h=110
# NodeMcu ESP8266 + DHT22 script
The script I'm using currently on my NodeMcu ESP8266 + DHT22 sensor: https://github.com/skykery/nodemcu-dht22-script