homebridge-vicare-2
v2.9.1
Published
Homebridge plugin for Viessmann ViCare
Downloads
1,769
Maintainers
Readme
Homebridge ViCare Plugin
The Homebridge ViCare Plugin allows you to integrate your Viessmann ViCare heating system with Homebridge, enabling control and monitoring through Apple's HomeKit. This plugin provides real-time temperature readings, control over target temperatures, and access to various sensors and states of your heating system.
The original plugin was written by @vrkttr, thanks!
Features
- Current temperature display
- Target temperature control
- Integration with various heating system sensors (burner state, water temperature, etc.)
- Easy configuration through Homebridge
Enhance your smart home setup by seamlessly connecting your Viessmann ViCare system with HomeKit.
API Key
To use this plugin, you will need to create an API key by following these steps:
Create an Account: Sign up for an account on the Viessmann Developer Portal.
Create a new client:
- Log in to the Viessmann Developer Portal.
- Navigate to "Clients" and create a new client.
- Wait a few minutes for the client to be registered.
Redirect URI Configuration:
- Set the Redirect URI in the Developer Portal to
http://YOUR_LOCAL_IP:4200
. ReplaceYOUR_LOCAL_IP
with the local IP address of the machine running Homebridge.
- Set the Redirect URI in the Developer Portal to
Update your Homebridge config.json:
- Copy the
client_id
from your registered client in the Developer Portal. - Update your
config.json
with theclient_id
: - Optional: add your host IP manually
- Optional: add the device type to appear as a temperature sensor or thermostat (temperature change currently not supported)
- Copy the
Config
{
platforms: [
{
platform: 'ViCareThermostatPlatform',
name: 'ViCareThermostat',
clientId: 'YOUR CLIENT ID',
apiEndpoint: 'https://api.viessmann.com/iot/v1',
hostIp: 'YOUR HOST IP', // optional, default is the detected IP address
devices: [
{
name: 'Supply temperature',
feature: 'heating.circuits.0.sensors.temperature.supply',
deviceId: '0',
type: 'temperature_sensor', // optional
},
{
name: 'Main DHW temperature',
feature: 'heating.dhw.temperature.main',
deviceId: '0',
maxTemp: 38, // optional
type: 'thermostat', // optional, default is "temperature_sensor"
},
],
},
],
}
Authentication Process
The plugin will handle the OAuth2 authentication process automatically. Follow these steps:
- Start Homebridge. The plugin will log a URL for authentication.
- Open the URL in your browser. You will be prompted to log in to your Viessmann account and authorize the application.
- After successful login, you will be redirected to the Redirect URI you configured. The plugin will automatically capture the authorization code and exchange it for an access token.
Available Features
Heating Circuits
heating.circuits.0.sensors.temperature.supply
: Supply temperatureheating.circuits.0.operating.modes.active
: Active operating modeheating.circuits.0.operating.programs.active
: Active programheating.circuits.0.operating.programs.normal
: Normal programheating.circuits.0.operating.programs.reduced
: Reduced programheating.circuits.0.sensors.temperature.room
: Room temperatureheating.circuits.0.heating.curve
: Heating curve
Domestic Hot Water (DHW)
heating.dhw.temperature.main
: Main DHW temperatureheating.dhw.sensors.temperature.dhwCylinder
: DHW cylinder temperatureheating.dhw.oneTimeCharge
: One-time DHW chargeheating.dhw.charging
: DHW chargingheating.dhw.temperature.hysteresis
: DHW temperature hysteresis
Burners
heating.burners.0
: Burner statusheating.burners.0.modulation
: Burner modulationheating.burners.0.statistics
: Burner statistics (start count, operating hours)
General Boiler Data
heating.boiler.sensors.temperature.commonSupply
: Common supply temperatureheating.boiler.temperature
: Boiler temperatureheating.boiler.sensors.temperature.return
: Return temperatureheating.boiler.serial
: Boiler serial numberheating.boiler.pressure
: Boiler pressure
Gas Consumption
heating.gas.consumption.heating
: Heating gas consumptionheating.gas.consumption.dhw
: DHW gas consumptionheating.gas.consumption.total
: Total gas consumption
Smart Components
- List of all smart components available in the installation
- Selecting specific smart components for use
Solar
solar.power.production.current
: Current solar power productionsolar.power.production.daily
: Daily solar power productionsolar.power.production.monthly
: Monthly solar power productionsolar.sensors.temperature.collector
: Solar collector temperaturesolar.sensors.temperature.dhw
: Solar DHW temperature
Heat Pump
heatpump.power.consumption.current
: Current heat pump power consumptionheatpump.power.consumption.daily
: Daily heat pump power consumptionheatpump.power.consumption.monthly
: Monthly heat pump power consumptionheatpump.sensors.temperature.evaporator
: Evaporator temperatureheatpump.sensors.temperature.condensor
: Condensor temperatureheatpump.sensors.temperature.outside
: Outside temperatureheatpump.compressor.starts
: Compressor start countheatpump.compressor.hours
: Compressor operating hours
Ventilation
ventilation.operating.modes.active
: Active ventilation modeventilation.operating.modes.normal
: Normal ventilation modeventilation.operating.modes.reduced
: Reduced ventilation modeventilation.sensors.humidity
: Humidity sensor dataventilation.sensors.co2
: CO2 sensor dataventilation.fan.speed
: Ventilation fan speed
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.