mariolukas / docker-co2-monitoring Goto Github PK
View Code? Open in Web Editor NEWA Docker environment with Grafana, InfluxDB, Telegraf and Mosquitto for monitoring Co2 values.
License: GNU General Public License v3.0
A Docker environment with Grafana, InfluxDB, Telegraf and Mosquitto for monitoring Co2 values.
License: GNU General Public License v3.0
Hi and thanks for the awesome project!
the repo is missing the newly added mosquitto.conf
which is referenced in docker-compose.yml
(commit 2a09964)
could you please add it?
Thank you
AFAICS there's only a reference to the IP address of the device... which supposedly relates to versions of the Watterott CO2 Ampel that have a Wifi card (hence APIs ?)
What would be the way to acquire sensor values over USB/serial so as to route them to the DB/graphing stuff ?
Or I misunderstood how some of the containers are supposed to be playing that role...
FWIW, I'm trying to run on Linux, and have permission issues for Grafana:
$ sudo docker-compose up
Starting mosquitto ... done
Starting influxdb ... done
Starting grafana ... done
Starting telegraf ... done
Attaching to influxdb, mosquitto, grafana, telegraf
influxdb | 2021-03-14T18:03:57.045466240Z info found existing boltdb file, skipping setup wrapper {"system": "docker", "bolt_path": "/var/lib/influxdb2/influxd.bolt"}
grafana | GF_PATHS_DATA='/var/lib/grafana' is not writable.
mosquitto | 1615745037: mosquitto version 2.0.9 starting
mosquitto | 1615745037: Config loaded from /mosquitto/config/mosquitto.conf.
mosquitto | 1615745037: Opening ipv4 listen socket on port 1884.
mosquitto | 1615745037: mosquitto version 2.0.9 running
mosquitto | 1615745038: New connection from 172.19.0.5:36164 on port 1884.
telegraf | 2021-03-14T18:03:58Z I! Starting Telegraf 1.17.3
mosquitto | 1615745038: New client connected from 172.19.0.5:36164 as Telegraf-Consumer-1nE0S (p2, c1, k60).
mosquitto | 1615745038: Telegraf-Consumer-1nE0S 0 sensors
grafana | You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
Will try to report if I find a suitable workaround
The instructions are a bit unclear on the role of the different containers orchestrated through the compose setup.
Could you provide a bit more detailed description of what mosquitto, telegraph, grafana and influx are doing ?
Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.