Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/eslint/plugin-kit-…
Browse files Browse the repository at this point in the history
…0.2.3
  • Loading branch information
dirkjanfaber authored Nov 27, 2024
2 parents 303ad38 + 12a5b57 commit 58643bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 3 additions & 1 deletion src/nodes/victron-virtual.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down Expand Up @@ -374,6 +375,7 @@ module.exports = function (RED) {
interface: 'com.victronenergy.BusItem',
destination: serviceName
})
config.instance = ActualDeviceInstance
emitItemsChanged()
}

Expand Down

0 comments on commit 58643bc

Please sign in to comment.