Skip to content

whitej6/AquaPy

Repository files navigation

AquaPy

DRF base aquarium controller

Grafana Base Dashboard

Screenshot of main page

Parts List

Base Installation

  1. Assemble Raspberry Pi including Whitebox Labs Tentacle T3
  2. Using Raspberry Pi Imager on another PC, image microSD card with Raspbian OS
  3. Insert microSD card into Raspberry Pi and connect a keyboard, mouse & monitor
  4. Perform initial setup
  5. Launch terminal
  6. sudo raspi-config
    1. Select Interfacing Options Interfacing Options
    2. Select I2C I2C
    3. Select Yes I2C Enabling
    4. Select OK
  7. Clone the repository
  8. cd AuqaPy
  9. ./install.sh

Grafana Base Configuration & Loading Base Dashbaord

  1. In a web browser navigate to the IP address of the Raspberry Pi
  2. Login with default credentials for Grafana and change initial password
    • username: admin
    • password: admin
  3. Select Data Sources from Settings menu Settings Menu
  4. Select InfluxDB from list
  5. Populate the following information and click Save and Test
    • Name: InfluDB
    • URL: http://influxdb:8086/
    • Access: Server (default)
    • Whitelisted Cookies: Leave blank
    • Auth: Leave all sections disabled
    • Database: aquapy
    • User: aquapy
    • Password: notverysecurepwd ## This is the default password, if you'd like to change please change INFLUXDB_USER_PASSWORD in aquapy.env Configure InfluxDB
  6. Import base Grafana Dahboard
    1. Click the + symbol then click import Import
    2. Click Upload JSON file and navigate to location of grafana.json file from repo and upload
    3. Click Import