victronenergy / node-red-contrib-victron

MIT License
98 stars 19 forks source link

[BUG] Orion XS no dc-dc services available #193

Open dirkjanfaber opened 5 months ago

dirkjanfaber commented 5 months ago

Jeremy Albrecht via community:

I have a Cerbo running 3.40~16, and an Orion XS connected to it. Everything seems to work as expected, except inside Node-Red. The "DC-DC" and "DC-DC Control" nodes both give the following error:

There are no dc-dc services available. Please check that a dc-dc is connected or try a different node.

The "Alternator" node does detect the Orion XS and allows me to pull data from it, but there’s no control via that node, and it doesn’t match the documentation.

jsalbre commented 5 months ago

Jeremy from the community thread here. I did some more testing and discovered if I change the "Function" setting of the Orion XS from "Charger" to "Power supply" then the DC-DC nodes become functional. I also verified in the Modbus TCP / Available Services page that only "com.victronenergy.alternator" is available when the Orion is set to Charger mode, but com.victronenergy.dcdc becomes available when set to Power Supply. This leads me to believe the Node-red issue is really just a symptom of the Modbus service not being advertised when set to Charger. I was also able to use a “custom” node to write to /mode on the XS with it in “Charger” and it does work.

Not directly related, but it would be nice to have the temperature of the Orion exposed via NodeRed for external fan control if it’s thermal dimming.