Prometheus
Prometheus is an open-source monitoring solution that allows for easily collecting metrics from a wide variety of devices and services. As ESPHome, and by that also GrowSmart, has native support for Prometheus metrics in the OpenMetrics format, you can use any software that supports collecting metrics in this format to e.g. display historical data in dashboards or send notifications if e.g. the water level your system is too low.
To collect metrics (or "scrape", in Prometheus lingo) your GrowSmart nodes, add the following to your Prometheus config:
scrape_configs:
[..]
### GrowSmart ###
- job_name: 'growsmart'
static_configs:
- targets:
- growsmart.local # GrowSmart Core
- growsmart-light.local # Smart Plug for Lights
- growsmart-fan.local # Smart Plug for Fan
relabel_configs:
- source_labels: [__address__]
target_label: instance