question

Dosheimer avatar image

Node Red broken because of unwanted qml files update?

Hi all!

A few weeks ago my Node Red (VenusOS v2.70_3-large-12) suddenly was broken on my Raspi 4B (4GB). A lot of files has been updated, which i can't understand. I'm sure, that the automatic updates has been deaticivated. Also the /opt/victronenergy/version hasn't been changed.


For example one of the updated qml files:


--- 20210507/opt/victronenergy/gui/qml/PageTankSensor.qml

--- v2.70_3-large-12/opt/victronenergy/gui/qml/PageTankSensor.qml

@@ -18,7 +18,7 @@


MbOption { description: qsTr("Black water (sewage)"); value: 5 }


]


- property VBusItem devInstance: VBusItem { bind: Utils.path(bindPrefix, "/DeviceInstance") }

+ property VBusItem connection: VBusItem { bind: Utils.path(bindPrefix, "/Mgmt/Connection") }

property VBusItem customName: VBusItem { bind: Utils.path(bindPrefix, "/CustomName") }

property VBusItem fluidType: VBusItem { bind: Utils.path(bindPrefix, "/FluidType") }

property VBusItem volumeUnit: VBusItem { bind: "com.victronenergy.settings/Settings/System/VolumeUnit" }


@@ -30,7 +30,7 @@


if (customName.valid && customName.value !== "")

return customName.value


- var inputNumber = devInstance.valid ? devInstance.value : ""

+ var inputNumber = connection.valid ? connection.value.replace(/\D/g,'') : ""


var inputNumberStr = ""


if (inputNumber !== "")


Any idea, what happend there? I will shortly update to the latest version. Will this fix this problem?

Thanks!

Node-RED
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

0 Answers