victronenergy / node-red-contrib-victron

MIT License
87 stars 18 forks source link

Endpoint #153

Closed dowermyr closed 1 year ago

dowermyr commented 1 year ago

Hi! How do I set up the endpoin? I get this when trying to add a node: image

dirkjanfaber commented 1 year ago

You probably don't have a battery monitor (a smartshunt or so) connected to your system. It only shows a selectable dropdown when it finds devices on your system. E.g.:
image

The system, relay and settings node should always provide an endpoint.

dowermyr commented 1 year ago

I have a smart shunt. But I haven't got a prompt for my vrm credentials. So where do I type in this?

dirkjanfaber commented 1 year ago

In order to make sure I understand your situation correctly, as the given data is not that much. For using the Node-RED battery monitor, you should not need to enter your vrm credentials. In fact that is not needed for any of the nodes.

But let's get your situation clear first. Can you respond to:

Please elaborate if you are using a different setup and how you got everything connected to each other.

dowermyr commented 1 year ago

I am running venus OS 2.91 on a raspberry pi. The node red is running in home assistant on another computer. Maybe that is the problem? I have to run node red on the same machine as the venus os?

dirkjanfaber commented 1 year ago

That is one of the options. Next best is probably to use dbus over tcp as described here: https://github.com/victronenergy/node-red-contrib-victron#installation-and-usage. Basically adding a few entries to /etc/dbus-1/system.conf on the Raspberry pi and adding export NODE_RED_DBUS_ADDRESS=192.168.1.1:78 to the home assistant system before startup of Node-RED.

Alternative is not to use the node-red-contrib-victron nodes at all and use mqtt or modbus. The first one has an example here: https://github.com/victronenergy/node-red-contrib-victron/wiki/Example-Flows#using-mqtt-to-monitor-disk-space The other one has, as far as I know, no example yet. I'll add that soon.

dirkjanfaber commented 1 year ago

If you have more questions or need extra support, please go to the modification space of the community at https://community.victronenergy.com/spaces/31/mods.html and ask it there. As this is not an issue with node-red-contrib-victron, I'll close this one.