Skip to content

Commit

Permalink
Feature release 2024.02.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mazocode committed Feb 28, 2024
1 parent 7c964d8 commit 51fa1f8
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 7 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@

## [2024.02.1] - 2024-02-28 Feature Release

- Read input register

- Basic support of big and little endian registers

- Read multi-byte value in big and little endian order

- Fix the default value of length to 1 ( as in the readme)


## [2023.10.6] - 2023-10-22 Bugfix Release

- Fixed pollms was ignored

## [2023.10.5] - 2023-10-22 Bugfix Release

- Fixed missing message retain
Expand Down
7 changes: 7 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Contributors

## Special thanks for all the people who had helped this project so far:

* [Philippe Rgaux](https://github.com/PhilippeRigaux)


2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ VERSION = $(shell poetry version -s)

GITHUBUSER = mazocode

ARCHS = linux/amd64 linux/arm/v6 linux/arm/v7 linux/arm64/v8
ARCHS = linux/amd64 linux/arm linux/arm/v6 linux/arm/v7 linux/arm64/v8

null =
space = $(null) $(null)
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ This is a gateway between Modbus and MQTT. It was originally developed to read r
can read from one or more Modbus TCP gateways (e.g. the Waveshare RS485 to Ethernet) simultaneously. The state of the coils can be published as a json message and their
state can also be changed with a json message sent to the rpc topic.

## Changes from the upstream version
1) Read input register
2) Basic support of big and little endian registers
3) Read multi-byte value in big and little endian order
4) Fix the default value of length to 1 ( as in the readme)

## Configuration

Expand Down
1 change: 1 addition & 0 deletions modbus2mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ def main(argv):
int(source.get("port", 502)),
schema[source["schema"]],
int(source.get("unitid", 1)),
pollms=int(source.get("pollms", 1000)),
topic_prefix=source.get("topic_prefix", None),
enabled=bool(source.get("enabled", True))
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "modbus2mqtt"
version = "2023.10.5"
version = "2024.02.1"
description = "Gateway between Modbus TCP devices and MQTT."
authors = ["Marcus Zoller <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 51fa1f8

Please sign in to comment.