Power Monitoring Mains Settings Read Payload
Payload emitted when the observer lambda intercepts a GET /api/settings/power_monitoring/mains/connection. Captures the currently configured mains monitoring settings at time of read.
| $id | https://schemas.texecom-prod.com/v2/events/payload/cloud/internal/power_monitoring/mains/settings_read/v1.0.0.json |
| $schema | http://json-schema.org/draft-07/schema |
Properties
serial
| Description |
Panel serial number extracted from the MQTT topic path (device/{serial}/...). |
| Type | String |
| Required |
Yes |
hardwareId
| Description |
Panel primary key in the device service DB, resolved via serial lookup (device.hardware.hardware_id). |
| Type | String |
| Required |
Yes |
| Format |
uuid |
enabled
| Description |
Whether mains 12V connection monitoring is enabled. Maps to firmware enabled field. |
| Type | Boolean |
| Required |
Yes |
thresholdAdc
| Description |
ADC threshold used to determine mains supply presence. Mains present if ADC >= threshold. Maps to firmware threshold_adc (default: 7966). |
| Type | Integer |
| Required |
Yes |
Schema
{
"$id": "https://schemas.texecom-prod.com/v2/events/payload/cloud/internal/power_monitoring/mains/settings_read/v1.0.0.json",
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Power Monitoring Mains Settings Read Payload",
"description": "Payload emitted when the observer lambda intercepts a GET /api/settings/power_monitoring/mains/connection. Captures the currently configured mains monitoring settings at time of read.",
"type": "object",
"properties": {
"serial": {
"description": "Panel serial number extracted from the MQTT topic path (device/{serial}/...).",
"type": "string"
},
"hardwareId": {
"description": "Panel primary key in the device service DB, resolved via serial lookup (device.hardware.hardware_id).",
"type": "string",
"format": "uuid"
},
"enabled": {
"description": "Whether mains 12V connection monitoring is enabled. Maps to firmware enabled field.",
"type": "boolean"
},
"thresholdAdc": {
"description": "ADC threshold used to determine mains supply presence. Mains present if ADC >= threshold. Maps to firmware threshold_adc (default: 7966).",
"type": "integer"
}
},
"required": [
"serial",
"hardwareId",
"enabled",
"thresholdAdc"
],
"additionalProperties": false
}