Hi,
I can’t update to the newest version of the vrm-api.
I have version 0.2.13 installed, but in the tab install there is a version 0.3.11 available.
I can’t find a way to update to the new version.
See pics:
Thanks in advance..
Hi,
I can’t update to the newest version of the vrm-api.
I have version 0.2.13 installed, but in the tab install there is a version 0.3.11 available.
I can’t find a way to update to the new version.
See pics:
Thanks in advance..
What version is your GX running?
Firmware V3.67
It’s the same on beta. I have asked why.
Quite sure that you had the victron-vrm-api already installed before it was part of Venus. And Node-RED is finding the old one (under /data/home/nodered/.node-red/node_modules/victron-vrm-api), not the one that is shipped with Venus (installed in /usr/lib/node_modules/victron-vrm-api).
So removing the one that is installed under /data/home/nodered/.node-red/node_modules/ is what needs to be done. Ideally you can do that by pressing the remove button, but that probably isn’t there (reason being is that it is mentioned in the denyUpdateList in /usr/lib/node_modules/node-red/venus-settings.js).
So question is how to do this nicely and without leaving remaining references to the locally installed one. What I think will work is to create an exec node that does this for you: npm uninstall victron-vrm-api:
cd /data/home/nodered/.node-red/ && npm uninstall node-red-contrib-rate-avg
[
{
"id": "f384f13685cbc029",
"type": "exec",
"z": "de710832a415f877",
"command": "cd /data/home/nodered/.node-red/ && npm uninstall victron-vrm-api",
"addpay": "",
"append": "",
"useSpawn": "false",
"timer": "",
"winHide": false,
"oldrc": false,
"name": "",
"x": 510,
"y": 1720,
"wires": [
[
"29fea498baf89a42"
],
[
"29fea498baf89a42"
],
[]
]
},
{
"id": "8c9dbeeda00ec923",
"type": "inject",
"z": "de710832a415f877",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 140,
"y": 1720,
"wires": [
[
"f384f13685cbc029"
]
]
},
{
"id": "29fea498baf89a42",
"type": "debug",
"z": "de710832a415f877",
"name": "debug uninstall local victron-vrm-api",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 880,
"y": 1700,
"wires": []
}
]
And press the inject button once.
My system is only running for just over a week now.
Never used Node Red before, i only updated my cerbo gx to the latest firmware on install.
But i did what you suggested above and this is the debug respons:
Ah, I see what is going on here. On 3.67 (the latest official release of Venus) we ship version 0.2.13 of the vrm-api node. If you want to use the latest one you need to switch to the candidate release feed (which ships with version 0.3.11).
The underlying cause for this is that the victron-vrm-api node is shipped on the firmware of the Venus device, which is installed on a read-only portion of the GX internal storage and therefor cannot be updated.