Document Bento spreader 3 deployment

This commit is contained in:
admin committed 2026-10-02 20:39:45 +02:00
1 parent 7ff3087775
commit c0d1c0aa79
4 files changed
+159 -63

No files matched your search

+32 -13
View File
@@ -99,11 +99,13 @@ an exact per-order yield needs WIP/transport-delay accounting.
## Bento 1 bentonite-powder integration
Bento 1 bentonite-powder consumption is the next planned application of the
same generic integration mechanism. Its ENLYZE source variable and its
validity/gating logic have not yet been selected or validated; both must be
determined from Bento 1 process data before implementation. Bento 1 does not
need a separate subsystem or calculation formula.
Bento 1 uses the generic integration mechanism for fresh-bentonite spreaders
1+2 and a separate Spreader 3 source using `linear_signal_discharge`. Spreader 3
may carry bentonite or sand; material identity is not inferred, and only its
bentonite calibration is implemented. It is not automatically aggregated into
`bento1-fresh-bentonite-consumption`. Its dedicated service is deployed and
verified. See [Bento 1 material documentation](docs/bento1-fresh-bentonite.md)
for signals, calibration, validation and runtime details.
## Quantity-total interpretation
@@ -162,12 +164,29 @@ historical-only calculation path.
## Power-meter pipeline
The generic `power_meter` package collects configured ENLYZE meters into
TimescaleDB/PostgreSQL. The B2 example uses only verified UUIDs for machine,
energy total, active power total and grid frequency. Power-outage counting is
supported by schema/repository but remains unset until the real UUID is present
in local raw exploration data. Counter decreases start a new epoch and record
the new counter value as the increment; the first observation establishes a
baseline with zero increment. Optional phase power is stored as JSONB and does
not require L2. `report monthly` reads the database directly, writes
TimescaleDB/PostgreSQL. As of 2026-10-01, the collector is running for B2 with total active power,
L2 active power, total energy, grid frequency, and Power Outages
(operator-confirmed production state; sandbox systemd access cannot independently
confirm live status). Both additional signals are verified and configured.
| B2 signal | Verified ENLYZE UUID | Register |
| --- | --- | --- |
| L2 active power | `d9ae584e-551b-44b8-a822-3cf9554e77e4` | `3055` |
| Power Outages | `ea1f1f51-1758-4818-8ec3-fbb4b76d1a77` | `1828` |
The deployed service is `production-analytics-power-meter.service`, running B2
with `--follow` at a 60-second interval. Systemd loads the repository `.env`;
the CLI explicitly loads `secrets/enlyze.env` then `secrets/postgres.env`, whose
values override the environment in that order. The CLI does not automatically
load `.env`. Effective settings must include ENLYZE base URL/API key and all
five PostgreSQL connection settings. See the [production runbook](README.md#production-service-and-runtime-settings)
for secret-file requirements and start/restart/status/log commands.
Counter decreases start a new epoch and record the new counter value as the
increment; the first observation establishes a baseline with zero increment.
Optional phase power is stored as JSONB; B2 includes L2. `report monthly` reads
the database directly, writes
`<mount>/<meter>/<year>/<meter>_Powermeter_<YYYY-MM>.pdf`, and persists report
metadata independently of Grafana.
metadata independently of Grafana. **The SMB report mount at
`/mnt/reports/energy` is still pending**, so production report delivery remains
pending; collection is independent of the mount.