Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aldotestino/arduino-temp-hu-system
Simple system to control temperature and humidty
https://github.com/aldotestino/arduino-temp-hu-system
Last synced: about 2 months ago
JSON representation
Simple system to control temperature and humidty
- Host: GitHub
- URL: https://github.com/aldotestino/arduino-temp-hu-system
- Owner: aldotestino
- License: mit
- Created: 2020-09-04T18:36:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-12T21:27:00.000Z (over 3 years ago)
- Last Synced: 2024-04-18T04:10:27.619Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 705 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# arduino-temp-hu-system by aldotestino
## Simple system to control temperature and humidty### Version: 4.0.0
## Setting up
* Run `TempAndHu.ino` from the `/server` folder on your Arduino.
* In `/server/src/index.ts` file change the `comPort` to match the one of your system.
* Create `/server/src/db/connectionString.ts` file, it will be used to connect to your mongodb database```typescript
export default 'your connection string';
```* Open your terminal and run the `run` script
```sh
chmod +x ./run.sh
./run.sh
```This script will install `pm2` globally on your system, install and build both client and server and then it will start the project and save the pm2 configuration so you don't have to manually start the project.
* To run the project with `pm2` simply run```sh
pm2 start ecosystem.config.js
```