@michiel.goetahls/home-automation
v0.8.0
Published
    so the 'thermostat' class can calculate a result. The finished result looks like this:
{
"cooling": true,
"heating": false
}Installation instructions
1; Simply clone this repository
2; Run the following command in the folder where you cloned the project
ts-node index.tsMultiple usage instructions and examples
v0.4
1; You first need to set the themostat to wanted values wich can be set in the settings (wanted temperature and range) in the 'app' class. It could look something like this:
let settings = {
temperature: 22.0,
range: 1.0,
unit: "celsius"
}2; After that you can set a current room temperature. Wich could look like this:
let updateSettings = {
temperature: 300.0,
unit: "kelvin"
}v0.6
1; You first need to set the themostat to wanted values wich can be set in the settings (wanted temperature and range) in the 'app' class. It could look something like this:
let settings = {
temperature: 22.0,
range: 1.0,
unit: "celsius"
}2; In this version the current temperature is updated via an api.
License
Licensed under MIT because it does not state changes and you can use any other license.
Author information
Wrote by Michiel Goethals, Student electronics & ict @ Vives Brugge
