Skip to content

akushneruk/clima

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLIMA SYSTEM MONITORING for meat

on Rasperberry Pi model 3, nextion and python3

Setup ENV

  1. Fix locale and configure device (enable: ssh, i2c and serial)

  2. Install Grafana

  3. Intall use this

  4. Run Grafan using via systemd bash sudo systemctl daemon-reload sudo systemctl start grafana-server sudo systemctl status grafana-server sudo systemctl enable grafana-server.service

  5. Reboot and check

  6. Install influxDB InfluxDB

        curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
        echo "deb https://repos.influxdata.com/debian stretch stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
        sudo apt update
        sudo apt install influxdb 
        sudo systemctl enable influxdb
        sudo systemctl start influxdb 
        influx
        CREATE USER admin WITH PASSWORD 'YOUR_PASSWORD' WITH ALL PRIVILEGES
        CREATE DATABASE clima
  7. Install pip and all needed dependency

        sudo apt-get install python3-pip
        sudo python3 -m pip install --upgrade pip setuptools wheel
        sudo pip3 install Adafruit_SHT31
        sudo pip3 install Adafruit_GPIO
        sudo pip3 install automationhat
        sudo pip3 install influxdb
        sudo pip3 install flask
        sudo pip3 install schedule
  8. Install git and clone repo

        sudo apt-get install git -y
        git clone https://github.com/akushneruk/clima.git
  9. Install supervisor and import configs from ./supervisor_confgs. Check if status up and runnig !

INFO

Relays: GPIO 26 -- Lamp GPIO 6 -- Ventilation GPIO 13 -- Humidity

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published