Zum Inhalt springen
Loslegen

Move a panel from MQTT

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Panel Assistant 1.0 uses Home Assistant’s native connection and has no MQTT support. If your panel’s entities still use MQTT, run Panel Assistant 0.9.0 first so it can complete the move while keeping entity IDs, history and customisations. If you already updated to 1.0, follow its Repair to redownload 0.9.0 in HACS, finish the move, then return to 1.0.

The walkthrough below is historical guidance for Panel Assistant 0.3 through 0.8. Its Control choice is not present in 1.0; use the 0.9.0 recovery route above for a panel that still needs to move.

You move one panel at a time, and each move can be reversed. The panel’s entities keep their entity IDs, their history, and any name, icon or area you gave them, so dashboards and automations that use them carry on working.

  • Panel Assistant 0.3.0 up to 0.8 in Home Assistant, installed through HACS as described in Install the integration.
  • ha-paneld 0.9.8-rc1 or newer on the panel. Install an offered update from the panel’s Panel Assistant update entity in Home Assistant. If you need a pre-release that is not offered there, select it in the panel web interface’s Install tab and start the installation yourself.
  • The panel is signed in to Home Assistant, which it is if it shows your dashboard.
  • Leave your MQTT setup as it is. The panel still uses the broker while you move, and nothing needs to change on it.

Add this to configuration.yaml, then restart Home Assistant:

panel_assistant:
native_entities: true

Nothing moves yet. Each panel that Panel Assistant knows about gains a second set of entities on its Panel Assistant device, alongside the MQTT ones, so the two can be compared. When you move a panel, its MQTT entities take the place of this second set.

Skip this if the panel already appears under Panel Assistant in Settings, Devices and services.

Choose Add integration, then Panel Assistant, then Add a panel, and enter the panel’s hostname or address. Panel Assistant finds ha-paneld already running and offers Connect to Home Assistant. Nothing on the panel is reinstalled.

When the panel first connects, Home Assistant shows a repair: Confirm the Home Assistant user for your panel. Open it from Settings, Repairs, check that the user named is the account the panel signs in with, and confirm.

The panel retries on its own, so the repair can take up to 15 minutes to appear, and the panel can take the same again to connect after you confirm.

Open the panel’s Panel Assistant entry under Devices and services, choose Configure, set Control to Panel Assistant, and save.

The entry reloads and the panel reconnects. Its MQTT entities move to Panel Assistant, and once the panel has confirmed the move, the panel’s MQTT device is removed. Expect the entities to show as unavailable for a few seconds, and once more about 30 seconds later, while this settles. The device’s activity log fills with state changes as every entity reports in; that is expected.

From now on, changing a setting or pressing a button on the panel’s entities goes through Panel Assistant. Before a panel is moved, the same controls answer that the panel is controlled through MQTT.

Two MQTT buttons have no Panel Assistant equivalent, Update ha-paneld and Update Companion app, so they are removed, along with any leftover MQTT update entity for ha-paneld. Use the panel’s Panel Assistant update entity to update the panel app.

If you gave one of those a name, icon or area of your own, or hid or disabled it, Panel Assistant will not remove it for you. A repair lists it instead, and the panel keeps its MQTT entities until you delete that entity or clear those settings.

Open Configure again and set Control to MQTT, with native reports for comparison, or to MQTT. The entities move back to the MQTT integration with the same entity IDs and history, and the panel announces its MQTT device again.

Always move a panel back this way. Do not delete a panel’s Panel Assistant entry while Panel Assistant controls it: Home Assistant clears that entry’s entities as part of the deletion, and although Panel Assistant hands them back first, a customised entity can lose its name, icon or area on the way.

  • Some sensors stay unavailable. A panel can offer entities for sensors its hardware does not report, such as proximity, temperature or humidity. They are new Panel Assistant entities, not moved ones, so disabling them loses nothing.
  • Older ha-paneld on a moved panel. If a moved panel is later downgraded below 0.9.8-rc1, it announces its MQTT entities again. Panel Assistant disables the duplicates and raises a repair, Update ha-paneld, which clears once the panel is updated.
  • Restart notices. While Home Assistant restarts, a panel whose account is not an administrator still learns about it through MQTT, which is one more reason to leave the broker running for now.

Kommentare

Die Kommentare werden in der Diskussion zu dieser Seite auf GitHub gespeichert. Wenn du sie lädst, verbindet sich dein Browser mit GitHub. Dieser Browser merkt sich deine Wahl und lädt Kommentare auf anderen Seiten, sobald du zu ihnen scrollst.

Wir Home Assistant und alles, was die Open Home Foundation tut.

Zuletzt aktualisiert:

Build 212 · 61ef6de