The file describes a catalog of device profiles and shared energy constants.
All currents are in amperes [A], durations in seconds [s], energy is computed as
current·duration/3600 [Ah]. All common fields
are required — a file with a missing field is rejected with an error.
Root
| devices | array | yes | List of device profiles (min. 1). |
| common | object | yes | Shared model constants (below). Required. |
common
| usableCapacityFactor | number | yes | Fraction of nominal battery capacity usable down to the device cut-off voltage (0–1]. No default — required. |
| selfDischargePerYear | number | yes | Battery self-discharge as a fraction of nominal capacity per year. |
| capacitorLeakage | [A] | yes | Constant leakage current of the pulse capacitor [A]. E.g. 5e-6 (5 µA, worst case @80°C; 1 µA @20°C). |
| maxYears | number | yes | Upper lifetime limit [years] (Li-SOCl2 physics). |
| responseLength | number [B] | yes | Fixed server response size (data usage). Hidden in the UI. |
| eclMultipliers | object | yes | Radio cost multipliers (transmissions + network registration) per signal quality: { ecl0, ecl1, ecl2 }. |
| factors | object | yes | Energy constants [Ah] (below). |
| defaults | object | no | Initial form field values: measurementInterval, transmissionInterval, ackFrequency, ble, bleLevel. |
common.factors — number [Ah] or { current [A], duration [s], perDay / perYear }
| networkRegistration | [Ah] | object | yes | One network registration; perYear = registrations per year — a number (all ECL modes) or { ecl0, ecl1, ecl2 }. Cost per registration is still multiplied by eclMultipliers. |
| transmissionAckOn | [Ah] | object | yes | One acknowledged transmission (with ACK); count per day from the form. |
| transmissionAckOff | [Ah] | object | yes | One transmission without ACK; count per day from the form. |
| sleep | [Ah/day] | object | yes | Device sleep. Object without duration = continuous current (86400 s/day). |
| bleAdvertising | object | no | One BLE advertisement × perDay (when BLE = ON). levels: [{ current }, …] = advertising level 1…N (TX power), selectable in the form; shared duration, perDay. Takes precedence over blePerSecond. |
| blePerSecond | [Ah/s] | no | Legacy: energy of BLE advertising per second (when BLE = ON, 86400 s/day). |
devices[] — device profile
| name | text | no | Profile name (label in the selection list). |
| batteryCapacity | number [Ah] | yes | Device battery capacity [Ah]. Hidden in the UI. |
| measurementInterval | number [min] | no | Overrides common.defaults.measurementInterval for this device — set in the form when the device is selected. |
| channels | array | yes | Device measurement channels (min. 1). |
channels[] — channel
| type | number | no | Channel type (Efento enum, e.g. 1=temp., 50=temp+hum., 52=CO2+press., 5=OK/Alarm). Used for the label and for counting active channels. |
| name | text | no | Channel name (defaults from type). |
| current | [A] | yes* | Average current during a measurement. (*if no variants) |
| duration | [s] | yes* | Measurement duration. (*if no variants) |
| constantCurrent | [A] | no | Constant current drawn by the channel continuously (24/7), independent of measurements — e.g. OK/Alarm input monitoring. Energy = constantCurrent·24 [Ah/day]. Total device draw = sum over channels. Default 0. |
| variants | array | no | Measurement calibration variants (below). When >1 → a selector appears in the UI. When given, they replace the channel's current/duration. |
channels[].variants[] — calibration variant
| name | text | no | Variant name (e.g. "CO2 - 16 samples"). |
| current | [A] | yes | Average measurement current in this variant. |
| duration | [s] | yes | Measurement duration in this variant. |
Example