aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 752e17e9eaa946117119a05b0fb2fe08461a089a (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
28
29
30
# inverter-bot

This is a Telegram bot for querying information from an InfiniSolar V family of hybrid solar inverters, in particular
inverters supported by **isv** utility, which is an older version of **infinisolarctl** from **infinisolar-tools**
package.

It supports querying general status, such as battery voltage or power usage, printing amounts of energy generated in
the last days, dumping status or rated information and more.

It requires Python 3.6+ or so.

## Configuration

Configuration is stored in `config.ini` file in `~/.config/inverter-bot`.

Config example:
```
token=YOUR_TOKEN
admins=
        123456     ; admin id
        000123   ; another admin id
isv_bin=/path/to/isv
use_sudo=0
```

Only users in `admins` are allowed to use the bot.

## License

BSD-2c