Guide: Installing and testing OH3 snapshots/milestones using APT and YUM

Ibuntu makes different default package choices that Raspi OS, Debian, or Mint or any other distribution. Checking and setup to support them all on a project designed primarily fotr the Pi should be a low priority, in my personal opinion. The proper place to suggest this though is through a GitHub Issue.

1 Like

Hi
I just upgraded to OH3.
On previous version (OH2) we could run binding from version 1.
In OH3 I can’t see this option.
I couldn’t find GPIO binding for OH3.
Isn’t GPIO supported in OH3?

1 Like

As announced many times, openHAB 3 does not support V1 bindings.

2 Likes

I see.
How with binding for GPIO then?
Will it be released GPIO for OH3?

1 Like

It’s being worked on.

1 Like

Not so soon, as the contributor needs to find time to migrate the code to oh3. See last. comment a few days ago.

1 Like

I understand :slight_smile:
I think I need to wait sometime before I can upgrade to OH3.
I use GPIO for alot devices and GPIO is important piece for me :slight_smile:
Thanks for your feedback

2 Likes

Another option. discussed many times is to run OH2 for the old binding and use the remoteopenhab binding in OH3 to get the Items over to OH3.

1 Like

I see.
But it means I need to run both OH2 and OH3 ?

1 Like

Yes. I personally have them both running in Docker containers with different web ports to ease migration from OH2 to OH3. Items from OH2 appear as Channels in the Bridge Thing in OH3 and can be linked to OH3 Items.

1 Like

Ok. I think I’ll just wait for release of GPIO binding support in OH3 :slight_smile:
Thanks for your suggestion.

2 Likes

Another option for those who don’t want to wait is to use an external program called from OH via executeCommandLine or the Exec binding. GPIO is very easy to use in Python and there are tens of thousands of examples. I’m not promoting any specific approach, just mentioning the other options.

2 Likes

Thanks for the suggestion.
I just did rollback to OH2 :slight_smile:
I will just wait until GPIO is supported in OH3.

1 Like

In the process of setting up a test Pi 4 with OH3

Fresh install

Should I choose the latest milestone or snapshot? Does it matter?

Wait till Sunday and install Milestone 5…

1 Like

Does installing the latest snapshot preclude upgrading later?

Not really. You just need to change the repository before upgrading. Milestone 4 is known broken though.

Best to have a separate Influx instance?

For repair sed: can’t read /var/lib/openhab2/etc/version.properties: No such file or directory

Edit .bash_profile and change openhab2 to openhab.

from ssh:
sudo nano /home/openhabian/.bash_profile

For repair frontail log viewer:
sudo systemctl stop fronttail.service
edit file frontail.service adn change openhab2 to openhab
sudo nano /etc/systemd/system/frontail.service
sudo systemctl restart frontail.service

2 Likes

Thank you very much @Kamil_Matuszczak