|
| 1 | +# Cooling Tower Integration — Value |
| 2 | + |
| 3 | +Publish integration values for CoolingTower control points. |
| 4 | + |
| 5 | +**Direction:** Publish (send) |
| 6 | + |
| 7 | +## Channel |
| 8 | + |
| 9 | +```text |
| 10 | +BMS/v1/{integration}/Value/CoolingTower/{pointType}/{tagPath} |
| 11 | +``` |
| 12 | + |
| 13 | +Values published by integrations for CoolingTower control points. |
| 14 | +Subscribe to `BMS/v1/PUB/Metadata/CoolingTower/#` and publish only when that metadata payload includes an `integration` field whose value matches the publishing integration identifier. |
| 15 | +That matching metadata payload indicates the integration can publish values to this topic. |
| 16 | + |
| 17 | +**MQTT wildcard examples** |
| 18 | + |
| 19 | +- All integration CoolingTower values: `BMS/v1/+/Value/CoolingTower/#` |
| 20 | + |
| 21 | +### Parameters |
| 22 | + |
| 23 | +| Parameter | Description | |
| 24 | +|-----------|-------------| |
| 25 | +| `integration` | Integration identifier. | |
| 26 | +| `pointType` | Integration-published CoolingTower point type. Values: `GenericPoint` | |
| 27 | +| `tagPath` | Must match the tagPath from the corresponding BMS metadata exactly. | |
| 28 | + |
| 29 | +## Message: Point Value |
| 30 | + |
| 31 | +**Content Type:** `application/json` |
| 32 | + |
| 33 | +Live value message. Payload envelope is identical for all point types. |
| 34 | +The semantic meaning of `value` is determined by the corresponding |
| 35 | +metadata message. |
| 36 | + |
| 37 | +### Payload |
| 38 | + |
| 39 | +| Name | Type | Required | Description | |
| 40 | +|------|------|----------|-------------| |
| 41 | +| `value` | number or null | Yes | Live reading for the point (float). May be null when the BMS has no valid reading available. | |
| 42 | +| `timestamp` | integer | Yes | Unix timestamp in epoch milliseconds (source event time). | |
| 43 | +| `quality` | integer | Yes | `1` = good quality. Any other integer indicates value is not trustworthy | |
| 44 | + |
| 45 | +<Accordion title="Example payload"> |
| 46 | + |
| 47 | +````json |
| 48 | +{ |
| 49 | + "value": 22.96215, |
| 50 | + "timestamp": 1743620423000, |
| 51 | + "quality": 1 |
| 52 | +} |
| 53 | +```` |
| 54 | + |
| 55 | +</Accordion> |
0 commit comments