FM
FlowMarket
General Automation Beginner ⚡ 6 n8n Nodes

Request and receive Zigbee backup from zigbee2mqtt and save it v

A single workflow with 2 flows/paths that combine to handle the backup sequence for Zigbee device configuration from HomeAssistant / zigbee2mqtt. This provid...

🔌 Nodes & Integrations Used (1)

n8n Core Logic

📖 Implementation & Setup Guide

A single workflow with 2 flows/paths that combine to handle the backup sequence for Zigbee device configuration from HomeAssistant / zigbee2mqtt. This provides a way to automate a periodic capture of Zigbee coordinators and device pairings to speed the recovery process when/if the HomeAssistant instance needs to be rebuilt. Setting up similar automation without n8n (e.g. shell scripts and system timers) is consiterably more challenging. n8n makes it easy and this template should remove any other excuse not to do it.

Flow 1 * Triggered by Cron/Timer * set whatever interval for backups * sends mqtt message to request zigbee2mqtt backup (via separate message)

Flow 2 * Triggered by zigbee2mqtt backup message * Extracts zip file from the message and stores somewhere, with a date-stamp in the filename, via sftp

Setup * Create a MQTT connection named **"MQTT Account"** with the appropriate protocol (mqtt), host, port (1883), username, and password * Create an sftp connection named **"SFTP Zigbee Backups"** with the appropriate host, port (22), username, and password or key.

Reference * [This article](https://home-assistant-guide.com/changelog/zigbee2mqtt/zigbee2mqtt-1-26-0/you-can-now-back-up-your-complete-zigbee2mqtt-configuration/) describes the mqtt parts.

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Request_and_receive_Zigbee_backup_from_zigbee2mqtt_and_save_it_v.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related General Automation Workflows

View All in General Automation →