hoymiles-wifi
This Python library facilitates communication with Hoymiles HMS microinverters, specifically targeting the HMS-XXXXW-T2 series.
Disclaimer: This library is not affiliated with Hoymiles. It is an independent project developed to provide tools for interacting with Hoymiles HMS-XXXXW-T2 series micro-inverters featuring integrated WiFi DTU. Any trademarks or product names mentioned are the property of their respective owners.
Installation
$ pip install hoymiles-wifi
Usage
You can integrate the library into your own project, or simply use it in the command line.
Command line:
hoymiles-wifi [-h] --host HOST <command>
commands: {get-real-data-new, get-real-data-hms, get-real-data, get-config, network-info, app-information-data,app-get-hist-power}
This will retrieve the current inverter state.
Python code
from hoymiles_wifi.inverter import Inverter
inverter = Inverter(<ip_address>)
response = inverter.<command>
if response:
print(f"Inverter Response: {response}")
else:
print("Unable to get response!")
Available functions
get_real_data_new: Retrieve real-time dataget_real_data_hms: Retrieve real-time dataget_real_data: Retrieve real-time dataget_config: Retrieve configuration informationnetwork_info: Retrieve network informationapp_information_data: Retrieve application information dataapp_get_hist_power: Retrieve historical power data
Note
Please be aware of the following considerations:
- No DTU Implementation: This library retrieves information directly from the internal DTU of Hoymiles Wifi inverters.
Caution
Use this library responsibly and be aware of potential risks. There are no guarantees provided, and any misuse or incorrect implementation may result in undesirable outcomes. Ensure that your inverter is not compromised during communication.
Known Limitations
Update Frequency: The library may experience limitations in fetching updates, potentially around twice per minute. The inverter firmware may enforce a mandatory wait period of approximately 30 seconds between requests.
Compatibility: While developed for the HMS-800W-T2 inverter, compatibility with other inverters from the series is untested at the time of writing. Exercise caution and conduct thorough testing if using with different inverter models.
Attribution
A special thank you for the inspiration and codebase to:
Metadata
Release files for hoymiles-wifi 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hoymiles_wifi-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for hoymiles_wifi-0.0.6-py3-none-any.whl |
Release files / hoymiles_wifi-0.0.6-py3-none-any.whl
| Download URL | hoymiles_wifi-0.0.6-py3-none-any.whl |
|---|---|
| Size | 37.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
224052dbd7e3caa1b1aad0cd291f60786d5e4e2d8baa4cfcfa1fe1bb1fbeba47
|
|
BLAKE2b-256 checksum How to use checksums |
9c0f974f5e0293c98a6df7585b4fff1acd82a69e89f7a87d054e186c383283cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for hoymiles-wifi 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.