Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jblance/mpp-solar
Browse files Browse the repository at this point in the history
  • Loading branch information
jblance committed Sep 30, 2021
2 parents 0b4a074 + e717671 commit a6a5bb2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions mppsolar/protocols/pi30.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,18 @@
],
"regex": "POP(0[012])$",
},
"POPLG": {
"name": "POPLG",
"description": "Set Device Operation Logic",
"help": " -- examples: POPLG00 (set Auto mode), POPLG01 (set Online mode), POPLG02 (set ECO mode)",
"type": "SETTER",
"response": [["ack", "Command execution", {"NAK": "Failed", "ACK": "Successful"}]],
"test_responses": [
b"(NAK\x73\x73\r",
b"(ACK\x39\x20\r",
],
"regex": "POPLG(0[012])$",
},
"POPM": {
"name": "POPM",
"description": "Set Device Output Mode (for 4000/5000)",
Expand Down Expand Up @@ -783,6 +795,8 @@
"PV input max power will be the sum of the max charged power and loads power",
],
],
["int", "Max charging time for CV stage", "min"],
["option", "Operation Logic", ["Automatic mode", "On-line mode", "ECO mode"]],
],
"test_responses": [
b"(230.0 21.7 230.0 50.0 21.7 5000 4000 48.0 46.0 42.0 56.4 54.0 0 10 010 1 0 0 6 01 0 0 54.0 0 1\x6F\x7E\r",
Expand Down

0 comments on commit a6a5bb2

Please sign in to comment.