Been testing OH 3, and things are working pretty well so far. Are there any options for using a binding that seems to be unavailable in OH3, specifically the MiOS binding I’m using to control a few devices connected to a Vera home controller (https://www.openhab.org/addons/bindings/mios1/). Is there any way to work around to get this binding to work? Thanks for the help!!!
Hello,
I did the above procedure to switch to openHAB3 but I’m running into a problem here:
System Information:
Release = Raspbian GNU/Linux 10 (buster)
Kernel = Linux 5.4.72-v7+
Platform = Raspberry Pi 3 Model B Rev 1.2
First I reinstalled OPENHAB 2.5.10 and then wanted to upgrade to OPENHAB 3 with the following recommended procedure:
I wrote the current version “openHABian 1.6” as an image on the SD card. > ok
Insert the SD card into Raspberry Pi, connect Ethernet and power on. > ok
Installation of the openHAB 2.5.10 was successful. > ok
According to the note above “disable ZRAM first” with openhabian-config > ok
Zulu’s Open JDK 11 installed, with openhabian-config > ok
So far so good.
Decision for “fresh installation” with the following commands:
sudo apt purge openhab2
sudo apt update
Now the Problem!
sudo apt install openhab
Summary
[16:01:45] openhabian@openHABianDevice:~$ sudo apt purge openhab2
[sudo] Passwort für openhabian:
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
Die folgenden Pakete werden ENTFERNT:
openhab2* openhab2-addons*
0 aktualisiert, 0 neu installiert, 2 zu entfernen und 0 nicht aktualisiert.
Nach dieser Operation werden 294 MB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n] J
(Lese Datenbank … 52883 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von openhab2-addons (2.5.10-1) …
Entfernen von openhab2 (2.5.10-1) …
Trigger für systemd (241-7~deb10u4+rpi1) werden verarbeitet …
(Lese Datenbank … 51654 Dateien und Verzeichnisse sind derzeit installiert.)
Löschen der Konfigurationsdateien von openhab2 (2.5.10-1) …
userdel: Gruppe openhab nicht entfernt, da sie noch andere Mitglieder hat.
/usr/sbin/delgroup: »openhabian« hat immer noch »openhab« als primäre Gruppe!
Updating FireMotD available updates count …
[16:07:30] openhabian@openHABianDevice:~$ sudo apt update
OK:1 http://archive.raspberrypi.org/debian buster InRelease
OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Ign:3 https://dl.bintray.com/openhab/apt-repo2 stable InRelease
OK:4 https://deb.nodesource.com/node_12.x buster InRelease
Holen:5 https://dl.bintray.com/openhab/apt-repo2 stable Release [6.051 B]
Es wurden 6.051 B in 3 s geholt (1.741 B/s).
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
Alle Pakete sind aktuell.
[18:22:32] openhabian @ openHABianDevice: ~ $ sudo apt install openhab
[sudo] password for openhabian:
Package lists are being read …
Dependency tree is built …done
Status information is read in …
Done E: Package openhab cannot be found.
Where is the problem?
Possibly, problems accessing the repository?
Thank you for your help.
I already knew that openHAB 3 did not yet exist in a release version.
But I wasn’t sure whether openHAB 3 runs with openHABian 1.6 and which adjustments and installation steps are necessary in detail to get openHAB 3.x to work.
Now I was able to successfully install openHAB 3 (Milestone 3.0.0.M2) with the information from this topic. It was difficult to fish the relevant information from the various comments, but in the end I was successful.
Many thanks to all of you who make the effort here in the forum to somehow bring the topic across.
What I have seen so far is a fantastic work and further development of openHAB by the developers.
Many thanks to all contributing developers and openHAB experts.
Here in detail the installation steps that I have carried out to get a new installation of openHAB 3 up and running, it is important to note points 4 & 5:
I wrote the current version “openHABian 1.6” as an image on the SD card.
Insert the SD card into Raspberry Pi, connect Ethernet and power on.
Installation of the openHAB 2.5.10 was successful.
Decision for Fresh Installation (delete openHAB 2.5.10) and Milestone version
According to the notes in forum “disable ZRAM first” with openhabian-config
Zulu’s Open JDK 11 installed, with openhabian-config
Sorry might not be the right place, but i’have been looking for 45min now.
How can i change the “8080” port on my rpi setup?
I’m trying to run a testsetup with OH3 next to my OH2.5 running setup.
tried:
Stop openhab
Edit the file:
/etc/default/openhab2
Uncomment the line:
#OPENHAB_HTTP_PORT=8080
How did you install openhab? The file location varies depensing on how you installed. For OH3 I think it should be /etc/openhab anyway. The version number has been dropped. ( I am running on Docker which is “different”.
show ? It should not show openhab2, openhab2-addons.
The file that you are looking for is /etc/default/openhab.
In case you only find /etc/default/openhab2 it looks like you are still on version 2.
I saw a message in this forum where a user did not used the correct repository andthus installed openhab2 again after deinstalling it because the repo that he used was not containing OH3.
Assumed you use apt to install OH3: check content of /etc/apt/sources.list.d/ that it contains a repo configuration like described in the first post in this thread.
What does ok I see the problem mean ?
Did you run sudo apt upgrade before running sudo apt install openhab in case you modified the repository ?
Prerequisite lists the repo that is required. It contains jfrog.io in the name. There is an other one that has bintray.com in it’s name. The later one does not have the OH3 binaries.
(don’t really know why, but it seems I’m not able to use the “quote” function of this forum any more)
I ran the commands recommended to purge the old OH2 stuff, but got some errors during the “apt install --reinstall openhab”. It seems everything is working afterwards, but it kinda scared me for a second. Anything worth reporting somewhere?
root@rockpi:/var/log/openhab# apt install --reinstall openhab
Läser paketlistor… Färdig
Bygger beroendeträd
Läser tillståndsinformation… Färdig
0 att uppgradera, 0 att nyinstallera, 1 att installera om, 0 att ta bort och 0 att inte uppgradera.
Behöver hämta 82,1 MB arkiv.
Efter denna åtgärd kommer ytterligare 0 B utrymme användas på disken.
Läs:1 https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main arm64 openhab all 3.0.0~M3-1 [82,1 MB]
Hämtade 82,1 MB på 16s (5 009 kB/s)
(Läser databasen ... 52386 filer och kataloger installerade.)
Förbereder att packa upp .../openhab_3.0.0~M3-1_all.deb ...
Packar upp openhab (3.0.0~M3-1) över (3.0.0~M3-1) ...
Ställer in openhab (3.0.0~M3-1) ...
[openHAB] Performing post-update tasks for version 3.0.0:
Replacing: String org.eclipse.smarthome.i18n to org.openhab.i18n in file /var/lib/openhab/config/org/openhab/i18n.config
Replacing: String org.eclipse.smarthome.persistence to org.openhab.persistence in file /var/lib/openhab/config/org/openhab/persistence.config
Moving: From /var/lib/openhab/config/org/eclipse/smarthome/audio.config to /var/lib/openhab/config/org/openhab/audio.config
Replacing: String org.eclipse.smarthome.audio to org.openhab.audio in file /var/lib/openhab/config/org/openhab/audio.config
Moving: From /var/lib/openhab/config/org/eclipse/smarthome/voice.config to /var/lib/openhab/config/org/openhab/voice.config
Replacing: String org.eclipse.smarthome.voice to org.openhab.voice in file /var/lib/openhab/config/org/openhab/voice.config
Replacing: String org.eclipse.smarthome.inbox to org.openhab.inbox in file /var/lib/openhab/config/org/openhab/inbox.config
Moving: From /var/lib/openhab/config/org/eclipse/smarthome/links.config to /var/lib/openhab/config/org/openhab/links.config
Replacing: String org.eclipse.smarthome.links to org.openhab.links in file /var/lib/openhab/config/org/openhab/links.config
Replacing: String org.eclipse.smarthome.folder to org.openhab.folder in file /var/lib/openhab/config/org/openhab/folder.config
Replacing: String org.eclipse.smarthome.threadpool to org.openhab.threadpool in file /var/lib/openhab/config/org/openhab/threadpool.config
Replacing: String org.eclipse.smarthome.autoupdate to org.openhab.autoupdate in file /var/lib/openhab/config/org/openhab/autoupdate.config
Replacing: String org.eclipse.smarthome.chart to org.openhab.chart in file /var/lib/openhab/config/org/openhab/chart.config
Replacing: String org.eclipse.smarthome.lsp to org.openhab.lsp in file /var/lib/openhab/config/org/openhab/lsp.config
Replacing: String org.eclipse.smarthome.network to org.openhab.network in file /var/lib/openhab/config/org/openhab/network.config
Replacing: String org.eclipse.smarthome.core to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.config.discovery.DiscoveryResult.json
Replacing: String org.eclipse.smarthome to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.config.discovery.DiscoveryResult.json
Replacing: String org.eclipse.smarthome.core to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.items.Item.json
Replacing: String org.eclipse.smarthome to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.items.Item.json
Replacing: String org.eclipse.smarthome.core to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.items.Metadata.json
Replacing: String org.eclipse.smarthome to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.items.Metadata.json
Replacing: String org.eclipse.smarthome.core to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.thing.link.ItemChannelLink.json
Replacing: String org.eclipse.smarthome to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.thing.link.ItemChannelLink.json
Replacing: String org.eclipse.smarthome.core to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.thing.Thing.json
Replacing: String org.eclipse.smarthome to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.thing.Thing.json
Deleting Directory: /var/lib/openhab/config/org/eclipse/smarthome
Deleting Directory: /var/lib/openhab/config/com/eclipsesource
dpkg: fel vid hantering av paketet openhab (--configure):
installed openhab package post-installation script subprocess returned error exit status 1
Hanterar utlösare för systemd (241-7~deb10u4) ...
Fel uppstod vid hantering:
openhab
E: Sub-process /usr/bin/dpkg returned an error code (1)
(Sorry for all the swedish in there, hope you can understand what it says anyway )