With Comelit Hub/Vedo integration, you can connect your Home Assistant instance to Comelit Simple Home and Vedo systems.
Copy this folder to <config_dir>/custom_components/comelit/
.
Add the following to your 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
Execute the mosquitto client and look at the output
mosquitto_sub -v -h 192.168.188.21 -u hsrv-user -P sf1nE9bjPc -t 'HSrv/002529170576/rx/localClient-fS6w9JFmSjA' -p 1883 -i 654321
It prints the full topic name, like below:
HSrv/SERIAL/tx/localClient-XXXX
- Open the Comelit app
- Scan for a new hub device
- Copy the serial
- 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.
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 open the door) which, otherwise, cannot be fully reachable through the Hub.
Below is an example with 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
# clima
- entity: switch.comelit_switch_clima
name: Clima
# humidity
- entity: sensor.comelit_humidity_bathroom
name: Bathroom
- entity: sensor.comelit_humidity_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