Installing Updates
Installing updates can easily be done through the web interface. Click on the version number at the bottom of the page and choose “Check for Udate”. Then choose a version and click on “Install”.
Command Line
Installing a new version can only be done using the command line.
Check out the Available Downloads page to see which operating systems are supported. You will find the latest version on GitHub → Releases.
Then you can download and unarchive a new version.
1wget https://github.com/brutella/hkknx-public/releases/download/2.6.0/hkknx-2.6.0_linux_arm.tar.gz
2tar -xzf hkknx-2.6.0_linux_arm.tar.gz
3ls
4# INSTALLATION.md hkknx hkknx-2.6.0_linux_arm.tar.gz
Once you have downloaded a version from GitHub, you have to replace the old hkknx file with the new one.
If you don’t know, where the executable is located, you can run the command which hkknx
to find out.
If you are using the pre-configured Raspberry Pi image, the executable is stored at /usr/bin/hkknx
.
1# Stop service
2sv stop hkknx
3
4# Replace executable file
5mv ./hkknx /usr/bin
6
7# Start service
8sv start hkknx
Pre-Releases
Pre-releases are beta versions, and contain new changes and features. You can install them via the web interface but they might cause unexpected behaviour.