Skip to content

WebApp to report and graph my home server's temperatures and fan speeds. - Made with AWS Lambda, React, Recharts and Auth0.

Notifications You must be signed in to change notification settings

EggiJan/nas-sensors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAS Sensors

WebApp to report and graph my home server's temperatures and fan speeds.

Made with AWS Lambda, React, recharts and Auth0.

Backend

  • Provides two endpoints to read and write data
  • Data is stored in DynamoDB
  • Authentication is handled by Auth0 and a custom authorizer function

GET /store

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

GET /fetch

Allows fetching of data from a given time range.

Allowed parameters:

Parameter Description
from optional Timestamp in ms
to optional Timestamp in ms

Build & Deploy

cd client
npm i
npm run build

cd backend
npm i
serverless deploy
serverless client deploy

About

WebApp to report and graph my home server's temperatures and fan speeds. - Made with AWS Lambda, React, Recharts and Auth0.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published