# home-automation-robindeleu

> home-automation

Latest version **0.4.4** (published 2020-03-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install home-automation-robindeleu
pnpm add home-automation-robindeleu
yarn add home-automation-robindeleu
bun add home-automation-robindeleu
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.4 |
| Published | 2020-03-28 |
| First published | 2020-03-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 65.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | robin_deleu |
| Maintainers | robin_deleu |
| Keywords | thermostat |

## Links

- npm: https://www.npmjs.com/package/home-automation-robindeleu
- Repository: https://github.com/vives-software-engineering-2020/home-automation-robindeleu
- Homepage: https://github.com/vives-software-engineering-2020/home-automation-robindeleu#readme
- Issues: https://github.com/vives-software-engineering-2020/home-automation-robindeleu/issues
- npm.io page: https://npm.io/package/home-automation-robindeleu

## Dependencies (1)

- [typescript](https://npm.io/package/typescript.md) ^3.8.3

## Recent versions

- 0.4.4 (latest) — 2020-03-28
- 0.4.2 — 2020-03-27
- 1.0.0 — 2020-03-25

## README

# Home Automation by Robin Deleu

![badge](https://img.shields.io/badge/Robin-home_automatisation-red.svg)
![ESLint](../../workflows/ESLint/badge.svg?branch=master)
![Markdown Linter](../../workflows/Markdown%20Linter/badge.svg?branch=master)


This program acts as a thermostat. When you give input the program decide to cool or heat.

## Getting Started

### Prerequisites

You will need to instal node.js and ts-node to be able to run this program.

Instal node.js:
```
cinst nodejs.install
```

Instal ts-node
```
npm install -g ts-node
```

### Using the program

First you need to edit the const in the jsontemperatuur.ts to the actual temperature and the range you want.

Example:
```
let t = 28
let r = 2
let u = "Celcius"
```
t stands for the temperature it is right now.
r stands for the range you don't want that cooling or heating will work.
u is the unit from the temperatures you want's to insert.

Then you need to change the temperature you want in the room. This you need to do in app.ts.

Example:
```
const doeltemperatuuroud = 23
```
The unit from the wanted temperature is always the same unit like the one you inserted in the jsontemperatuur.ts.

For running the program you will need to run this command:
```
ts-node .\index.ts
```

## Examples of code output

settings:
```
let t = 28
let r = 2
let u = "Celcius"
```
output:
```
{"cooling":"true","heating":"false"}
je werkt in Celcius
```
## Authors

* **Robin Deleu** - *Student VIVES University of Applied Sciences*

## License

This project is licensed under the GNU Affero General Public License v3.0 License - see the [LICENSE.md](LICENSE.md) file for details

---
_Source: https://npm.io/package/home-automation-robindeleu · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
