How intimaria/okarina works
OKARINA is an environmental telemetry platform: ESP32 sensor nodes and a Tuya meter publish readings over MQTT, Telegraf ingests them into InfluxDB, and Grafana and a lightweight web view expose results. Ansible provisions the server and stack. The README documents the main deployment and telemetry links; the query and Tuya publisher excerpts additionally show their direct runtime interactions. Other links reflect documented configuration, not inspected implementation details.
Main entry points: mosquitto.conf MQTT broker · docker-compose.yml InfluxDB · query.py Latest data query · telegraf.conf Telegraf ingestion
Components 14
Sensors and publishers
- ESP32 sensor nodes
firmware - Tuya meter publisher
tuya-publisher/publisher.py
Telemetry ingestion
- MQTT broker
mosquitto/mosquitto.conf - Telegraf ingestion
telegraf/telegraf.conf - InfluxDB
docker-compose.yml
Monitoring views
- Latest data query
web/latest-json/query.py - Latest JSON file
web/latest-json/query.py - Web pages
web/site/index.html - Grafana dashboards
grafana/provisioning/dashboards - Grafana datasource
grafana/provisioning/datasources/influxdb.yaml
Deployment and access
- Ansible provisioning
ansible/playbook.yml - Container stack
docker-compose.yml - Cloudflare Tunnel
docker-compose.yml
Other components
- Dashboard visitor
Connections 12
- ESP32 sensor nodes → MQTT broker: publishes telemetry
README.md - Tuya meter publisher → MQTT broker: publishes telemetry
tuya-publisher/publisher.py - MQTT broker → Telegraf ingestion: feeds MQTT
README.md - Telegraf ingestion → InfluxDB: writes readings
README.md - Latest data query → InfluxDB: queries readings
web/latest-json/query.py - Latest data query → Latest JSON file: writes JSON
web/latest-json/query.py - Web pages → Latest JSON file: reads JSON
web/latest-json/query.py - Grafana datasource → InfluxDB: configures datasource
README.md - Dashboard visitor → Grafana dashboards: views dashboards
README.md - Ansible provisioning → Container stack: provisions stack
README.md - Dashboard visitor → Cloudflare Tunnel: accesses Grafana
README.md - Cloudflare Tunnel → Grafana dashboards: routes traffic
README.md