1
0
Fork 0
modbusmqtt/README.md

1.5 KiB

ModbusMQTT

This repository is a workspace for developing ModbusMQTT and the crates developed in the course of the project.

View the appropriate READMEs in each package directory for details about each.

modbus-mqtt

Crates.io docs.rs Crates.io

ModbusMQTT is a bridge between Modbus devices and MQTT. It aims to allow the operator to generically expose any compatible Modbus device as though its API were MQTT.

sungrow-winets

Crates.io docs.rs Crates.io

This is a barebones API client for reading and writing settings for Sungrow solar and hybrid inverters equipped with a WiNet-S communications module. Its only known use is tokio_modbus-winets (see below).

tokio_modbus-winets

Crates.io docs.rs Crates.io

This wraps sungrow-winets client in the appropriate traits from tokio-modbus to allow accessing the Modbus registers which the Sungrow WiNet-S dongle exposes. The reason for this is simply that Sungrow's TCP Modbus support is buggy and inconsistent (though improving).