Loading...

Modbus4

Modbus Cache Proxy: Reconnects, Timeouts and Stale Data

Modbus Cache Proxy: Reconnects, Timeouts and Stale Data

What my Modbus cache does when the Huawei SDongle stops answering, the morning in September when it served old values for minutes, and how I get alerted now.

Read the Huawei SUN2000 in Home Assistant Without a Custom Integration: Native Modbus YAML

Read the Huawei SUN2000 in Home Assistant Without a Custom Integration: Native Modbus YAML

Read every Huawei SUN2000 register straight into Home Assistant with the built-in modbus platform — no custom component that breaks on upgrade. A complete register-to-YAML map with the right data_type, scale, device_class and state_class for the Energy Dashboard.

Modbus TCP Cache Proxy in Python for a Huawei SUN2000

Modbus TCP Cache Proxy in Python for a Huawei SUN2000

A walk through the corrected code of my Modbus TCP cache for a Huawei SDongle: transaction IDs, reply checks, PV counter limits and what clients get.

Caching a Huawei SUN2000 over Modbus for Home Assistant

Caching a Huawei SUN2000 over Modbus for Home Assistant

My Huawei SDongle allows very few Modbus connections. Why I put a cache server in front of it, the fault it had until October and what its log shows.