I installed Debian 13 (Trixie) on a Ugreen DXP 4800 Plus NAS, in a virtual machine. Goal: Install OpenHab 5.0.1.
I successfully installed Java 21 (OpenJDK).
But reading the OpenHab documentation, I apparently need to enter this line of code in the OpenHab installation protocol (add repository key):
wget -qO - ‘``https://openhab.jfrog.io/artifactory/api/gpg/key/public’`` | sudo tee /etc/apt/trusted.gpg.d/openhab.gpg > /dev/null
And I get this error:
bash: curl: command not found gpg: No valid OpenPGP data found.
What should I do? I didn’t think I’d have any problems following the installation protocol mentioned on the OpenHab website, and I was previously using a Raspberry Pi. I’m stuck.
Debian doesn’t install a lot of things on a clean install. It doesn’t even install sudo.
Basically if it says not found it is usually because it is not installed, as you have found out.
I am running Debian 13 and openHab 5.0.1 on proxmox vm no problems. Enjoy.
If so, why (if you do not mind me asking), instead of a LXC?
I am currently playing with Proxmox; I bought two Minisforum UM773 (and use a rPi as 3rd quorum member) specifically for openHAB, to ensure uptime, as it has become a critical system for the house. In fact, it is now essential (like electricity) for the house to run.
I didn’t use LXC because I have external devices on the host (eg sdr for the weather station) and it is easier to pass the external devices to the vm.
I am running LXC for zoneminder.
Like you the system is essential for running the house now.
I don’t have an automatic fail over but I do have another machine that I use proxmox backup to back up to and I have bareos for the files backups on all machines so it is fairly easy to get things going again. (if I am at home)
I don’t have an internet modem. I use opnsense on a proxmox vm and it does the modem stuff, so one less piece of hardware, but a single point of failure if proxmox dies.
Passing hardware into a LXC container can be a pain so I too use a VM (Ubuntu instead of Debian but mostly the same idea). Also because of the hardware passthrough challenges, I never bothered trying to set up a cluster. openHAB is the only thing close to a vital service I run that would need to be run like this (though it’s starting to annoy my wife when Mealie is down) so I’ve not pursued it. But I’ve a spare machine now that I’ve upgraded my opnSense to one with 2.5 GB ports and plan on starting to experiment with that.
So my config is similar to @ubeaut’s in a lot of ways (and different in other ways).
I am using smlight poe and it works very well. No issues. I don’t use ZigBee binding but zigbee2mqtt as it is well supported for devices and upgrades. As a matter of fact I just upgraded it just before writing this. I am running out in docker.
Thanks to all three of you… I am certainly slow, or shall we say pragmatic.
@ubeaut suggested the Smilight SLZB-06M elsewhere to me; I now have three (house, shed, garage). Like ubeaut said: no issues. (Thanks for suggestion these.)
I am building a Proxmox cluster as we speak to ensure most 9s possible for openHAB’s uptime.
I will have similar things @sihui suggested; e.g Gitea for version control (file based just don’t cut it any more); the Zigbee2MQTT instances, mqtt, etc.
I have only managed switches, and got some with PoE @rlkoshak mentioned, to feed cameras and the SLXB-06M devices.
I actually have two Proxmox systems; the cluster for the house, and a single Proxmox for the private network; e.g., should we die or ever move out; as openHAB will (have to) stay.
It was debated in various places why anyone would rely on an open source system for essential services; but I can attest to openHAB’s stability, having seen uptime of 700 days+ (only interrupted due to upgrade or hardware failure)… one reason why I am dragging my feet with upgrades. But Proxmox will allow for an easy switch in the future.