Skip to content

The Basic Prawnalith

Pre-release
Pre-release
Compare
Choose a tag to compare
@Terkwood Terkwood released this 26 Nov 05:17
· 42 commits to unstable since this release
3f95012

Implements a gated frontend in Rust/webassembly which renders temp & pH levels of tanks.

Provides support for continuous sensing of pH levels using a SEN0169 pH sensor linked to an ESP8266 microcontroller.

Provides basic temperature readings for a given aquarium, using a DS18B20 temp sensor hooked to an ESP8266 microcontroller.

Displays temp and pH readings on remotely networked LED arrays.

Provides a "pH Reference Calibration" webservice which allows pH sensors to query their high & low pH calibration values in millivolts when coming online.

Includes several docker images and config which can be hosted on a Raspberry Pi 3 B+. These include:

  • ph & temp sensor tracker (listens for temp & pH updates provided by ESP8266 over MQTT and writes them to database)
  • led status helper (polls database for the temp & pH of individual tanks, and pushes a formatted message to MQTT; this can be read by LED microcontroller units)
  • redis update aggregator (pushes temp & pH level updates to google cloud/pub sub)
  • grafana setup in docker compose
  • mosquitto setup in docker compose
  • influx setup on docker compose (stores data queried by grafana)
  • redis setup in docker compose (stores miscellaneous data, including tank status for LED display)

Includes basic examples of pH meter readings using an Arduino, and serial communication between an Arduino wired to an ESP8266.

Includes configuration for a google container OS instance. Runs a small Rocket.rs webserver which can broker temp & pH data requests for the frontend and receive updates to these levels from google cloud pub/sub push mechanism.

Frontend Sample

sensor HUD