Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LWT and modbus status publishing. #63

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Sep 25, 2024

  1. Added modbus status publishing.

    Modbus status is published under `<prefix>/madbus4mqtt/modbus_status` in JSON format. JSON content:
    - `status`: any of `online`, `offline` or `reconnecting`, describing current modbus state
    - `timestamp`: contains a timestamp in ISO 8601 format  (e.g. 2024-09-24T01:23:45+0000)
    r-xyz committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    a308fe3 View commit details
    Browse the repository at this point in the history
  2. Added MQTT Last Will message.

    r-xyz committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    bd4f66b View commit details
    Browse the repository at this point in the history
  3. Changing LWT and connection messages to JSON.

    Current MQTT connection status of modbus4mqtt is published under `<prefix>/modbus4mqtt`. JSON content:
    - `status`: either `online` or `offline`
    - `version`:  `modbus4mqtt version`
    - `timestamp`: time of last status update, in ISO8601 format.
    r-xyz committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    9ea37fb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00f191b View commit details
    Browse the repository at this point in the history