Is it possible, will it be possible to connect an external/existing Node-Red setup to Venus OS instead of using the internal Node-Red that will be available in a future release of Venus OS?
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Hi @acs; yes its probably possible. You'll have to find out yourself how; or try and hope that someone here on community can help you.
Sorry for not being able to help more; but when using node-red within Venus OS we already give no support; and for this we can give even less support.
Yes it is possible. I have done this in the past.
Install a MODBUS-TCP node set on your external setup. Something like this: https://flows.nodered.org/node/node-red-contrib-modbustcp
Then enable MODBUS-TCP service on the Venus device and then you will be able to read the registers as defined in the register list.
Get the TCP register list from the whitepapers section: https://www.victronenergy.com/support-and-downloads/whitepapers
I am actually more interested to know wether the functionality here https://github.com/victronenergy/node-red-contrib-victron will be available on an external Node-Red installation as well. It looks like it is if I understand the following correctly https://github.com/victronenergy/node-red-contrib-victron#Installation-and-Usage.
i was looking for that today. The node red setup needs to be running on the venus device itself, as it is using the dbus messages. So i went looking into how to read dbus remotely. This is what i found: https://serverfault.com/questions/414350/access-d-bus-remotely-using-socat/423290#423290 Untested still.
woop. after a lot of trial and error i got it working. I got the system dbus of a CCGX locally:
on the CCGX:
$ socat TCP-LISTEN:7272,reuseaddr,fork UNIX-CONNECT:/var/run/dbus/system_bus_socket
locally:
$ socat TCP:192.168.9.104:7272 ABSTRACT-LISTEN:/tmp/victron_dbus
then monitor that local dbus socket:
$ sudo dbus-monitor --address unix:abstract=/tmp/victron_dbus
Hope it helps someone
I have the node-red-contrib-victron nodes installed on an external Node-Red installation. As far as I can tell it's working limited. Limited for me because my installation lacks of physical devices yet (running in demo mode until I set it up on my boat in 2 weeks). But having access to the demo ESS settings and Ess Control node. The other demo devices I can't access.
Stefanie, Ive been following the NodeRed threads and was wondering how your setup came out? Want to do some ESS related stuff as well...
Hi Rene,
lot of time has passed since then and lot of things have changed ;-)
I'm not into ESS. So can't answer those specific questions about it. But as you probably noticed, Node-Red (and Signalk) are now integrated into VenuOS Large Image firmware. Almost everything is possible now. There is nothing I can think of which it can't if there is appropriate data available.
If you haven't, take a look here: Venus OS Large: Node-RED and Signal K.
This will give you a glimpse of what it can do for you.
Victron Venus OS Open Source intro page
Venus OS GitHub (please do not post to this)
Webinar Part 1 - Intro to Node-Red
Webinar Part 2- Basic Palettes
Webinar Part 3 - Advanced example
Victron Node-RED for dummies guide by Fideri
Node Red Community Space (normally hidden)
Venus OS Large (Node-RED) manual
11 People are following this question.