This commit is contained in:
Zhang Huanjie
2022-03-20 08:29:40 +08:00
parent 9aca239ea7
commit dda4f70e13
+5 -4
View File
@@ -77,9 +77,10 @@ git clone https://github.com/bohdan-s/SunGather.git
cd SunGather cd SunGather
pip3 install --upgrade -r requirements.txt pip3 install --upgrade -r requirements.txt
``` ```
Copy config-example.py to config.py, change values as required (see comments in file) Copy config-example.yaml to config.yaml, change values as required (see comments in file)
```sh ```sh
copy config-example.py config.py cd SunGather
copy config-example.yaml config.yaml
``` ```
Run SunGather: Run SunGather:
```sh ```sh
@@ -110,7 +111,7 @@ Note: replace Australia/Sydney with relevant timezone
<!-- USAGE EXAMPLES --> <!-- USAGE EXAMPLES -->
## Usage ## Usage
See config-example.py it contains default options and comments. See config-example.yaml it contains default options and comments.
If you want to use the new Energy section in Home Assistant, follow the Home Assistant setup below. If you want to use the new Energy section in Home Assistant, follow the Home Assistant setup below.
<p align="right">(<a href="#top">back to top</a>)</p> <p align="right">(<a href="#top">back to top</a>)</p>
@@ -287,4 +288,4 @@ Project Link: [https://github.com/bohdan-s/SungrowModbusWebClient](https://githu
[issues-shield]: https://img.shields.io/github/issues/bohdan-s/SunGather.svg?style=for-the-badge [issues-shield]: https://img.shields.io/github/issues/bohdan-s/SunGather.svg?style=for-the-badge
[issues-url]: https://github.com/bohdan-s/SunGather/issues [issues-url]: https://github.com/bohdan-s/SunGather/issues
[license-shield]: https://img.shields.io/github/license/bohdan-s/SunGather.svg?style=for-the-badge [license-shield]: https://img.shields.io/github/license/bohdan-s/SunGather.svg?style=for-the-badge
[license-url]: https://github.com/bohdan-s/SunGather/blob/main/LICENSE.txt [license-url]: https://github.com/bohdan-s/SunGather/blob/main/LICENSE.txt