semvec/pypi-packages huggingface dataset:
techdevutil 0.0.5
A util library
License: MIT
Keywords: util

This is a util extension by techpluscraft with many functions

Change Log
==========

0.0.5 (9/26/2021)
-----------------
- Added List to String fuction

0.0.4 (8/30/2021)
-----------------
- Fixed remove_spaces

0.0.3 (8/30/2021)
-----------------
- Added a remove_spaces Function

0.0.2 (8/30/2021)
-----------------
- Added palindrome Function

0.0.1 (8/29/2021)
-----------------
- First Release
TomczykPythonFunctionsFiles 0.0.1
Files Management
License: MIT
Keywords: Filename,Paths

The functions provided here are custom ones to ease file management : filenames and paths


Change Log
==========

version : 0.0.1
-----------------------
date    : 2021/09/26
---
Comments: first release

version : 0.0.2
-----------------------
date    : 2021/09/26
---
Comments: second release. install_requires issues

version : 0.0.3
-----------------------
date    : 2021/09/26
---
Comments: third release. install_requires issues
TOMCZYK-Python-Functions-Files 0.0.3
Files Management
License: MIT
Keywords: Filename,Paths

The functions provided here are custom ones to ease file management : filenames and paths


Change Log
==========

version : 0.0.1
-----------------------
date    : 2021/09/26
Comments: first release

version : 0.0.2
-----------------------
date    : 2021/09/26
Comments: second release. install_requires issues

version : 0.0.3
-----------------------
date    : 2021/09/26
Comments: third release. install_requires issues
goodwe-louigie 1.0.1
Read data from GoodWe inverter via local network
License: MIT
Keywords: GoodWe,Solar Panel,Inverter,Photovoltaics,PV

# GoodWe
[![PyPi](https://img.shields.io/pypi/v/goodwe.svg)](https://pypi.python.org/pypi/goodwe/)
[![Python Versions](https://img.shields.io/pypi/pyversions/goodwe.svg)](https://github.com/marcelblijleven/goodwe/)
[![Build Status](https://github.com/marcelblijleven/goodwe/actions/workflows/publish.yaml/badge.svg)](https://github.com/marcelblijleven/goodwe/actions/workflows/publish.yaml)
![License](https://img.shields.io/github/license/marcelblijleven/goodwe.svg)

Library for connecting to GoodWe inverter over local network and retrieving runtime sensor values and configuration parameters.

It has been reported to work on GoodWe ET, EH, BT, BH, ES, EM, DT, D-NS, XS and BP families of inverters.
It may work on other inverters as well, as long as they listen on UDP port 8899 and respond to one of supported communication protocols.

(If you can't communicate with the inverter despite your model is listed above, it is possible you have old ARM firmware version.
Usually the ARM firmware (not inverter firmware) has to be >=13. You should ask manufacturer support to upgrade your ARM firmware to be able to communicate with inveter via UDP.) 

## Usage
1. Install this package `pip install goodwe`
2. Write down your GoodWe inverter's IP address (or invoke `goodwe.search_inverters()`)
3. Connect to inverter and read all runtime data, example below

```python
import asyncio
import goodwe


async def get_runtime_data():
    ip_address = '192.168.1.14'

    inverter = await goodwe.connect(ip_address)
    runtime_data = await inverter.read_runtime_data()

    for sensor in inverter.sensors():
        if sensor.id_ in runtime_data:
            print(f"{sensor.id_}: \t\t {sensor.name} = {runtime_data[sensor.id_]} {sensor.unit}")


asyncio.run(get_runtime_data())
```
or the old way (for XS inverters only), create a processor and inverter instance:
```python
import asyncio
from goodwe import GoodWeInverter, GoodWeXSProcessor

async def get_data():
    ip_address = '192.168.200.100'
    processor = GoodWeXSProcessor()
    inverter = GoodWeInverter(inverter_address=(ip_address, 8899), processor=processor)
    data = await inverter.request_data()
    print(f'power is {data.power} at {data.date:%H:%M:%S}')

asyncio.run(get_data())
```
## References and useful links

- https://github.com/mletenay/home-assistant-goodwe-inverter
- https://github.com/tkubec/GoodWe
- https://github.com/yasko-pv/modbus-log
- https://github.com/MiG-41/Modbus-GoodWe-DT
- https://github.com/OpenEMS/openems