Front-end for Home Control project.
Home Control project was designed as a part of full, PLC based, home automation project. I created a PLC control program for Siemens S7-1200 driver.
Communication between PLC and hc is done through database which is the place where current data state is stored and commands are exchanged. Additionally there are couple of socket listeneres used for translate rough TCP packets to proper form.
- You need hc-back project (will be uploaded soon) placed in the same location as hc-front folder
- Configure your environment
- Install nvm
- Install nodejs with specific version
nvm install 13.14.0
- Using
npm
installyarn
npm install --global yarn
- Add missing css-loader
npm install css-loader -D
- Run PowerShell with Admin right and execute
Set-ExecutionPolicy RemoteSigned
- Execute
yarn install
- Start the project
yarn webpack