Files
visquitto-mqtt/README.md
T
2026-11-03 15:49:39 +03:30

3.9 KiB

Visquitto MQTT

A custom Home Assistant MQTT integration based on the official Home Assistant MQTT integration.

Visquitto MQTT provides a separate MQTT integration under the vmqtt domain, allowing it to coexist with the official MQTT integration.

Installation

Copy the custom_components/vmqtt directory into your Home Assistant configuration directory:

/config/custom_components/vmqtt/

Restart Home Assistant.

Then go to Settings → Devices & services → Add integration and search for Visquitto MQTT.

Maintaining the upstream fork

This integration is derived from the official Home Assistant MQTT integration.

The upstream source is maintained in a separate local Git workspace named ha-mqtt-work.

The distribution repository (visquitto-mqtt) contains the installable integration.

Repository layout

Both repositories should be located in the same parent directory:

parent/
├── ha-mqtt-work/
│   └── homeassistant/components/mqtt/
│
└── visquitto-mqtt/
    └── custom_components/vmqtt/

Updating from a new Home Assistant release

When Home Assistant releases a new version, follow these steps.

1. Fetch upstream changes

Go to the original Home Assistant workspace:

cd ha-mqtt-work
git fetch origin --tags

or use this to significantly reduce download size:

git fetch --depth=1 origin tag 2026.11.1 # Replace 2026.11.1 with the release you want.

2. Check that your working tree is clean

git status

Make sure there are no uncommitted changes.

3. Rebase your custom integration onto the new release

For example, to update to 2026.11.1:

git switch vmqtt-port
git rebase 2026.11.1

Replace 2026.11.1 with the actual Home Assistant release tag.

Git will replay your custom modifications on top of the new upstream release.

If there are conflicts:

git status

Resolve the conflicts in the affected files, then:

git add <resolved-files>
git rebase --continue

To cancel the rebase if necessary:

git rebase --abort

4. Test the updated integration

Test the integration in Home Assistant before distributing it.

Pay particular attention to MQTT connections, configuration flow, discovery, publishing, subscriptions, and triggers.

5. Synchronize the updated integration into the distribution repository

From the parent directory containing both repositories:

rsync -av --delete ha-mqtt-work/homeassistant/components/mqtt/ visquitto-mqtt/custom_components/vmqtt/

This copies the updated integration source, including your rebased custom modifications.

The destination should contain only the integration files being synchronized. Do not store distribution-only files inside custom_components/vmqtt/ unless they are also maintained in the upstream workspace.

6. Update the integration version

Edit:

visquitto-mqtt/custom_components/vmqtt/manifest.json

Increment the custom integration version, for example:

"version": "0.1.1"

7. Commit and push the updated distribution

cd visquitto-mqtt

git status
git diff

git add .
git commit -m "Update from Home Assistant 2026.11.1"
git push origin main

Use your actual distribution branch name if it is not main.

8. Publish a new release

Create a release in the distribution repository using the new integration version, for example 0.1.1.

Include a short description of the upstream changes and your own modifications.

Versioning

Visquitto MQTT maintains its own version number, independently of Home Assistant Core.

For example:

  • 0.1.0 — Initial release
  • 0.1.1 — First update
  • 0.2.0 — New functionality or significant changes

License

Based on Home Assistant Core. See the accompanying license information.