Registry / devops / hoymiles-wifi

hoymiles-wifi

JSON →
library0.5.6pypypiunverified

Python library to communicate with Hoymiles DTUs and HMS WiFi-enabled microinverters via protobuf. Current version 0.5.6, requires Python >=3.9. Actively maintained with frequent releases.

pip install hoymiles-wifi
INSTALL
IMPORT
SIG · HOYMILES-WIFI
H
hoymiles-wifi
devopspythonv0.5.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HoymilesWifi
from hoymiles_wifi import HoymilesWifi
from hoymiles_wifi import HoymilesWifi

Connect to a Hoymiles DTU by IP and fetch inverter data asynchronously.

import asyncio from hoymiles_wifi import HoymilesWifi async def main(): dtu_host = os.environ.get('DTU_HOST', '192.168.1.100') hw = HoymilesWifi(dtu_host) data = await hw.async_get_data() print(data) await hw.close() asyncio.run(main())
Debug
Known issues
gotchaThe DTU host IP may change if using DHCP; use a static IP or hostname to avoid connection failures.
fix
Set a static IP for the DTU in your router or use DNS-based hostname.
affects: all
gotchaThe library runs async; do not forget to await the async calls and close the session to avoid warnings.
fix
Always use 'await hw.async_get_data()' and call 'await hw.close()' after use.
affects: all
deprecatedThe synchronous API (sync_get_data) is deprecated and may be removed in future versions. Use async API instead.
fix
Migrate to async methods: async_get_data(), async_get_info(), etc.
affects: >=0.5.0
Upgrade
Version history
0.5.6latest on PyPI · released Feb 13, 2026
Audit
Dependencies
protobufrequiredRequired for protobuf protocol messages
aiohttprequiredAsync HTTP client for DTU communication
cryptographyrequiredUsed for secure communication
Agent activity
19 hits · last 30 days
node
18
Amazon
1
Resources
hoymiles-wifi — pip install hoymiles-wifi · libregistry