Menü Schließen

Debian openHAB Upgrade von 3.2 zu 3.3

openHAB Logo

Die Open-Source Smarthome Lösung, openHAB ist seit ein paar Wochen in Version 3.3 erschienen. Zeit meine Testinstallation unter Debian 11 Bullseye von Version 3.2 auf 3.3 zu aktualisieren.

Was ist neu in openHAB 3.3?

Am 27. Juni 2022 wurde openHAB 3.3 veröffentlicht. Die neue Version erhielt umfangreiche Änderungen und Bugfix in openHAB Core, Add-ons, UI, Android, iOS, openHABian und Javascript Libraries.

Ankündigung: openHAB 3.3 Release | openHAB
Full Release Changes: Release openHAB 3.3.0 · openhab/openhab-distro · GitHub

openHAB 3.2 Upgrade auf 3.3

Vor dem Update sollte ein Backup durchgeführt werden.

openhab-cli info

Version:     3.2.0 (Build)

Falls nicht passiert, dann die aktuellen Keyrings laden

curl -fsSL "https://openhab.jfrog.io/artifactory/api/gpg/key/public" | gpg --dearmor > openhab.gpg
mkdir /usr/share/keyrings
mv openhab.gpg /usr/share/keyrings
chmod u=rw,g=r,o=r /usr/share/keyrings/openhab.gpg

Hier nochmal der Eintrag von openHAB als Stable Release für die /etc/apt/sources.list/openhab.list

echo 'deb [signed-by=/usr/share/keyrings/openhab.gpg] https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main' | tee /etc/apt/sources.list.d/openhab.list

das Update dann einfach per apt durchführen

apt update
apt list --upgradable 
Auflistung… Fertig
openhab/stable 3.3.0-1 all [aktualisierbar von: 3.2.0-1]
apt upgrade
openhab (3.3.0-1) wird eingerichtet ...
Neue Version der Konfigurationsdatei /etc/profile.d/openhab.sh wird installiert ...
Neue Version der Konfigurationsdatei /etc/openhab/services/runtime.cfg wird installiert ...
Neue Version der Konfigurationsdatei /var/lib/openhab/etc/log4j2.xml wird installiert ...

Foglende Neuerungen und Änderungen werden angezeigt:

[openHAB] Performing post-update tasks for version 3.3.0:
[openHAB] Listing important changes for version 3.3.0:
  Warning:  BMW ConnectedDrive Binding: BMW replaced ConnectedDrive Smartphone App with MyBMW Application. Underlying API is now disabled and th
e Binding isn't working anymore. Switch to new introduced MyBMW Binding recommended.
  Warning:  Daikin Binding: The channel 'specialmode-powerful' has been removed, and a r/w channel 'streamer' added. The channel 'specialmode' c
hanged to read/write to control eco/powerful mode.
  Warning:  DanfossAirUnit Binding: The type of the channel 'humidity' was updated. You may need to remove and create your things again in case 
your things were previously created using UI and you want to use this channel.
  Warning:  Helios Binding: Firmware versions older than v2.21 are no longer supported.
  Warning:  JS Scripting Automation: 'item.history.lastUpdate()' returns 'time.ZonedDateTime' instead of 'Date'
  Warning:  JS Scripting Automation: 'addItem(...)' and 'updateItem(...)' use new itemConfig as parameter and 'createItem(...)' was removed
  Warning:  MQTT Binding: Support for the MQTT System Broker has been removed. Replace 'mqtt:systemBroker' things with 'mqtt:broker' things.
  Warning:  Netatmo Binding: Things hierarchy and organization has changed as well as channel namings. You will need to remove and create again 
these things.
  Warning:  OmniLink Binding: The channel 'sysdate' has been renamed to 'system_date', and is now read only, to make these changes visible you m
ay need to remove and recreate the `controller` thing. To synchronize the controller time there is now a new action synchronizeControllerTime th
at can be used with a time zone input (e.g. 'America/Denver').
  Warning:  Opentherm Gateway Binding: The 'otgw' Thing has been removed and split into a new 'openthermgateway' Bridge, and a new 'boiler' Thin
g. You will need to change your Thing and respective Item definitions.
  Warning:  RFXCOM Binding: The channel 'fanSpeed' of 'fan_lucci_dc' and 'fan_novy' has been renamed to 'fanSpeedControl', and 'fan_lucci_dc' ha
s a new numeric channel 'fanSpeed'. You may need to remove and create your things again.
  Warning:  TapoControl Binding: L510_Series and L530_Series Things were renamed to L510 and L530 because of manufacturer changed naming with ne
w HW-rev. You may need to remove and create again these things.
  Warning:  WLED Binding: Binding now uses Bridge and Thing structure. Delete and add a new bridge, and at least 1 thing for each segment you re
quire.
openhab-cli info

Version:     3.3.0 (Build)

openHAB Systemsteuerung

# current service status
sudo systemctl status openhab.service

# (Re-)Start openHAB (background service)
sudo systemctl restart openhab.service

# Stop the openHAB background service
sudo systemctl stop openhab.service

# Get the service log since the last boot
sudo journalctl -u openhab.service -b

# Make openHAB automatically start after booting the Linux host
sudo systemctl daemon-reload
sudo systemctl enable openhab.service

Thats it … Have Fun!

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert