I’ve found a bug with the conditional evaluation feature added to Victron input nodes in v3.80.
Environment:
- Venus OS: v3.80~25
- Node-RED: 4.1.10
- Victron palette: 1.7.13
Problem:
When a Victron input node (victron-input-alternator, victron-input-battery, victron-input-vebus) has Conditional Evaluation enabled, the node only renders one output port on page load. Output 2 (the boolean true/false output) and any wires connected to it appear missing. If you open the node and click Done, output 2 appears correctly and the wires are restored. Clicking Cancel instead of Done does not restore it.
If you deploy the flow from the visually broken state (without first opening each conditional node and clicking Done), the wires to output 2 are silently dropped from the flow.
Steps to reproduce:
- Enable Conditional Evaluation on any Victron input node
- Wire a node to output 2
- Deploy
- Refresh the browser
- Output 2 and its wires are gone from the canvas
Expected: Node renders with two output ports on load when conditionalMode: true is stored in the flow JSON.
Additional finding: Adding "outputs": 2 explicitly to the node in the exported flow JSON does not fix the issue. The palette appears to compute output count dynamically and ignores the stored value, so the fix needs to be in the palette itself.
Workaround: After every page refresh, open each conditional input node and click Done before making any other changes or deploying.
EDIT:
Another observation to add to this: If one of the nodes has a 2nd condition that condition loses its settings as well.