Home Assistant Git Exporter Addon

Home Assistant Git Exporter

Export all of your Home Assistant configuration to a git repository of your choice.
Can be used to show your Home Assistant setup in public repositories.

Addon Stage Supports aarch64 Architecture Supports amd64 Architecture Supports armhf Architecture Supports armv7 Architecture Supports i386 Architecture

Add repository on my Home Assistant Install on my Home Assistant Donate

Functionality

  • Export Home Assistant configuration
  • Export Supervisor Addon configuration
  • Export Lovelace configuration
  • Export ESPHome configurations
  • Export Node-RED flows
  • Check for plaintext secrets based on your secrets.yaml file and common patterns.
  • Check for plaintext ip and addresses in your config.

Example

For an example take a look at my own Home Assistant configuration.
The folders there are gettings synced with this addon.

Badge

If you export your config with this addon and want to help me to spread it further. Here is a badge you can embedd in your readme.

Home Assistant Git Exporter

[![Home Assistant Git Exporter](https://img.shields.io/badge/Powered%20by-Home%20Assistant%20Git%20Exporter-%23d32f2f)](https://github.com/Poeschl/Hassio-Addons/tree/master/git-exporter)

To the Addon: Hassio-Addons/git-exporter at master · Poeschl/Hassio-Addons · GitHub

If issues occur please use the GitHub issue board, since I’m only on the community forum from time to time.

Interesting. This could save some time keeping my repo up to date.

Does it work with an account with 2fa?

2fa on GitHub?
Yes, just use a accesstoken as password.

1 Like

Since duckdns doesn’t support storing secrets in the secret file, is there a way to exclude duckdns from the export?

Dyndns is an Addon?
Right now there is no option to exclude specific addon configs.

Secrets should work independently from the content of a addon. Have you already tried to set the secret method as string, like api_key: '!secret secretkey'?

Hi,
I have an issue with the addon in the last stage:

“File config/core is 1324.47 MB; this exceeds GitHub’s file size limit of 100.00 MB”
I have this in the exclude section, but it does not help…

exclude:
  - "*.db"
  - "*.log*"
  - __pycache__
  - ._*
  - .DS_Store
  - deps/
  - known_devices.yaml
  - tts/
  - "*.db-shm"
  - "*.db-wal"
  - "*.gz"
  - core
  - config/core

Any idea what could be the issue?
Thanks.