From ce9cec0af4bba51b2c8a33350b51d6fc677de4ac Mon Sep 17 00:00:00 2001 From: Dirk-Jan Faber Date: Mon, 25 Nov 2024 14:01:22 +0100 Subject: [PATCH 1/2] Fix typo in wind speed --- src/nodes/victron-virtual.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/nodes/victron-virtual.js b/src/nodes/victron-virtual.js index 7f8e271..77200b9 100644 --- a/src/nodes/victron-virtual.js +++ b/src/nodes/victron-virtual.js @@ -55,7 +55,8 @@ const properties = { }, meteo: { Irradiance: { type: 'd', format: (v) => v != null ? v.toFixed(1) + 'W/m2' : '' }, - Windspeeed: { type: 'd', format: (v) => v != null ? v.toFixed(1) + 'm/s' : '' } + WindSpeed: { type: 'd', format: (v) => v != null ? v.toFixed(1) + 'm/s' : '' }, + WindDirection: { type: 'd' } }, tank: { 'Alarms/High/Active': { type: 'd' }, @@ -374,6 +375,7 @@ module.exports = function (RED) { interface: 'com.victronenergy.BusItem', destination: serviceName }) + config.instance = ActualDeviceInstance emitItemsChanged() } From 12a5b57a8e847f0153ad73008964b371bde8ae92 Mon Sep 17 00:00:00 2001 From: Dirk-Jan Faber Date: Mon, 25 Nov 2024 14:02:49 +0100 Subject: [PATCH 2/2] 1.6.2 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index b2ff09e..35a7d8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@victronenergy/node-red-contrib-victron", - "version": "1.6.1", + "version": "1.6.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@victronenergy/node-red-contrib-victron", - "version": "1.6.1", + "version": "1.6.2", "license": "MIT", "dependencies": { "dbus-native-victron": "^0.4.2", diff --git a/package.json b/package.json index 21c934f..27474be 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@victronenergy/node-red-contrib-victron", "description": "Custom Node-RED Nodes for Victron Energy", - "version": "1.6.1", + "version": "1.6.2", "dependencies": { "dbus-native-victron": "^0.4.2", "dbus-victron-virtual": "^0.1.3",