Grafana is the answer to the nagging question we’be been asking ourselves over the years – how to quickly and nicely present our data gathered from devices. InfluxDB on the other hand is the database that is as easy and simple to use, thus making it an ideal candidate for this job.
Let me show you how to quickly and easily put our data from domoticz and other devices to InfluxDB and then using Grafana – display in much more useful way than default domoticz graphs do.
What will we need?
- bash scripts
- Raspberry Pi – 4B+
- OPTION: Raspberry Pi A/B/B+ lub Zero (armv6)
- OPTION: A different ARM based micro-computer (i.e.: OPi PC” rel=”noopener” target=”_blank”>Official Store – OrangePi PC using CPU H3/H2/H5) – they could be cheaper. It’s also entirely possible to use x86 computer with Debianem, but it’s going to eat way more than 4-6W when using ARM based. Here I used finally Orange Pi PC with latest armbian distribution, tested first on latest Raspberry Pi 2
Continue reading Domoticz part 5: Grafana, InfluxDB, Telegraf – beautiful and easy graphs
07-11-2017: Additional data from richer stations, Open-Smog Integration
20-12-2017: USB power control on Raspberry Pi 3, thanks to reader
02-03-2018: New API from GIOŚ Poland
SMOG is common nowadays in big cities. Let’s put together a working, precise own SMOG sensor, first for the 2,5 and 10 μm size particles. There is one issue – the choices are many, but only few are reliable, precise and have affordable price. Finally – after a log searching, I’ve chosen Nova Fitness SDS011:
- precision is OK
- fan included
- ability to mount a small tube to access external air
- very realiable
- UART with USB converter included
- Low Total cost: around $40 (with Orange Pi Zero) up to $60 (with Raspberry Pi)
Continue reading [UPDATED 03-02-2018] SMOG sensor – 2,5 and 10 micro meter particles
As a result, a both fresh and advanced user finds himself in a situation where the system – ceases to work at all, or requires frequent restarts, or worse causes quick degradation of the main storage device – which is often (micro) SD card.
Is there a simple and effective solution to increase Domoticz’s availability on Raspberry Pi / Orange Pi?
Sure there is! But first – before you begin – make a copy of your (micro)SD working used in domoticz instance on your Raspberry Pi/Orange Pi.
CAUTION: We will perform operations that may lead to the loss of all data – so make sure you have a copy!
What will you need?
- harddrive either classic HDD or better SSD, small is OK from 32GB up to 128GB
- heatsinks for Raspberry Pi/Orange Pi
- USB 2.0 or 3.0 to SATA adapter – so we can connect the harddrive via USB port
Continue reading Domoticz part 8 – Stable instance of Domoticz, 24/7/365 mode – high availability at home