WebApp to report and graph my home server's temperatures and fan speeds.
Made with AWS Lambda, React, recharts and Auth0.
- Provides two endpoints to read and write data
- Data is stored in DynamoDB
- Authentication is handled by Auth0 and a custom authorizer function
Data is gathered using a cronjob and lm-sensors
on debian. See submitTemp.sh
.
Allowed parameters:
Parameter | Description |
---|---|
secret | required String - must match the secret of the backend |
cpu_temp | optional Float |
sys_temp | optional Float |
temp1_temp | optional Float |
fan1_speed | optional Number |
fan2_speed | optional Number |
Allows fetching of data from a given time range.
Allowed parameters:
Parameter | Description |
---|---|
from | optional Timestamp in ms |
to | optional Timestamp in ms |
cd client
npm i
npm run build
cd backend
npm i
serverless deploy
serverless client deploy