blob: af12a452db4f523f4576946aff28f56b252d5a51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# inverterd-client
This is a Python [inverterd](https://github.com/gch1p/inverter-tools) client library.
## Installation
It's available on Pypi:
```
pip install inverterd
```
## Usage example
```python
from inverterd import Client, Format
c = Client(8305, '127.0.0.1')
c.connect()
c.format(Format.JSON)
print(c.exec('get-status'))
print(c.exec('get-year-generated', (2021,)))
```
## License
MIT
|