+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:
- hassio (using this install method) via Balena Etcher) uses docker
- 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:
- Generate SSH keys (Tutorial)
- Format a USB drive names “CONFIG” as described in the tutorial
- 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)
- Install the SSH Addon, connect via SSH in the docker container and execute the command
ha os importwhich should get confirmed withCommand completed successfully. - 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' - SSH Login to your OS
- Navigate to
/mnt/data/supervisor/addons/data/core_deconz/.local/share/dresden-elektronik/deCONZ/devices
Cheers
Mike