Skip to content
GC edited this page Jun 3, 2024 · 14 revisions

Comelit SimpleHome and Comelit Vedo integration for Home Assistant

GitHub Release GitHub Release Test Coverage License

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Comelit SimpleHome and Comelit Vedo integration lets you connect your Home Assistant instance to Comelit Simple Home and Vedo systems.

Installation

  • Install using HACS (Or copy the contents of custom_components/comelit/ to <your config dir>/custom_components/comelit/.)
  • Add the following to your <your config dir>/configuration.yaml file:
# Comelit Hub/Vedo
comelit:
  hub:
    host: HUB IP ADDRES
    port: 1883
    mqtt-user: hsrv-user
    mqtt-password: sf1nE9bjPc
    username: 'HUB USER'
    password: 'HUB PASSWORD'
    serial: HUB SERIAL
    client: homeassistant
    scan_interval: 2
  vedo:
    host: VEDO IP ADDRESS
    port: 80
    password: 'VEDO PASSWORD'
    scan_interval: 30
    binary_sensors: disable

NOTE: Comelit Vedo motion sensors are disabled by default.

  • Restart Home Assistant

How to find the hub serial?

Comelit app

  • Open the Comelit app
  • Scan for a new hub device
  • Copy the serial (remove all non-numeric characters, i.e. 'hsrv-0123456789' -> '0123456789' )

app

Supported features

  • Lights
  • Shutters
  • Energy Production
  • Energy Consumption
  • Temperature/Humidity
  • Automation
  • Scenario
  • Alarm

The integration also exports the alarm sensor as a presence detector. It allows presence-based lights, scenes, and so on.

Comelit scenario

The integration supports the comelit scenario. It exports the scenario as a scene. A scene can be useful for exporting some VIP features (such as opening the door) which, otherwise, cannot be fully reachable through the Hub.

Lovelace example

Below is an example of lovelace:

- type: entities
  title: Test
  entities:

# lights
  - entity: light.comelit_light_garage
    name: Garage
  - entity: light.comelit_light_bathroom
    name: Bathroom

# power
  - entity: sensor.comelit_power_prod_ftv
    name: Production
  - entity: sensor.comelit_power_cons
    name: Consume

# door lock
  - entity: scene.comelit_doorlock
    name: Door lock
    icon: mdi:key

# switch
  - entity: switch.comelit_switch1
    name: Switch1
    
# clima
  - entity: climate.comelit_bathroom
    name: Bathroom
  - entity: climate.comelit_living
    name: Living

# humidity
  - entity: sensor.comelit_humidity_bathroom
    name: Bathroom
  - entity: sensor.comelit_humidity_living
    name: Living
    
# temperature
  - entity: sensor.comelit_temperature_bathroom
    name: Bathroom
  - entity: sensor.comelit_temperature_living
    name: Living

# shutters
  - entity: cover.comelit_living
    name: Living
  - entity: cover.comelit_kitchen_sx
    name: Kitchen

# vedo Alarm
  - entity: binary_sensor.comelit_vedo_garage
    name: Garage
  - entity: alarm_control_panel.comelit_vedo_garage
    name: Garage

Comelit VIP

Open the door

Opening the door requires creating a scenario from the simple prog. First, you need to create the new scenario 'opendoor'. The scenario activates the relay (onboard of the external VIP unit)

scenario

Then, the comelit integration will automatically discover the new entity 'scene.comelit_opendoor' Below is an example, in lovelace, for calling the service

  - type: button
    icon: mdi:door
    name: Door
    tap_action:
      action: call-service  
      service: scene.turn_on
      service_data:
        entity_id: scene.comelit_opendoor