Skip to main content
Connect Butlr to KODE OS for occupancy data integration

Overview

Use this integration to connect Butlr occupancy sensors to KODE OS. You can discover zones and devices, receive pushed webhook updates for live conditions, and map people counts, heatmaps, and zone occupancy into your building graph for analytics and operations.

Supported Capabilities

  • Discover Devices & Points
  • Collect Sensor Data
  • Collect Non-Sensor Data
  • Receive Webhook Data
  • Collect Historical Data

Prerequisites

To integrate with the Butlr API, ensure you have the following details:
  • An active account in https://app.butlr.io with the appropriate access permissions.
  • Valid username and password credentials for Butlr platform.

Generate API Credentials

  • Go to the Butlr Web App.
  • Sign in using your username and password.
  • Click the expandable menu (v) in the top navigation bar (upper right corner) and select Account Settings.
  • Navigate to the API tokens tab.
  • Click the Create token button.
  • Enter a Name and a Description, then click Create.
  • A dialog box will display your Client ID and Client Secret. After completing the steps above, your Client ID and Client Secret will be used in the next step. ⬇️

Configure Webhook

This integration uses webhooks for real-time data delivery. After creating the connector in KODE OS:
  1. Copy the webhook URL provided on the connector detail page
  2. In the Butlr platform, navigate to the webhook or notification settings
  3. Add a new webhook endpoint using the KODE OS URL
  4. Configure the authentication header as specified on the connector detail page
  5. Save and enable the webhook

Configure Connector in KODE OS

  1. Navigate to Data Sources in your building
  2. Click API Catalog and search for Butlr
  3. Click + Add Datasource
  4. Complete the three-page setup flow using the credential prerequisites for this integration
Connector field metadata is not exposed in code for this integration. Configure the connector using your standard credentials and endpoint details shown in the prerequisites and vendor onboarding references.

Discover Devices and Points

After configuring the connector, click Discover on the connector detail page. KODE OS will query the Butlr 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 Butlr, KODE OS maps them to the following device types and data points:

Presence / Occupancy Sensor

Canonical Type: presenceDetection

What Data You Get

Point History

Time-series readings including count, status, in, out, collected at regular intervals from connected devices

Event Logs

System and security event records with timestamps, event types, and associated devices KODE OS maps Butlr data to these standard fields:

Polling Schedule

  • Point History — Default polling: 5 minutes (min: 5 minutes, max: 1 hours)
  • EventLog
For more details on collection modes, see the Data Collection guide.

Use Cases

Once connected, this integration enables you to:
  • Track real-time space utilization rates across floors and zones
  • Optimize HVAC and lighting schedules based on actual occupancy patterns
  • Generate utilization reports to inform space planning and real estate decisions

Troubleshooting

Verify that the credentials are correct and have not expired. Check that the URL is reachable from the KODE OS environment. Double-check all credential fields match the values from the Butlr platform.
Verify the webhook URL is correctly registered in the Butlr platform. Check that the authentication header matches the value from the KODE OS connector detail page. Ensure the Butlr system can reach the KODE OS webhook endpoint over the network.
Verify the connector credentials have sufficient permissions in the Butlr system to list devices. Run a test connection first to confirm connectivity. Some systems require specific API scopes or roles for device enumeration.
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 Butlr API.
Last modified on March 29, 2026