I just tried to use node-red to disable feed in while charging, but there are clearly some systems fighting each other.
First I disabled DESS, then tried to use MultiPlus-II 24/3000/70-32 > ESS disable feedback flag phase, but after a few seconds, it goes back to discharging from the battery again.
Then I tried to use MultiPlus-II 24/3000/70-32 > ESS power setpoint phase L1 (W), so I could just but it also didn’t work, and kept discharging battery, because the char charges from 3 phases.
I could get the result I am looking for, but only by manually setting this
is there a way to set this from node-red?
-- EDIT –
I found it!
This adjusts the Grid setpoint while charging, with a deadband filter to avoid spamming the setting.
When the total power goes to zero, it should in theory also set the setpoint back to zero, but in case it doesn’t, there is also a trigger on the evcs status, so when it changes away from Charging (2), it sets the setpoint to zero too, again with a filter to prevent excess writes to the settings.
Did I forget to consider something in this logic?
[{"id":"bc9b420e5615b851","type":"group","z":"c394a7e614548f57","name":"Adjust Grid setpoint while charging","style":{"label":true},"nodes":["1c5118fb20bd99b6","bfae34901b9b7aa5","3cff24869cc6684a","1fd1fa41a042b341","70a47863580394dd","313d0c3f78c4046b"],"x":34,"y":39,"w":1092,"h":162},{"id":"1c5118fb20bd99b6","type":"victron-input-evcharger","z":"c394a7e614548f57","g":"bc9b420e5615b851","service":"com.victronenergy.evcharger/40","path":"/Status","serviceObj":{"service":"com.victronenergy.evcharger/40","name":"com.victronenergy.evcharger/40","communityTag":"evcharger"},"pathObj":{"path":"/Status","type":"enum","name":"Status","enum":{"0":"Disconnected","1":"Connected","2":"Charging","3":"Charged","4":"Waiting for sun","5":"Waiting for RFID","6":"Waiting for start","7":"Low SOC","8":"Ground test error","9":"Welded contacts test error","10":"CP input test error (shorted)","11":"Residual current detected","12":"Undervoltage detected","13":"Overvoltage detected","14":"Overheating detected","15":"Reserved","16":"Reserved","17":"Reserved","18":"Reserved","19":"Reserved","20":"Charging limit","21":"Start charging","22":"Switching to 3 phase","23":"Switching to 1 phase","24":"Stop charging"}},"name":"","onlyChanges":false,"roundValues":"no","rateLimit":0,"outputs":1,"conditionalMode":false,"outputTrue":"true","outputFalse":"false","debounce":"2000","x":210,"y":80,"wires":[["313d0c3f78c4046b"]]},{"id":"bfae34901b9b7aa5","type":"function","z":"c394a7e614548f57","g":"bc9b420e5615b851","name":"function 2","func":"if (msg.payload !== 2) {\n msg.payload = 0;\n return msg;\n}\n\nreturn null;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":680,"y":80,"wires":[["3cff24869cc6684a"]]},{"id":"3cff24869cc6684a","type":"victron-output-ess","z":"c394a7e614548f57","g":"bc9b420e5615b851","service":"com.victronenergy.settings","path":"/Settings/CGwacs/AcPowerSetPoint","serviceObj":{"service":"com.victronenergy.settings","name":"Venus settings","communityTag":"ess"},"pathObj":{"path":"/Settings/CGwacs/AcPowerSetPoint","type":"integer","name":"Grid set-point (W)","mode":"both"},"name":"","onlyChanges":false,"roundValues":"no","rateLimit":0,"outputs":0,"conditionalMode":false,"condition1Operator":">","condition2Enabled":false,"condition2Service":"","condition2Path":"","condition2Operator":">","logicOperator":"AND","outputTrue":"true","outputFalse":"false","outputOnChange":false,"debounce":2000,"x":960,"y":80,"wires":[]},{"id":"1fd1fa41a042b341","type":"victron-input-evcharger","z":"c394a7e614548f57","g":"bc9b420e5615b851","service":"com.victronenergy.evcharger/40","path":"/Ac/Power","serviceObj":{"service":"com.victronenergy.evcharger/40","name":"com.victronenergy.evcharger/40","communityTag":"evcharger"},"pathObj":{"path":"/Ac/Power","type":"float","name":"Total power (W)"},"name":"","onlyChanges":false,"roundValues":"0","rateLimit":"0.2","outputs":1,"conditionalMode":false,"outputTrue":"true","outputFalse":"false","debounce":"2000","x":240,"y":160,"wires":[["70a47863580394dd"]]},{"id":"70a47863580394dd","type":"rbe","z":"c394a7e614548f57","g":"bc9b420e5615b851","name":"","func":"deadband","gap":"1000","start":"","inout":"out","septopics":true,"property":"payload","topi":"topic","x":680,"y":160,"wires":[["3cff24869cc6684a"]]},{"id":"313d0c3f78c4046b","type":"rbe","z":"c394a7e614548f57","g":"bc9b420e5615b851","name":"","func":"rbe","gap":"","start":"","inout":"out","septopics":true,"property":"payload","topi":"topic","x":490,"y":80,"wires":[["bfae34901b9b7aa5"]]},{"id":"f59bcf3c7dbd3c9b","type":"global-config","env":[],"modules":{"@victronenergy/node-red-contrib-victron":"1.6.64"}}]