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