Feature/ha#3
Open
jkiddo wants to merge 5 commits into
Open
Conversation
# Conflicts: # mkdocs.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new Home Assistant MQTT integration for PyKMP, enabling Kamstrup meter data to be published to an MQTT broker for use in Home Assistant. It includes a new helper script, systemd service and environment file examples, comprehensive documentation, and a new
mkdocsconfiguration for improved documentation management.Home Assistant MQTT Integration:
Added a new helper script,
examples/home_assistant_mqtt.py, which reads Kamstrup meter data and publishes it to MQTT, supporting Home Assistant auto-discovery and per-register topics. The script is configurable via environment variables and includes robust error handling and logging.Added a sample environment file,
contrib/systemd/pykmp-ha.env.example, providing configuration for MQTT and serial connection settings.Added a systemd service unit,
contrib/systemd/pykmp-ha-mqtt.service, to run the MQTT publishing helper as a service, with instructions for customization.Documentation Improvements:
Added a new guide,
docs/home-assistant-mqtt.md, with step-by-step instructions for installing, configuring, and running the MQTT integration on a Raspberry Pi, as well as details on published topics and Home Assistant integration.Introduced a
mkdocs.ymlconfiguration, enabling modern, structured, and themed documentation for the project, including navigation, theming, and plugin setup.