Skip to content
Server for a hydroponics garden monitoring system
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
server.py

README.md

Hydro Berry Pi

This script is part of a hydroponics garden monitoring system. Details of the system are here: http://blog.francoismaillet.com/indoor-nft-hydroponics/

The script currently fetches readings from sensors connected to a Pi as well as weather information from the OpenWeatherMap API and serves an endpoint that a Prometheus server can get the data from.

The sensors used are:

  • Ambiant light sensor: KY-018
  • Ambiant temperature sensor: DHT11
  • Water temperature sensor: DS18B20

Usage

Create a file named openweather_api_url.txt and put the OpenWeatherMap API URL that contains your key and the location for which you want to fetch the weather data.

Start the script and configure a Promethus server to fetch data from the route it serves.

You can’t perform that action at this time.