question

drparker151 avatar image
drparker151 asked

Can node red detect whether shore is split phase 50amp or single phase 30amp

I'd like to detect that the RV is plugged into 30amp instead of 50amp and if so change amp limit. Has anybody done this?

Node-RED
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

3 Answers
derrick thomas avatar image
derrick thomas answered ·

I'm not aware of anything in node red that will indicate if ac input is single/split phase, but I think I recall seeing something on dbus. You can use dbus-spy to see what is available and then use that address with mqtt to pull the information.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

drparker151 avatar image
drparker151 answered ·

Think I figured it out. Since I'm currently on split phase I get phase count = 2, hopefully on 30Amp phase count will be 1.


[
{
"id": "8f3944a84dc53a2c",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "4ea53d5191745f6c",
"type": "victron-input-vebus",
"z": "8f3944a84dc53a2c",
"service": "com.victronenergy.vebus/276",
"path": "/Ac/NumberOfPhases",
"serviceObj": {
"service": "com.victronenergy.vebus/276",
"name": "MultiPlus-II 12/3000/120-50 2x120V"
},
"pathObj": {
"path": "/Ac/NumberOfPhases",
"type": "float",
"name": "Phase count"
},
"initial": "",
"name": "",
"onlyChanges": true,
"x": 270,
"y": 120,
"wires": [
[
"5f3c224e58126db7",
"32b828ec89cc3036"
]
]
},
{
"id": "32b828ec89cc3036",
"type": "debug",
"z": "8f3944a84dc53a2c",
"name": "debug 3",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 720,
"y": 260,
"wires": []
},
{
"id": "67089125cebd86d1",
"type": "victron-output-vebus",
"z": "8f3944a84dc53a2c",
"service": "com.victronenergy.vebus/276",
"path": "/Ac/ActiveIn/CurrentLimit",
"serviceObj": {
"service": "com.victronenergy.vebus/276",
"name": "MultiPlus-II 12/3000/120-50 2x120V"
},
"pathObj": {
"path": "/Ac/ActiveIn/CurrentLimit",
"type": "float",
"name": "Active input current limit (A)",
"writable": true
},
"name": "",
"onlyChanges": false,
"x": 1260,
"y": 100,
"wires": []
},
{
"id": "5f3c224e58126db7",
"type": "switch",
"z": "8f3944a84dc53a2c",
"name": "Logic",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "gte",
"v": "2",
"vt": "num"
},
{
"t": "lte",
"v": "1",
"vt": "num"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 570,
"y": 120,
"wires": [
[
"470cb133029898b6"
],
[
"0e4a870b84a32ad7"
]
]
},
{
"id": "0e4a870b84a32ad7",
"type": "change",
"z": "8f3944a84dc53a2c",
"name": "Set Limit 28A",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "28",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 810,
"y": 140,
"wires": [
[
"67089125cebd86d1"
]
]
},
{
"id": "470cb133029898b6",
"type": "change",
"z": "8f3944a84dc53a2c",
"name": "Set Limit 48A",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "48",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 810,
"y": 80,
"wires": [
[
"67089125cebd86d1"
]
]
},
{
"id": "7bdf01f573aa49a2",
"type": "victron-input-vebus",
"z": "8f3944a84dc53a2c",
"service": "com.victronenergy.vebus/276",
"path": "/Ac/ActiveIn/CurrentLimit",
"serviceObj": {
"service": "com.victronenergy.vebus/276",
"name": "MultiPlus-II 12/3000/120-50 2x120V"
},
"pathObj": {
"path": "/Ac/ActiveIn/CurrentLimit",
"type": "float",
"name": "Active input current limit (A)"
},
"name": "",
"onlyChanges": true,
"x": 270,
"y": 360,
"wires": [
[
"32b828ec89cc3036"
]
]
}
]

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

drparker151 avatar image
drparker151 answered ·

that flow doesn't work. I got to test it and no the phase does not change to 1 when the Multiplus detects single phase and ties line1 and line2 together. It can obviously tell since it does tie the lines together.

I cannot find that they bring this up to Node-red.

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

derrick thomas avatar image derrick thomas commented ·

Have you tried mqtt?

Edit to add:

I checked with dbus-spy and there is a dbus item for SplitPhaseL2Passthru. You should be able to use mqtt to subscribe and read this value. If value = 1 then split phase is present and being passed thru. If value = 0 and ac input is available then the input is single phase. (There is also a dbus item available for wether or not L1 and L2 outputs are combined, but this value would be true while inverting as well)

1 Like 1 ·