Skip to content

Commit

Permalink
Remove broken JSON from README
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusWichelmann committed Aug 15, 2022
1 parent c0b32bc commit 914e1ef
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,48 +43,9 @@ You can also query multiple inverters, that are not realted to each other (not i

Depending on how many Modbus devices are connected to each inverter and should be queried, you should set the `Meters` and `Batteries` values accordingly.

```json
{
"ModbusSources": [
{
"Host": "192.168.42.10",
"Port": 1502,
"Unit": 1,
"Inverters": 1,
"Meters": 1,
// This inverter has also a meter and a battery connected
"Batteries": 1
},
{
"Host": "192.168.42.11",
"Port": 1502,
"Unit": 2,
// Remember to increment this
"Inverters": 1,
"Meters": 0,
// No meters connected to this inverter
"Batteries": 0
}
]
},
```

The `InfluxDB` secion in the export configuration is fully optional and can be configured to push all queried metrics directly to an InfluxDB instance. If you don't need that, just
remove that section.

```json
{
"IndentedJson": true,
// The following is optional
"InfluxDB": {
"Url": "https://influxdb.domain.tld",
"Bucket": "Solar",
"Organisation": "MyOrganization",
"Token": "Token"
}
}
```

If needed, you can enable extended logging by setting the default log level in `appsettings.json` to `Debug`.

### Run the exporter
Expand Down

0 comments on commit 914e1ef

Please sign in to comment.