A Python module providing a Home Assistant MQTT Discovery interface to communicate with Viessmann heaters via vcontrold.
- Home Assistant Integration: Automatic device and entity discovery via MQTT
- vcontrold Backend: Communicates with Viessmann heating systems through vcontrold
- Real-time Updates: Periodic polling and state updates
- Bidirectional Control: Read sensor values and control settable parameters
- Single Device: All entities are grouped under one Home Assistant device
Create a virtual environment:
python -m venv .venv
. .venv/bin/activate
# fish users: . .venv/bin/activate.fishInstall package (plus dependencies) in the virtual environment:
pip install .Run as a console script:
pyvclient --log src/conf/logging.yaml src/conf/config.yamlQuick Start:
-
Copy the configuration template:
cd src/conf cp config.yaml.template config.yaml -
Edit
config.yamlwith your settings (MQTT broker, vcontrold host, credentials)
Important: config.yaml is excluded from version control to protect your credentials.
For detailed configuration instructions, see CONFIGURATION.md.
The application will automatically:
- Connect to MQTT broker
- Publish Home Assistant discovery configurations
- Start periodic updates for all configured properties
- Subscribe to command topics for settable entities
- Configuration Guide - Detailed setup instructions
- MQTT Topics - MQTT topic structure and payloads
- Utility Meter Setup - Home Assistant Energy Dashboard integration
- Migration Guide - Migrating from Homie 4 to HA MQTT Discovery
Once running, the Viessmann heating system will appear in Home Assistant as a single device with multiple entities:
- Sensors: Temperature readings, counters, system time
- Numbers: Settable values like heating curves, target temperatures
- Selects: Operation modes and enum values
All entities support:
- Automatic discovery (no YAML configuration needed)
- Availability tracking (online/offline status)
- Proper units and device classes
- State updates based on configured intervals
- vcontrold: https://github.com/openv/openv/wiki/vcontrold
- Home Assistant MQTT Discovery: https://www.home-assistant.io/integrations/mqtt/#mqtt-discovery
This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.