Skip to content

jenkoj/dash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smarthome Dashboard

Dashboard enables user to oversee weather, power and switch status of the household.

Implemented Functionalities

  • database for handling users
  • persitent local storage for tokens
  • reload-less page switching
  • Grafana graphs
  • API for handling ESP calls
  • API for obtaining weather related data
  • API for obtaining power and energy related

Architecture

Login Page

  • Login provides safety mechanisms such as limited number of wrong password entries.
  • Persistent login, exept if user logouts prior to quitting the app.

Registration From

  • Registration form provides input validation.

Page With Virtual Switches

  • Syncs state of switch on reload.
  • Syncs every 3 seconds in case state is changed from other device.

Weather Page

  • Current weather status and average weather for past week.
  • Graphs for past week

Power and Energy Page

  • Current and daily average power status.
  • Energy usage for today and past 4 months.
  • Graphs for the past 3 days.