deCONZ - Support management of DDF files through HA config

+1 - Especially because shutting down HA, mounting (particular annoying on OSX) the SD Card and manually modifying the files is tedious to say the least.

Update
I managed to get access to the directory where I saved a DDF json file via VNC. Important to understand is:

  1. hassio (using this install method) via Balena Etcher) uses docker
  2. using the SSH or Community addon (my choice) you only get access to SSH inside that container BUT NOT the actual OS (big shout out to @quentinsf in his comment)

The aforementioned comment finally helped me to locate the documentation “How to get SSH access to the host”.

Steps are simple:

  1. Generate SSH keys (Tutorial)
  2. Format a USB drive names “CONFIG” as described in the tutorial
  3. Save the pub key on the USB drive, rename it to “authorized_keys” and plug the USB drive into your device (in my case a Pi)
  4. Install the SSH Addon, connect via SSH in the docker container and execute the command ha os import which should get confirmed with Command completed successfully.
  5. Optional: Create an alias command (in my case in .zrpofile because Mac OSX) by editing .zprofile in my user home directory and pasting alias YOUR_COMMAND='ssh -v -o ServerAliveInterval=60 -p 22222 root@IP_OF_YOUR_DEVICE -i ~/PATH_TO_PRIVATE_KEY/PRIVATE_KEY'
  6. SSH Login to your OS
  7. Navigate to /mnt/data/supervisor/addons/data/core_deconz/.local/share/dresden-elektronik/deCONZ/devices

Cheers
Mike

1 Like