This UI is designed to control the heating. It is using the Temperature Sensor and REST project API.
UI is a single page JavaScript webapp.
- ReactJS - the very awesome UI Framework from Facebook
- Redux - state container for JavaScript apps
- MaterialUI - reusable React components build according to Material design
- Babel, ES6 - new version of JavaScript
- Ramda - for some awesome functional programming
- Webpack - for building the lot
First, grab some dependencies:
npm install
Than run:
npm start
You'll need to have a backend running.
By default, the UI assumes that the REST server providing Temperature sensor reading is deployed on the same host and port 8080
To change that, edit the lines in Home.js and scheduleActions.js.
And than rebuild!
Make sure you for the dependencies firs and than run :
npm run buildpack
It will build site.tgz in the root folder.