homebridge-comelit-sb-platform

Comelit Serial Bridge support for Homebridge: https://github.com/nfarina/homebridge

Usage no npm install needed!

<script type="module">
  import homebridgeComelitSbPlatform from 'https://cdn.skypack.dev/homebridge-comelit-sb-platform';
</script>

README

npm version

Comelit Serial Bridge integration for Homebridge

verified-by-homebridge Comelit

This is an Homebridge platform plugin to expose Comelit Serial Bridge Automation to Apple HomeKit and use it with Siri. The code uses API exposed by the official Comelit WEB admin.

Currently supported devices:

  • Simple lights
  • Blinds
  • Thermostats
  • Controlled plugs
  • Dehumidifiers (beta)

Missing devices:

  • RGB lights
  • Dimmerable lights
  • Irrigation

Configuration

To configure Comelit platform you need to provide some information in the configuration. Add the following section to the platform array in the Homebridge config.json file:

{
  "platform": "Comelit Serial Bridge",
  "name": "My awesome house",
  "bridge_url": "192.168.1.2",
  "bridge_port": 80
}

VEDO alarm support

VEDO alarm supported has been moved to a separate plugin: https://github.com/madchicken/homebridge-comelit-vedo

Advanced configuration

The plugin configuration allows you to add some special parameter in the advanced section.

  • update_rate_sec - the timeout in seconds to pull for device status from the bridge. Default is to update every 5 seconds
  • stop_blinds - This flag tells to the plugin if it should send the stop signal after the shutter is completely rolled up or down. Some installations need it.
  • blind_closing_time - If the stop_blinds flag is set to true, this will represent the number of seconds the plugin will send the stop signal to a blind/shutter. Default is 35 seconds.
  • avoid_duplicates - If the flag is on, then the platform will try to not duplicate names for mapped devices. For example, if you have a light and a thermostat both named kitchen one of them will get the name kitchen (2). Useful when you are using Alexa plugin than doesn't allow name duplicates.
  • hide_lights: boolean - true to hide lights to HomeKit
  • hide_blinds: boolean - true to hide blinds to HomeKit
  • hide_thermostats: boolean - true to hide thermostats to HomeKit
  • hide_dehumidifiers: boolean - true to hide dehumidifiers to HomeKit
  • hide_power_suppliers: boolean - true to hide power suppliers (aka "Controllo Carichi") to HomeKit
  • hide_outlets: boolean - true to hide outlets to HomeKit
  • invert_plugs_status: boolean to use outlets in N/O mode (instead of N/C)

Example of advanced config:

{
  "platform": "Comelit Serial Bridge",
  "bridge_url": "192.168.1.2",
  "bridge_port": 80,
  "advanced": {
    "update_rate_sec": 2,
    "stop_blinds": true,
    "blind_closing_time": 40,
    "avoid_duplicates": true,
    "hide_dehumidifiers": true
  }
}

Version History

  • 1.0.0 - Initial version
  • 1.1.0 - Removed Vedo support (moved to separate plugin)
  • 1.2.0 - Added dehumidifier support (beta)
  • 1.2.1 - Bug fixing
  • 1.2.2 - Do not map dehumidifier if not supported by the system
  • 2.0.0 - Homebridge 1.1.0 compatibility update
  • 2.1.0 - Bug fixing
  • 2.2.0 - Bug fixing
  • 2.3.0 - Added invert_plugs_status flag for outlets

Screenshots

Home application screenshot