Connect Connected Sensors to KODE OS for leak detection data integration
Overview
Use this integration to ingest Connected Sensors water and leak telemetry into KODE OS over MQTT. You discover devices and collect historical point data for monitoring usage and leak-related signals.Supported Capabilities
- Discover Devices & Points
- Collect Sensor Data
- MQTT Data Collection
Prerequisites
- Access to the MQTT broker used by Connected Sensors
- Broker hostname, port, and credentials
- KODE OS environment with access to Data Sources
Generate API Credentials
- Log in to the Connected Sensors platform or admin console
- Navigate to the API settings, developer section, or account settings
- Generate a new API key or token
- Copy the key and store it securely — you will need it when configuring the connector in KODE OS
Configure Connector in KODE OS
- Navigate to Data Sources in your building
- Click API Catalog and search for Connected Sensors
- Click + Add Datasource
- Fill in the fields below and complete the three-page setup flow
Discover Devices and Points
After configuring the connector, click Discover on the connector detail page. KODE OS will query the Connected Sensors system and return a list of available devices and their data points. Review the discovered items and select the devices you want to register in KODE OS. For more details on the discovery process, see the Discovery guide.Devices and Points
When you discover devices from Connected Sensors, KODE OS maps them to the following device types:- Leak Detection Sensor (
leakDetection)
What Data You Get
Point History
Time-series sensor readings such as temperature, humidity, CO2, occupancy counts, energy consumption, light levels, and other measurable values from physical sensorsPolling Schedule
- Point History — Default polling: 5 minutes (min: 5 minutes, max: 1 hours)
Use Cases
Once connected, this integration enables you to:- Receive real-time alerts when water leaks or abnormal flow is detected
- Track leak event history and response times for compliance reporting
- Correlate water consumption data with leak detection sensors
Troubleshooting
No data arriving from MQTT broker
No data arriving from MQTT broker
Verify the MQTT broker hostname, port, and credentials. Check that the topic patterns match the topics being published by the Connected Sensors devices. Ensure the MQTT client has subscribe permissions.
Discovery returns no devices
Discovery returns no devices
Verify the connector credentials have sufficient permissions in the Connected Sensors system to list devices. Run a test connection first to confirm connectivity. Some systems require specific API scopes or roles for device enumeration.
Data collection stops or gaps appear
Data collection stops or gaps appear
Check the connector status on the Data Sources page. If the status shows an error, review the error logs on the connector detail page. Common causes include expired credentials, network changes, or rate limiting by the Connected Sensors API.

