homebridge-viessmann-vicare 2.0.72 → 2.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SETUP-GUIDE.md +6 -2
- package/dist/platform.js +1 -1
- package/dist/settings.d.ts +1 -1
- package/dist/settings.js +1 -1
- package/package.json +1 -1
- package/viessmann-report-server.js +2 -2
package/SETUP-GUIDE.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Complete Setup Guide - v2.0.
|
|
1
|
+
# Complete Setup Guide - v2.0.73
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
4
|
|
|
5
|
-
This guide will walk you through setting up the Viessmann ViCare plugin v2.0.
|
|
5
|
+
This guide will walk you through setting up the Viessmann ViCare plugin v2.0.73 for Homebridge, including all the advanced features like intelligent caching, rate limiting protection, comprehensive configuration options, **complete localization support with custom names**, **CSV history logging**, **HTML diagnostic reports**, **energy system monitoring** (PV, battery, wallbox), and **heating schedule awareness** with visual bands in the HTML report, and **heat pump (Wärmepumpe) support** with automatic device detection.
|
|
6
6
|
|
|
7
7
|
## Prerequisites
|
|
8
8
|
|
|
@@ -1228,6 +1228,10 @@ sudo systemctl restart homebridge
|
|
|
1228
1228
|
|
|
1229
1229
|
## Changelog
|
|
1230
1230
|
|
|
1231
|
+
### v2.0.73 (2026-06-23)
|
|
1232
|
+
- fix: report server timeout default was 300 s instead of 600 s; clamp raised to 3600 s max (was 1800 s)
|
|
1233
|
+
- fix: platform.ts timeout fallback corrected from 300 s to 600 s
|
|
1234
|
+
|
|
1231
1235
|
### v2.0.72 (2026-06-23)
|
|
1232
1236
|
- fix: `readApiStatus` function missing from report server — caused crash on every `GET /` request
|
|
1233
1237
|
- chore: axios updated to `^1.17.0`
|
package/dist/platform.js
CHANGED
|
@@ -118,7 +118,7 @@ class ViessmannPlatform {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
const reportTimeout = this.config.reportServerTimeout ??
|
|
121
|
+
const reportTimeout = this.config.reportServerTimeout ?? 600;
|
|
122
122
|
const serverArgs = ['--port', String(reportPort), '--path', reportServerPath, '--timeout', String(reportTimeout)];
|
|
123
123
|
if (this.config.debug)
|
|
124
124
|
serverArgs.push('--debug');
|
package/dist/settings.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const PLUGIN_NAME = "homebridge-viessmann-vicare";
|
|
|
9
9
|
/**
|
|
10
10
|
* Plugin version for User-Agent and logging
|
|
11
11
|
*/
|
|
12
|
-
export declare const PLUGIN_VERSION = "2.0.
|
|
12
|
+
export declare const PLUGIN_VERSION = "2.0.73";
|
|
13
13
|
/**
|
|
14
14
|
* Default configuration values
|
|
15
15
|
*/
|
package/dist/settings.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-viessmann-vicare",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.73",
|
|
4
4
|
"description": "Complete Homebridge plugin for Viessmann ViCare heating systems with full control capabilities, advanced rate limiting protection, and intelligent cache management",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -32,7 +32,7 @@ const HB_PATH = getArg('--path', process.env.HB_PATH || '/var/lib/homebridge'
|
|
|
32
32
|
const SCRIPT = getArg('--script', path.join(__dirname, 'viessmann-report.js'));
|
|
33
33
|
const DEBUG = args.includes('--debug') || process.env.DEBUG_REPORT === '1';
|
|
34
34
|
// --timeout <seconds> passed from plugin config (reportServerTimeout, default 300)
|
|
35
|
-
const TIMEOUT_SEC = parseInt(getArg('--timeout', '
|
|
35
|
+
const TIMEOUT_SEC = parseInt(getArg('--timeout', '600'), 10);
|
|
36
36
|
|
|
37
37
|
// ── Debug logger ───────────────────────────────────────────────────────────
|
|
38
38
|
function dbg(...parts) {
|
|
@@ -109,7 +109,7 @@ function safeNum(val) {
|
|
|
109
109
|
// CSV files (e.g. 90 days = ~26 000 rows). The default 60 s was insufficient.
|
|
110
110
|
// Raised to 300 s (5 minutes) which comfortably handles the largest datasets.
|
|
111
111
|
|
|
112
|
-
const REPORT_TIMEOUT_MS = Math.min(Math.max(TIMEOUT_SEC,
|
|
112
|
+
const REPORT_TIMEOUT_MS = Math.min(Math.max(TIMEOUT_SEC, 120), 3600) * 1000; // from --timeout arg (clamped 120–3600s)
|
|
113
113
|
|
|
114
114
|
function generateReport(params) {
|
|
115
115
|
return new Promise((resolve, reject) => {
|