This is a fork of https://github.com/hsk-dk/home-assistant-thermex to add support in Homebridge. Big thanks to the original author!
Quick guide: A Thermex extractor hood supporting voicelink is needed (https://thermex.eu/advice-and-guidance/all-options/voicelink)
Setup API
- Check software version, minimum version is 1.30/1.10
2)Enable API and set password in native phone app from Thermex
Setup Homebridge
- Setup an MQTT server like mosquitto
- Install the plugin
homebridge-mqttthing
in Homebridge - Create two devices of any type in mqttthing. We'll change it in a second.
- Open the JSON config for mqttthing and paste this in the first device:
{
"type": "fanv2",
"name": "Thermex Emhætte",
"url": "mqtt://mosquitto:1883",
"accessory": "mqttthing",
"logMqtt": true,
"topics": {
"setActive": "thermex/set_active",
"getActive": "thermex/get_active",
"setRotationSpeed" : "thermex/set_speed",
"getRotationSpeed" : "thermex/get_speed"
}
}
- Paste this in the second device:
{
"type": "lightbulb-Dimmable",
"name": "Thermex Lys",
"url": "mqtt://mosquitto:1883",
"accessory": "mqttthing",
"logMqtt": true,
"topics": {
"getOn": "thermex/get_on",
"setOn": "thermex/set_on",
"getBrightness": "thermex/get_brightness",
"setBrightness": "thermex/set_brightness"
}
}
- Replace the IP and code (1234) for the Thermex hood and
mosquitto_hostname
inmain.py
to your setup - (Optional) change the
base_topic
inmain.py
and in Homebridge if needed