- Enter into backend directory.
cd backend
- Create .env file from .env.example
- run
npm install
- run
npm start
- Enter into frontend directory.
cd frontend
- Create .env file from .env.example
- run
npm install
- run
npm run dev
Following points should be used for generating dummy data to be displayed on charts
- Solar Point
new Point("solar").floatField("power", 150)
- Battery Point
new Point("battery").floatField("voltage", 12.5)
- Load Point
new Point("load").floatField("current", 80)
Following are the list of points for possible enhancement of the project.
- Add a dropdown for filtering charts data. For example, filter by last 24 hours, last 7 days, last 30 days and so on.
- Charts can also be filtered by date range.
- Currently the charts are for only one solar panel, one battery and load for one location. In the future we can add data of more than one solar panel, battery or location. And then we can also filter out the charts for a specific solar panel, battery or location.
- Design improvement