Project Overview: http:https://sanitation.pratt.duke.edu/onsite-treatment
This project is dormant, and the web server has been taken offline.
The active MCU software is in software/ADPL_electron
using the v6.2.0
Electron firmware.
Live data streaming is available to view at http:https://adpl.palmeri.io.
The web application is responsible for listening to real-time streaming data from different ADPL stations, saving that data to a database, and making those data available for inspection and analysis via a RESTful API and dashboard-like front end. The web server performs several additional functions like integrating with Twilio to allow for text-based alerts and interaction (with many features yet to be implemented).
The server can be run using docker-compose
with the following steps:
cd software/cloud-dashboard/
DB_DATA=/scratch/adpl/data docker-compose up
The frontend is manually built, and its assets captured by the Docker backend. After changes are made to the frontend, you need to:
cd react-client/
npm install
npm run build
- Repeat the Docker setup above, adding the
--build
option todocker-compose up --build
to rebuild the image.
As simple as: http:https://adpl.palmeri.io/api/data/temp/1
- Aaron Forbis Stokes ([email protected])
- Daniel Hull
- Suyash Kumar ([email protected])
- Graham Miller
- Cal Nightingale
- Jawad Hoballah
- Mark Palmeri ([email protected])