Skip to content

excalq/brewing-sensors-iot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brewing Sensors via ESP32 to MQTT and ELK

Author: Arthur Kepler for Oort Cloud Brewing (our brew collective)

Date: Published October 11, 2020

Description

This set of two sensors, which share a breadboard with an ESP32 devboard, captures temperature, humidity, and gas pressure, reporting it back to an MQTT and ELK stack server.

The pressure sensor is connected to a tee fitting between the CO2 tank and the keg.

Requirements

Hardware

Software

  • Arduino IDE (or your favorite IoT IDE, etc.)
  • MQTT broker on a host server (Tested with Mosquitto)
  • Python3 (Tested on v3.5) on host server
  • ELK Stack (Optional) (index export needs 6.5+, Kibana Viz export needs 7.3+) It's easy to recreate the index and visualization without importing my .ndjson export.

Arduino Libraries

Pip Modules

pip3 install paho-mqtt
pip3 install elasticsearch

Components

  1. arduino-ide-code/brewing-sensors.ino: Arduino C++ code, tested and uploaded via Arudino IDE
  2. ELK/mqtt-to-elasticearch.py: Python script to read from MQTT and publish to Elasticsearch
  3. ELK/kibana-chart-export.ndjson: Export of Kibana saved-objects for the oort_sensors-*

Install Notes

Update brewing-sensors.ino with your WIFI and MQTT server config.

Optionally change references of oort_sensors-* to an ELK index name of your choosing.

About

Brewing Sensors via ESP32 to MQTT and ELK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published