- **Why UI and not YAML?** The `influxdb:` YAML configuration did not work on HA 2026.3.1. The UI-based integration was the only method that successfully connected and started pushing data.
- **YAML cleanup:** The `influxdb:` block was removed from `configuration.yaml` to avoid conflicts.
---
## 3. Recorder Tuning
To reduce SQLite DB writes and I/O pressure on the HA host, recorder settings were added to `configuration.yaml`.
### Configuration
```yaml
recorder:
purge_keep_days: 7
commit_interval: 30
```
| Setting | Value | Purpose |
|---------|-------|---------|
| `purge_keep_days` | 7 | Keep only 7 days of history in the SQLite DB |
- **Grid consumption** (import/export, net metering)
- **Voltage** (L1, L2, L3 phases)
- **Frequency** (grid frequency monitoring)
#### 🌡️ Climate
- Indoor/outdoor **temperature** (all sensors)
- **Humidity** (indoor rooms, outdoor)
- **Weather** (forecast vs actual, pressure, wind)
#### 📷 Security Cameras
- Camera **status** (online/offline)
- Motion **event counts**
- Stream health and uptime
---
## 5. Known Issues
| Issue | Status | Notes |
|-------|--------|-------|
| **HA 2026.3.1 InfluxDB YAML config** | ⚠️ Workaround applied | YAML `influxdb:` block didn't work. UI-based integration is the only working method. |
| **HA update pending** | ⚠️ Available | HA 2026.6.4 is available. Upgrade may change InfluxDB integration behavior — test after upgrade. |
| **No network bandwidth data in HA** | ℹ️ By design | UniFi traffic/bandwidth data flows to Zabbix, not HA. No plan to change. |
| **No Zabbix → InfluxDB streaming** | ❌ Not configured | Zabbix metrics are not yet streamed to InfluxDB. Future enhancement: could pipe Zabbix alerts/metrics into InfluxDB for unified Grafana dashboards. |