Skip to content

Viessmann Binding ​

This binding connects Viessmann devices via the new Viessmann API. It provides features similar to the ViCare App.

Important Notes ​

You must register your ViCare account at the Viessmann developer portal and create a Client ID.

  • name – e.g., openhab
  • Google reCAPTCHA – off
  • Redirect URI – http://localhost:8080/viessmann/authcode/ (*)

(*) If your openHAB system runs on a different port than 8080, adjust the Redirect URI.

Hint: You can add multiple Redirect URIs on the Viessmann developer portal by clicking the plus sign.

Supported Things ​

  • account – Connects to the Viessmann API to link the gateway thing; discovers gateways and devices.
  • gateway – Connects to the account thing (Discovery).
  • device – Represents individual devices (Discovery). Connected via gateway or bridge
  • bridge – (deprecated) Connects directly to the Viessmann API and links the first installed gateway.

Thing Hierarchy ​

dsl
Account Thing
   │
   └── Gateway Thing (discovered via Account)
          │
          └── Device Things (discovered via Gateway)


Bridge Thing (connects directly to API) (deprecated)
   │
   └── Device Things (discovered via Bridge)

Binding Configuration ​

Account Thing ​

ParameterRequiredDefaultDescription
apiKeyYes–Client ID from the Viessmann developer portal
userYes–E-Mail registered for the ViCare App
passwordYes–Password registered for the ViCare App
apiCallLimitNo1450Limit for API calls (*)
bufferApiCommandsNo450Buffer for commands (*)
pollingIntervalNo0Interval in seconds to query available devices (**)
pollingIntervalErrorsNo60Interval in minutes to query errors
disablePollingNoOFFDisables automatic polling

Bridge Thing (deprecated) ​

ParameterRequiredDefaultDescription
apiKeyYes–Client ID from the Viessmann developer portal
userYes–E-Mail registered for the ViCare App
passwordYes–Password registered for the ViCare App
installationIdNo–Optional, will be discovered
gatewaySerialNo–Optional, will be discovered
apiCallLimitNo1450Limit for API calls (*)
bufferApiCommandsNo450Buffer for commands (*)
pollingIntervalNo0Interval in seconds to query available devices (**)
pollingIntervalErrorsNo60Interval in minutes to query errors
disablePollingNoOFFDisables automatic polling

Gateway Thing ​

ParameterRequiredDefaultDescription
installationIdNo–Optional, will be discovered
gatewaySerialNo–Optional, will be discovered
pollingIntervalErrorsNo60Interval in minutes to query errors
disablePollingNoOFFDisables automatic polling

(*) Used to calculate refresh time in seconds
(**) If set to 0, interval is calculated automatically by the binding.

Channels ​

Account ​

ChannelTypeRO/RWDescription
count-api-callsNumberRONumber of API calls today

Bridge (deprecated) ​

ChannelTypeRO/RWDescription
count-api-callsNumberRONumber of API calls today
error-is-activeSwitchROIndicates active error
last-error-messageStringROLast error message from installation
run-query-onceSwitchWRun device query once
run-error-query-onceSwitchWRun error query once

Gateway ​

ChannelTypeRO/RWDescription
error-is-activeSwitchROIndicates active error
last-error-messageStringROLast error message from installation
run-query-onceSwitchWRun device query once
run-error-query-onceSwitchWRun error query once

Device ​

Channels are generated automatically for available features.

Features that list active messages, such as device.messages.status.raw, get a String channel (for example device-messages-status-raw#error-entries) that holds the codes of the active messages as a comma separated list, for example S.125,S.131. The channel is for reading only and is empty while no message is active. The meaning of the codes is given in the service instructions of the device. For a heat pump with a heating water flow heater, S.131, S.132 and S.133 mean that stage 1, 2 or 3 of the heater is running.

Examples: Thing Definitions in openHAB ​

Account Thing ​

dsl
Thing viessmann:account:myaccount "Viessmann Account" @ "Home" [
    apiKey="YOUR_CLIENT_ID",
    user="YOUR_EMAIL",
    password="YOUR_PASSWORD"
]

Bridge Thing (deprecated) ​

dsl
Thing viessmann:bridge:mybridge "Viessmann Bridge" @ "Home" [
    apiKey="YOUR_CLIENT_ID",
    user="YOUR_EMAIL",
    password="YOUR_PASSWORD"
]

Gateway Thing ​

dsl
Thing viessmann:gateway:mygateway "Viessmann Gateway" @ "Home" [
    installationId="YOUR_INSTALLATION_ID",
    gatewaySerial="YOUR_GATEWAY_SERIAL"
]

Device Thing ​

dsl
Thing viessmann:device:heating "Heating Device" @ "Home" [
    deviceId="YOUR_DEVICE_ID"
]

Breaking Changes ​

Version 5.1.0 ​

  • Added new account and gateway things for gateway selection.
    Existing device things can be switched manually to the new gateway as bridge.
    After that, the bridge thing can be removed.
  • Reorganization of channel-types: Starting the binding takes about 3 minutes
    and results in the following warnings, which will not occur on the next restart:
dsl
[WARN ] [.core.thing.internal.ThingManagerImpl] - Failed to normalize configuration for thing 'viessmann:device:abcdefg:xxxxxxxxx:0': 
{thing/channel=Type description viessmann:type-string for viessmann:device:abcdefg:xxxxxxxxx:0:heating-circuits-0-operating-programs-active not found, 
although we checked the presence before.}