Skip to content

Latest commit

 

History

History
237 lines (217 loc) · 31.6 KB

File metadata and controls

237 lines (217 loc) · 31.6 KB

Deutsch • English

Modbus

The go-eController has a Modbus TCP Interface an which can be used to read some power and energy values. This interface has to be enabled from the app or the http API.

Live Values can be received with Modbus function 4.

Settings can be read with the Modbus function 3 and can be written with the Modbus function 16.

After enabling the tcp port 502 is used.

Function No Name Supported?
01 Read Coil Status No
02 Read Input Status No
03 Read Holding Registers Yes, for all registers listed below
04 Read Input Registers Yes, for all registers listed below
05 Force Single Coil No
06 Preset Single Register No
15 Force Multiple Coils No
16 Read Input Registers Yes, for all registers listed below

Using the App to enable and verify the Modbus interface

Tap the tab "Internet" at the bottom, then click on "Advanced Settings" in the menu, then at the very bottom "Modbus"

Using the http API to enable and verify the Modbus interface

The chargers provide api keys to configure and verify the modbus interface. These api keys can be used with the http api.

Example: http://192.168.0.77/api/set?men=true

api key description datatype R?W? Category
men modbus slave enabled bool R/W Config
msp modbus slave port (requires reboot) uint16 R/W Config
msb modbus slave swap bytes bool R/W Config
msr modbus slave swap registers bool R/W Config
mro modbus slave read operations size_t R Status
mwo modbus slave write operations size_t R Status

Modbus Profile

Input Registers (read-only)

Data in this table can be read with modbus function 04.

Register Registertype Datatype Name Unit Description
31001 (1000)
31002 (1001)
Input Float32 Voltage L1 V (Volt)
31003 (1002)
31004 (1003)
Input Float32 Voltage L2 V (Volt)
31005 (1004)
31006 (1005)
Input Float32 Voltage L3 V (Volt)
31007 (1006)
31008 (1007)
Input Float32 Voltage N V (Volt)
31009 (1008)
31010 (1009)
Input Float32 Frequency Hz (Herz)
31011 (1010)
31012 (1011)
Input Float32 Current Sensor 1 Current A (Ampere)
31013 (1012)
31014 (1013)
Input Float32 Current Sensor 2 Current A (Ampere)
31015 (1014)
31016 (1015)
Input Float32 Current Sensor 3 Current A (Ampere)
31017 (1016)
31018 (1017)
Input Float32 Current Sensor 4 Current A (Ampere)
31019 (1018)
31020 (1019)
Input Float32 Current Sensor 5 Current A (Ampere)
31021 (1020)
31022 (1021)
Input Float32 Current Sensor 6 Current A (Ampere)
31023 (1022)
31024 (1023)
Input Float32 Current Sensor 1 Power W (Watt)
31025 (1024)
31026 (1025)
Input Float32 Current Sensor 2 Power W (Watt)
31027 (1026)
31028 (1027)
Input Float32 Current Sensor 3 Power W (Watt)
31029 (1028)
31030 (1029)
Input Float32 Current Sensor 4 Power W (Watt)
31031 (1030)
31032 (1031)
Input Float32 Current Sensor 5 Power W (Watt)
31033 (1032)
31034 (1033)
Input Float32 Current Sensor 6 Power W (Watt)
31035 (1034)
31036 (1035)
Input Float32 Current Sensor 1 Powerfactor Factor 0.0 - 1.0
31037 (1036)
31038 (1037)
Input Float32 Current Sensor 2 Powerfactor Factor 0.0 - 1.0
31039 (1038)
31040 (1039)
Input Float32 Current Sensor 3 Powerfactor Factor 0.0 - 1.0
31041 (1040)
31042 (1041)
Input Float32 Current Sensor 4 Powerfactor Factor 0.0 - 1.0
31043 (1042)
31044 (1043)
Input Float32 Current Sensor 5 Powerfactor Factor 0.0 - 1.0
31045 (1044)
31046 (1045)
Input Float32 Current Sensor 6 Powerfactor Factor 0.0 - 1.0
31047 (1046)
31048 (1047)
Input Float32 Category Home Current L1 A (Ampere)
31049 (1048)
31050 (1049)
Input Float32 Category Home Current L2 A (Ampere)
31051 (1050)
31052 (1051)
Input Float32 Category Home Current L3 A (Ampere)
31053 (1052)
31054 (1053)
Input Float32 Category Home Current N A (Ampere)
31055 (1054)
31056 (1055)
Input Float32 Category Home Power W (Watt)
31057 (1056)
31058 (1057)
31059 (1058)
31060 (1059)
Input Float64 Category Home Energy In Wh (Watt-Hours)
31061 (1060)
31062 (1061)
31063 (1062)
31064 (1063)
Input Float64 Category Home Energy Out Wh (Watt-Hours)
31065 (1064)
31066 (1065)
31067 (1066)
31068 (1067)
Input Float64 Category Home Money In Money
31069 (1068)
31070 (1069)
31071 (1070)
31072 (1071)
Input Float64 Category Home Money Out Money
31073 (1072)
31074 (1073)
Input Float32 Category Grid Current L1 A (Ampere)
31075 (1074)
31076 (1075)
Input Float32 Category Grid Current L2 A (Ampere)
31077 (1076)
31078 (1077)
Input Float32 Category Grid Current L3 A (Ampere)
31079 (1078)
31080 (1079)
Input Float32 Category Grid Current N A (Ampere)
31081 (1080)
31082 (1081)
Input Float32 Category Grid Power W (Watt)
31083 (1082)
31084 (1083)
31085 (1084)
31086 (1085)
Input Float64 Category Grid Energy In Wh (Watt-Hours)
31087 (1086)
31088 (1087)
31089 (1088)
31090 (1089)
Input Float64 Category Grid Energy Out Wh (Watt-Hours)
31091 (1090)
31092 (1091)
31093 (1092)
31094 (1093)
Input Float64 Category Grid Money In Money
31095 (1094)
31096 (1095)
31097 (1096)
31098 (1097)
Input Float64 Category Grid Money Out Money
31099 (1098)
31100 (1099)
Input Float32 Category Car Current L1 A (Ampere)
31101 (1100)
31102 (1101)
Input Float32 Category Car Current L2 A (Ampere)
31103 (1102)
31104 (1103)
Input Float32 Category Car Current L3 A (Ampere)
31105 (1104)
31106 (1105)
Input Float32 Category Car Current N A (Ampere)
31107 (1106)
31108 (1107)
Input Float32 Category Car Power W (Watt)
31109 (1108)
31110 (1109)
31111 (1110)
31112 (1111)
Input Float64 Category Car Energy In Wh (Watt-Hours)
31113 (1112)
31114 (1113)
31115 (1114)
31116 (1115)
Input Float64 Category Car Energy Out Wh (Watt-Hours)
31117 (1116)
31118 (1117)
31119 (1118)
31120 (1119)
Input Float64 Category Car Money In Money
31121 (1120)
31122 (1121)
31123 (1122)
31124 (1123)
Input Float64 Category Car Money Out Money
31125 (1124)
31126 (1125)
Input Float32 Category Relais Current L1 A (Ampere)
31127 (1126)
31128 (1127)
Input Float32 Category Relais Current L2 A (Ampere)
31129 (1128)
31130 (1129)
Input Float32 Category Relais Current L3 A (Ampere)
31131 (1130)
31132 (1131)
Input Float32 Category Relais Current LN A (Ampere)
31133 (1132)
31134 (1133)
Input Float32 Category Relais Power W (Watt)
31135 (1134)
31136 (1135)
31137 (1136)
31138 (1137)
Input Float64 Category Relais Energy In Wh (Watt-Hours)
31139 (1138)
31140 (1139)
31141 (1140)
31142 (1141)
Input Float64 Category Relais Energy Out Wh (Watt-Hours)
31143 (1142)
31144 (1143)
31145 (1144)
31146 (1145)
Input Float64 Category Relais Money In Money
31147 (1146)
31148 (1147)
31149 (1148)
31150 (1149)
Input Float64 Category Relais Money Out Money
31151 (1150)
31152 (1151)
Input Float32 Category Solar Current L1 A (Ampere)
31153 (1152)
31154 (1153)
Input Float32 Category Solar Current L2 A (Ampere)
31155 (1154)
31156 (1155)
Input Float32 Category Solar Current L3 A (Ampere)
31157 (1156)
31158 (1157)
Input Float32 Category Solar Current N A (Ampere)
31159 (1158)
31160 (1159)
Input Float32 Category Solar Power W (Watt)
31161 (1160)
31162 (1161)
31163 (1162)
31164 (1163)
Input Float64 Category Solar Energy In Wh (Watt-Hours)
31165 (1164)
31166 (1165)
31167 (1166)
31168 (1167)
Input Float64 Category Solar Energy Out Wh (Watt-Hours)
31169 (1168)
31170 (1169)
31171 (1170)
31172 (1171)
Input Float64 Category Solar Money In Money
31173 (1172)
31174 (1173)
31175 (1174)
31176 (1175)
Input Float64 Category Solar Money Out Money
31177 (1176)
31178 (1177)
Input Float32 Category Akku Current L1 A (Ampere)
31179 (1178)
31180 (1179)
Input Float32 Category Akku Current L2 A (Ampere)
31181 (1180)
31182 (1181)
Input Float32 Category Akku Current L3 A (Ampere)
31183 (1182)
31184 (1183)
Input Float32 Category Akku Current N A (Ampere)
31185 (1184)
31186 (1185)
Input Float32 Category Akku Power W (Watt)
31187 (1186)
31188 (1187)
31189 (1188)
31190 (1189)
Input Float64 Category Akku Energy In Wh (Watt-Hours)
31191 (1190)
31192 (1191)
31193 (1192)
31194 (1193)
Input Float64 Category Akku Energy Out Wh (Watt-Hours)
31195 (1194)
31196 (1195)
31197 (1196)
31198 (1197)
Input Float64 Category Akku Money In Money
31199 (1198)
31200 (1199)
31201 (1200)
31202 (1201)
Input Float64 Category Akku Money Out Money
31307 (1306)
31308 (1307)
Input Float32 Custom Category 0 Current L1 A (Ampere)
31309 (1308)
31310 (1309)
Input Float32 Custom Category 0 Current L2 A (Ampere)
31311 (1310)
31312 (1311)
Input Float32 Custom Category 0 Current L3 A (Ampere)
31313 (1312)
31314 (1313)
Input Float32 Custom Category 0 Current N A (Ampere)
31315 (1314)
31316 (1315)
Input Float32 Custom Category 0 Power W (Watt)
31317 (1316)
31318 (1317)
31319 (1318)
31320 (1319)
Input Float64 Custom Category 0 Energy In Wh (Watt-Hours)
31321 (1320)
31322 (1321)
31323 (1322)
31324 (1323)
Input Float64 Custom Category 0 Energy Out Wh (Watt-Hours)
31325 (1324)
31326 (1325)
31327 (1326)
31328 (1327)
Input Float64 Custom Category 0 Money In Money
31329 (1328)
31330 (1329)
31331 (1330)
31332 (1331)
Input Float64 Custom Category 0 Money Out Money
31333 (1332)
31334 (1333)
Input Float32 Custom Category 1 Current L1 A (Ampere)
31335 (1334)
31336 (1335)
Input Float32 Custom Category 1 Current L2 A (Ampere)
31337 (1336)
31338 (1337)
Input Float32 Custom Category 1 Current L3 A (Ampere)
31339 (1338)
31340 (1339)
Input Float32 Custom Category 1 Current N A (Ampere)
31341 (1340)
31342 (1341)
Input Float32 Custom Category 1 Power W (Watt)
31343 (1342)
31344 (1343)
31345 (1344)
31346 (1345)
Input Float64 Custom Category 1 Energy In Wh (Watt-Hours)
31347 (1346)
31348 (1347)
31349 (1348)
31350 (1349)
Input Float64 Custom Category 1 Energy Out Wh (Watt-Hours)
31351 (1350)
31352 (1351)
31353 (1352)
31354 (1353)
Input Float64 Custom Category 1 Money In Money
31355 (1354)
31356 (1355)
31357 (1356)
31358 (1357)
Input Float64 Custom Category 1 Money Out Money
31359 (1358)
31360 (1359)
Input Float32 Custom Category 2 Current L1 A (Ampere)
31361 (1360)
31362 (1361)
Input Float32 Custom Category 2 Current L2 A (Ampere)
31363 (1362)
31364 (1363)
Input Float32 Custom Category 2 Current L3 A (Ampere)
31365 (1364)
31366 (1365)
Input Float32 Custom Category 2 Current N A (Ampere)
31367 (1366)
31368 (1367)
Input Float32 Custom Category 2 Power W (Watt)
31369 (1368)
31370 (1369)
31371 (1370)
31372 (1371)
Input Float64 Custom Category 2 Energy In Wh (Watt-Hours)
31373 (1372)
31374 (1373)
31375 (1374)
31376 (1375)
Input Float64 Custom Category 2 Energy Out Wh (Watt-Hours)
31377 (1376)
31378 (1377)
31379 (1378)
31380 (1379)
Input Float64 Custom Category 2 Money In Money
31381 (1380)
31382 (1381)
31383 (1382)
31384 (1383)
Input Float64 Custom Category 2 Money Out Money
31385 (1384)
31386 (1385)
Input Float32 Custom Category 3 Current L1 A (Ampere)
31387 (1386)
31388 (1387)
Input Float32 Custom Category 3 Current L2 A (Ampere)
31389 (1388)
31390 (1389)
Input Float32 Custom Category 3 Current L3 A (Ampere)
31391 (1390)
31392 (1391)
Input Float32 Custom Category 3 Current N A (Ampere)
31393 (1392)
31394 (1393)
Input Float32 Custom Category 3 Power W (Watt)
31395 (1394)
31396 (1395)
31397 (1396)
31398 (1397)
Input Float64 Custom Category 3 Energy In Wh (Watt-Hours)
31399 (1398)
31400 (1399)
31401 (1400)
31402 (1401)
Input Float64 Custom Category 3 Energy Out Wh (Watt-Hours)
31403 (1402)
31404 (1403)
31405 (1404)
31406 (1405)
Input Float64 Custom Category 3 Money In Money
31407 (1406)
31408 (1407)
31409 (1408)
31410 (1409)
Input Float64 Custom Category 3 Money Out Money
31411 (1410)
31412 (1411)
Input Float32 Custom Category 4 Current L1 A (Ampere)
31413 (1412)
31414 (1413)
Input Float32 Custom Category 4 Current L2 A (Ampere)
31415 (1414)
31416 (1415)
Input Float32 Custom Category 4 Current L3 A (Ampere)
31417 (1416)
31418 (1417)
Input Float32 Custom Category 4 Current N A (Ampere)
31419 (1418)
31420 (1419)
Input Float32 Custom Category 4 Power W (Watt)
31421 (1420)
31422 (1421)
31423 (1422)
31424 (1423)
Input Float64 Custom Category 4 Energy In Wh (Watt-Hours)
31425 (1424)
31426 (1425)
31427 (1426)
31428 (1427)
Input Float64 Custom Category 4 Energy Out Wh (Watt-Hours)
31429 (1428)
31430 (1429)
31431 (1430)
31432 (1431)
Input Float64 Custom Category 4 Money In Money
31433 (1432)
31434 (1433)
31435 (1434)
31436 (1435)
Input Float64 Custom Category 4 Money Out Money
31437 (1436)
31438 (1437)
Input Float32 Custom Category 5 Current L1 A (Ampere)
31439 (1438)
31440 (1439)
Input Float32 Custom Category 5 Current L2 A (Ampere)
31441 (1440)
31442 (1441)
Input Float32 Custom Category 5 Current L3 A (Ampere)
31443 (1442)
31444 (1443)
Input Float32 Custom Category 5 Current N A (Ampere)
31445 (1444)
31446 (1445)
Input Float32 Custom Category 5 Power W (Watt)
31447 (1446)
31448 (1447)
31449 (1448)
31450 (1449)
Input Float64 Custom Category 5 Energy In Wh (Watt-Hours)
31451 (1450)
31452 (1451)
31453 (1452)
31454 (1453)
Input Float64 Custom Category 5 Energy Out Wh (Watt-Hours)
31455 (1454)
31456 (1455)
31457 (1456)
31458 (1457)
Input Float64 Custom Category 5 Money In Money
31459 (1458)
31460 (1459)
31461 (1460)
31462 (1461)
Input Float64 Custom Category 5 Money Out Money
31463 (1462)
31464 (1463)
Input Float32 Custom Category 6 Current L1 A (Ampere)
31465 (1464)
31466 (1465)
Input Float32 Custom Category 6 Current L2 A (Ampere)
31467 (1466)
31468 (1467)
Input Float32 Custom Category 6 Current L3 A (Ampere)
31469 (1468)
31470 (1469)
Input Float32 Custom Category 6 Current N A (Ampere)
31471 (1470)
31472 (1471)
Input Float32 Custom Category 6 Power W (Watt)
31473 (1472)
31474 (1473)
31475 (1474)
31476 (1475)
Input Float64 Custom Category 6 Energy In Wh (Watt-Hours)
31477 (1476)
31478 (1477)
31479 (1478)
31480 (1479)
Input Float64 Custom Category 6 Energy Out Wh (Watt-Hours)
31481 (1480)
31482 (1481)
31483 (1482)
31484 (1483)
Input Float64 Custom Category 6 Money In Money
31485 (1484)
31486 (1485)
31487 (1486)
31488 (1487)
Input Float64 Custom Category 6 Money Out Money
31489 (1488)
31490 (1489)
Input Float32 Custom Category 7 Current L1 A (Ampere)
31491 (1490)
31492 (1491)
Input Float32 Custom Category 7 Current L2 A (Ampere)
31493 (1492)
31494 (1493)
Input Float32 Custom Category 7 Current L3 A (Ampere)
31495 (1494)
31496 (1495)
Input Float32 Custom Category 7 Current N A (Ampere)
31497 (1496)
31498 (1497)
Input Float32 Custom Category 7 Power W (Watt)
31499 (1498)
31500 (1499)
31501 (1500)
31502 (1501)
Input Float64 Custom Category 7 Energy In Wh (Watt-Hours)
31503 (1502)
31504 (1503)
31505 (1504)
31506 (1505)
Input Float64 Custom Category 7 Energy Out Wh (Watt-Hours)
31507 (1506)
31508 (1507)
31509 (1508)
31510 (1509)
Input Float64 Custom Category 7 Money In Money
31511 (1510)
31512 (1511)
31513 (1512)
31514 (1513)
Input Float64 Custom Category 7 Money Out Money
31515 (1514)
31516 (1515)
Input Float32 Custom Category 8 Current L1 A (Ampere)
31517 (1516)
31518 (1517)
Input Float32 Custom Category 8 Current L2 A (Ampere)
31519 (1518)
31520 (1519)
Input Float32 Custom Category 8 Current L3 A (Ampere)
31521 (1520)
31522 (1521)
Input Float32 Custom Category 8 Current N A (Ampere)
31523 (1522)
31524 (1523)
Input Float32 Custom Category 8 Power W (Watt)
31525 (1524)
31526 (1525)
31527 (1526)
31528 (1527)
Input Float64 Custom Category 8 Energy In Wh (Watt-Hours)
31529 (1528)
31530 (1529)
31531 (1530)
31532 (1531)
Input Float64 Custom Category 8 Energy Out Wh (Watt-Hours)
31533 (1532)
31534 (1533)
31535 (1534)
31536 (1535)
Input Float64 Custom Category 8 Money In Money
31537 (1536)
31538 (1537)
31539 (1538)
31540 (1539)
Input Float64 Custom Category 8 Money Out Money
31541 (1540)
31542 (1541)
Input Float32 Custom Category 9 Current L1 A (Ampere)
31543 (1542)
31544 (1543)
Input Float32 Custom Category 9 Current L2 A (Ampere)
31545 (1544)
31546 (1545)
Input Float32 Custom Category 9 Current L3 A (Ampere)
31547 (1546)
31548 (1547)
Input Float32 Custom Category 9 Current N A (Ampere)
31549 (1548)
31550 (1549)
Input Float32 Custom Category 9 Power W (Watt)
31551 (1550)
31552 (1551)
31553 (1552)
31554 (1553)
Input Float64 Custom Category 9 Energy In Wh (Watt-Hours)
31555 (1554)
31556 (1555)
31557 (1556)
31558 (1557)
Input Float64 Custom Category 9 Energy Out Wh (Watt-Hours)
31559 (1558)
31560 (1559)
31561 (1560)
31562 (1561)
Input Float64 Custom Category 9 Money In Money
31563 (1562)
31564 (1563)
31565 (1564)
31566 (1565)
Input Float64 Custom Category 9 Money Out Money

Holding Registers (read-write)

Data in this table can be read with modbus function 03 and written with modbus function 16.

Register Registertyp Datentyp Name Einheit Beschreibung
40001 (0)
40002 (1)
40003 (2)
40004 (3)
Holding Int64 Unix-Timestamp (UTC) Milliseconds