https://github.com/flxdot/project-carlos-on-edge
The code running on raspberry pi on edge to read and fetch sensor data
https://github.com/flxdot/project-carlos-on-edge
farming gardening iot plants python3 python37 raspberry-pi raspberry-pi-3
Last synced: 2 months ago
JSON representation
The code running on raspberry pi on edge to read and fetch sensor data
- Host: GitHub
- URL: https://github.com/flxdot/project-carlos-on-edge
- Owner: flxdot
- License: mit
- Created: 2019-07-03T21:07:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-05-20T16:52:17.000Z (about 4 years ago)
- Last Synced: 2025-01-16T04:26:54.476Z (over 1 year ago)
- Topics: farming, gardening, iot, plants, python3, python37, raspberry-pi, raspberry-pi-3
- Language: Python
- Size: 104 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# project-carlos-on-edge
The code running on raspberry pi on edge to read and fetch sensor data
# Requirements
1. Activate the i2c interface on your raspberry-pi
2. install python3.7
3. install required packages:
```bash
python3.7 -m pip install -r requirements.txt
```
# Configuration
```yaml
influxdb:
host: 127.0.01
user: my_influx_user
password: t0pS3cr3t
database: carlos_prototype
environment:
uv-light: SI1145
temp-humi:
type: DHT11
gpio-pin: 5
irrigation-loops:
- box-mix-small:
moisture-sensor:
i2c-address: 0x48
channel: 1
pump: main-pump
valve-gpio: 21
watering-rule:
trigger:
low-level: 38
time: 30m
time: 2s
interval: 15m
- box-mix-large:
moisture-sensor:
i2c-address: 0x48
channel: 2
pump: main-pump
valve-gpio: 22
watering-rule:
trigger:
low-level: 38
time: 30m
time: 3s
interval: 15m
pumps:
- main-pump:
gpio-pin: 20
water-tank:
gpio-pin: 7
low-level-warning: 25
low-level-alarm: 15
```