- It is a small project of the future students of the university during which we tried to create our own smart device and the environment for its work.
- Create a Smart Power Socket device which will be able to measure power input and collect statistics about power usage.
- Create software ecosystem where user is able to turn on/off device, to browse the statistics of power usage and to create conditions which the smart device should execute.
- Gain new knowledge in working with microcontrollers and creating full-stack web applications.
- Follow the instructions in README file to install all dependencies in the arduino_firmware, backend, client, ws-server folders.
- To run the project:
- Go to the backend folder and use the command
php artisan serve
- Go to the ws-server folder and use the command
npm run start:prod
for production run ornpm run start:dev
for development run. - Go to the client folder and use the command
npm run serve
for development build ornpm run build
and use your http server. - Run Redis server using redis-server utility.
- Go to the backend folder and use the command
Some of the features which were not implemented yet:
- Zooming and panning for the graphs. Something similiar to Highcharts. The current implementation with Chart.js does not allow to create easy to use zooming and panning.
- Events page. The idea is to allow user to choose conditions how the Smart Power Socket should work. For example, if the power is more than 500W, then the socket should stop working.
- Better UI/UX. It is not possible to use Tabs for navigation as well as better design, as UI was created by technicians, not designers.
- Tests are not present. Therefore, it is quite important to write some tests for all parts of the project in the future.
- Due to lockdown in the spring 2020, it was not possible to create real Smart Power Socket device. Therefore, there is a lot of work to create our own smart device.