1
0
Fork 0
modbusmqtt/README.md

31 lines
1.8 KiB
Markdown
Raw Normal View History

2022-07-17 10:41:56 +10:00
# ModbusMQTT
2022-09-09 17:36:39 +10:00
This repository is a workspace for developing ModbusMQTT and the crates developed in the course of the project.
2022-07-17 10:41:56 +10:00
2022-09-09 17:36:39 +10:00
View the appropriate READMEs in each package directory for details about each.
2022-07-17 10:41:56 +10:00
2022-09-11 18:37:57 +10:00
## [`modbus-mqtt`](./modbus-mqtt)
2022-07-17 10:41:56 +10:00
2022-09-18 14:23:45 +10:00
[![Docker](https://img.shields.io/docker/v/bjeanes/modbus-mqtt?label=docker)](https://hub.docker.com/r/bjeanes/modbus-mqtt)
[![Crates.io](https://img.shields.io/crates/v/modbus-mqtt.svg)](https://crates.io/crates/modbus-mqtt)
[![docs.rs](https://img.shields.io/docsrs/modbus-mqtt)](https://docs.rs/modbus-mqtt/latest/modbus_mqtt/)
![license](https://img.shields.io/crates/l/modbus-mqtt)
2022-07-17 10:41:56 +10:00
2022-09-09 17:36:39 +10:00
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.
2022-07-17 10:41:56 +10:00
2022-09-11 18:37:57 +10:00
## [`sungrow-winets`](./sungrow-winets)
2022-07-17 10:41:56 +10:00
2022-09-09 17:36:39 +10:00
![Crates.io](https://img.shields.io/crates/v/sungrow-winets.svg)
![docs.rs](https://img.shields.io/docsrs/sungrow-winets.svg)
![Crates.io](https://img.shields.io/crates/l/sungrow-winets)
2022-09-09 17:01:19 +10:00
2022-09-09 17:36:39 +10:00
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).
2022-09-09 17:01:19 +10:00
2022-09-11 18:37:57 +10:00
## [`tokio_modbus-winets`](./tokio_modbus-winets)
2022-09-09 17:01:19 +10:00
2022-09-09 17:36:39 +10:00
![Crates.io](https://img.shields.io/crates/v/tokio_modbus-winets.svg)
![docs.rs](https://img.shields.io/docsrs/tokio_modbus-winets)
![Crates.io](https://img.shields.io/crates/l/tokio_modbus-winets)
2022-09-09 17:01:19 +10:00
2022-09-11 18:37:57 +10:00
This wraps `sungrow-winets` client in the appropriate traits from [`tokio-modbus`](https://crates.io/crates/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).