Files
ha-kiosk-dashboard/restore-nodered-flows.md
2025-12-31 04:26:52 -08:00

1.7 KiB

Restoring Node-RED Flows After Home Assistant Upgrade

Problem

After upgrading Home Assistant OS, Node-RED flows are missing.

Solution Steps

1. Check Available Backups

Go to: http://192.168.68.25:8123/config/backups

Look for backups created BEFORE the upgrade. Backups typically include:

  • Home Assistant configuration
  • Add-on data (including Node-RED)
  • Supervisor data

2. Restore from Backup

  1. In Home Assistant, go to Settings > System > Backups
  2. Find a backup from before the upgrade
  3. Click on the backup
  4. Choose "Restore" or "Partial Restore"
  5. Select what to restore:
    • Home Assistant Core (configuration)
    • Node-RED add-on data (this contains your flows!)
    • Other add-ons as needed

3. Alternative: Restore Node-RED Add-on Only

If you have a backup, you can restore just the Node-RED add-on:

  1. Go to Settings > Add-ons > Node-RED
  2. Check if there's a restore option
  3. Or restore the entire backup but select only Node-RED add-on data

4. Check Node-RED Status

  • Go to Settings > Add-ons > Node-RED
  • Check if Node-RED is running
  • Check if it needs to be restarted

5. Manual Flow Export/Import (if backup doesn't work)

If you have exported flows elsewhere:

  1. Open Node-RED interface
  2. Go to Menu (three lines) > Import
  3. Paste your flow JSON
  4. Click Deploy

Prevention for Future

  • Enable automatic backups in Home Assistant
  • Export Node-RED flows regularly (Menu > Export)
  • Keep backup copies of important flows