Connecting a Velux KLF 200 to MQTT
10K+
connecting the velux KLF 200 to MQTT and allow any MQTT client change the positions and receive the current positions of your shutter or blinds.
The architecture selection is done automatically and vlx2mqtt supports:
amd64 - most desktop PCs and serverARMv7 - Raspberry devices and other 32 bit arm boardARMv8 - 64 bit arm boards# MQTT broker related config
[mqtt]
host = 127.0.0.1
port = 1883
# login is optional, but password is needed if login is set
login = mqttlogin
password = mqttpassword
# root of the used topics
roottopic = vlx2mqtt
# topic for status messages
statustopic = status
## tls support since version 1.1
[tls]
enabled = no
allow_insecure = yes
cert_path = /certs/
# KLF200 related config
[velux]
host = VELUX_KLF_3CB3
password = klf200WiFiPassword
[log]
verbose = false
To run vlx2mqtt you need to override the configuration with you configuration
docker run -d \
-v /path/to/vlx2mqtt.cfg:/vlx2mqtt.cfg \
phpmonkeys/vlx2mqtt:latest
Using docker-compose the docker-compose.yml looks like:
version: '3'
services:
velux:
image: phpmonkeys/vlx2mqtt:latest
restart: always
volumes:
- vlx2mqtt.cfg:/vlx2mqtt.cfg
- ./certs/:/certs/
Content type
Image
Digest
Size
21.8 MB
Last updated
over 5 years ago
docker pull phpmonkeys/vlx2mqtt