Dockerise: add Dockerfile, compose, gitignore token from config

This commit is contained in:
2026-04-10 09:26:03 +02:00
parent 5a170736d6
commit c9f6ceb182
4 changed files with 21 additions and 1 deletions

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": "%"
}
]
}
]
}