Web interface for the terrarium/aquarium/vivarium control TerraPiPy.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
adminlte
images
includes
.gitattributes
.gitignore
LICENSE
README.md
_footer.php
_header.php
actuator.php
animals.php
config.php.example
emergencyshutdown.php
feeding.php
index.php
messages.php
sensor.php
system.php
terrarium.php
terrariumconfig.php
weather.php
webcam.php

README.md

TerraPiPy Logo

TerraPiPy is a collection of different projects to create easy to use tools for terrarium/aquarium/vivarium control and automation for the Raspberry Pi. TerraPiPy is short for "Terrarium + Raspberry Pi + Python" because snakes are cool (and some parts are written in Python). The system can be run on a Raspberry Pi to setup, monitor and control pimatic to use many terrariums, aquariums and vivariums. A website is provided as a dashboard and the info tool provides data providers for other systems.

☀️ ☁️ 🌙 ➡️ ⚡️ ➡️ 🐍 🐠 🐢 🐸 ➡️ 😍

TerraPiPy Core, TerraPiPy Web and TerraPiPy Info

TerraPiPy Core or just TerraPiPy is a collection of tools, pre defines configurations and articles for best practices to geht pimatic up and running. Optionally TerraPiPy Web shows the data on a beautiful website.

Screenshot

Features of TerraPiPy Web

CURRENT STATUS: GUI PROTOTYPE

  • Dashboard
  • Dashboard per terrarium, aquarium and vivarium
  • Sensor overview
  • Emergency shutdown
  • Animal database
  • Feeding reminder
  • Actuator control

Screenshot

Installation

Install nginx or apache and PHP

sudo apt-get install nginx
sudo /etc/init.d/nginx start
sudo apt-get install php5-fpm php5-curl

sudo nano /etc/nginx/sites-available/default

Add index.php and uncomment the marked lines.

index index.html index.htm index.nginx-debian.html;
=>
index index.php index.html index.htm index.nginx-debian.html;

location ~ \.php$ {
    include snippets/fastcgi-php.conf;
    fastcgi_pass unix:/var/run/php5-fpm.sock;
}

Test installation.

cd /var/www/html
sudo mv index.nginx-debian.html index.php

Insert code to index.php and open your browser for http://IP_OR_NAME_FROM_RASPBERRY_PI/

<?php echo phpinfo(); ?>

Change permission for pi user.

cd /var/www/
sudo chgrp -R users html
sudo chmod -R g+w html

Install TerraPiPy Web

cd /var/www/html
git clone https://github.com/spech66/terrapipy-web.git terrapipy
cd terrapipy
cp config.php.example config.php
nano config.php    

Open your browser and visit http://IP_OR_NAME_FROM_RASPBERRY_PI/terrapipy/

Libraries

TerraPiPy Web makes use of external libraries.

Other

Logo based on CC0 Image from https://pixabay.com/en/snake-python-serpent-green-reptile-312561/