Skip to content

urbans0ft/ViessmannAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ViessmannAPI

Access the Viessmann Web API (aka ViCare)

Prerequisites

The following commands must be available:

Configuration

Copy account.json to .account.json and change the the values of "account" and "client" according to your settings (https://app.developer.viessmann.com/).

Usage

Login

$ ./api.sh --login
$ ./api.sh --discover

The token is stored within .token.json and used for subsequent api calls.

{
  "access_token": "eyJlbmMi...VP8g",
  "refresh_token": "4f2...f28",
  "token_type": "Bearer",
  "expires_in": 3600
}

The discoverd setting is stored within .setting.json.

{
  "installationId": "123456",
  "gatewaySerial": "0123456789101112",
  "deviceId": "0"
}

References

Development

jq

cat .deleteMe | jq '.data[] | {feature: .feature, commands: .commands} | select(.commands | length > 0) | {feature: .feature, commands: .commands | to_entries} | {feature: .feature, commands: [.commands[].key]}'

About

Access the Viessmann Web API (aka ViCare)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages