Initial commit

Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
2025-10-01 09:38:42 +02:00
commit 5a170736d6
7 changed files with 363 additions and 0 deletions

92
config/config.json Normal file
View File

@@ -0,0 +1,92 @@
{
"sample_rate": 10,
"influxdb_host": "p5.local",
"influxdb_port": 8086,
"influxdb_token": "",
"devices": [
{
"name": "AlphaEss",
"type": "pv",
"modbus": {
"protocol": "tcp",
"host": "192.168.178.79",
"port": 502,
"slave_address": 85
},
"registers": [
{
"name": "TotalEnergyFeedToGridGrid",
"type": "holding",
"address": 16,
"quantity": 2,
"factor": 0.01,
"unit": "kWh"
},
{
"name": "TotalEnergyConsumeFromGridGrid",
"type": "holding",
"address": 18,
"quantity": 2,
"factor": 0.01,
"unit": "kWh"
},
{
"name": "Pv1Power",
"type": "holding",
"address": 1055,
"quantity": 2,
"factor": 1,
"unit": "W"
},
{
"name": "Pv2Power",
"type": "holding",
"address": 1059,
"quantity": 2,
"factor": 1,
"unit": "W"
},
{
"name": "InverterTotalPvEnergy",
"type": "holding",
"address": 1086,
"quantity": 2,
"factor": 0.1,
"unit": "kWh"
},
{
"name": "InverterPowerL1",
"type": "holding",
"address": 1030,
"quantity": 2,
"factor": 1,
"unit": "W"
},
{
"name": "InverterPowerL2",
"type": "holding",
"address": 1032,
"quantity": 2,
"factor": 1,
"unit": "W"
},
{
"name": "InverterPowerL3",
"type": "holding",
"address": 1034,
"quantity": 2,
"factor": 1,
"unit": "W"
},
{
"name": "BatteryStateOfCharge",
"type": "holding",
"address": 258,
"quantity": 1,
"factor": 0.1,
"unit": "%"
}
]
}
]
}