Hello.
I know, questions like this have been asked already, but not quite like mine, I guess. Okay, I have been able to create a simple flow in Node Red to get my SOC out of my Daly BMS and I can read it via html. It looks like this:
For information, I can read it out with
https://venus.local:1881/batt
However, now I need to set the SOC. Somewhere I read this is not possible with Node Red but I am not quite convinced. As I understood it, others have made it, but I am not sure. Maybe it's possible with a workaround(?)
So, does anybody have a solution on how to set the SOC on a DALY BMS (preferably with Node Red)?
PS: Just in case, someone wants to check out the node above:
[ { "id": "ee976dfbdb76164f", "type": "victron-input-battery", "z": "96cffcb4cb06b139", "service": "com.victronenergy.battery/3", "path": "/Soc", "serviceObj": { "service": "com.victronenergy.battery/3", "name": "SerialBattery(Daly)" }, "pathObj": { "path": "/Soc", "type": "float", "name": "State of charge (%)" }, "initial": "", "name": "Batt Monitor", "onlyChanges": false, "roundValues": "no", "x": 130, "y": 280, "wires": [ [ "1a032c9ca300fcde" ] ] }, { "id": "d5868940c9996cab", "type": "debug", "z": "96cffcb4cb06b139", "name": "debug 4", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 580, "y": 280, "wires": [] }, { "id": "1a032c9ca300fcde", "type": "function", "z": "96cffcb4cb06b139", "name": "extractSOC", "func": "var newbattmsg = {payload: msg.payload};\nglobal.set(\"batt.soc\",newbattmsg);\nreturn newbattmsg;", "outputs": 1, "timeout": "", "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 370, "y": 280, "wires": [ [ "d5868940c9996cab" ] ] }, { "id": "bc9afb993b05e874", "type": "http in", "z": "96cffcb4cb06b139", "name": "", "url": "/batt", "method": "get", "upload": false, "swaggerDoc": "", "x": 120, "y": 340, "wires": [ [ "d6b648c7a825d369" ] ] }, { "id": "d6b648c7a825d369", "type": "function", "z": "96cffcb4cb06b139", "name": "json", "func": "msg.payload = {battery: global.get('batt.soc')};\nreturn msg;", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 310, "y": 340, "wires": [ [ "f5c6e012ca283bfa" ] ] }, { "id": "f5c6e012ca283bfa", "type": "http response", "z": "96cffcb4cb06b139", "name": "http Response", "statusCode": "", "headers": {}, "x": 480, "y": 340, "wires": [] } ]