Menü Schließen

openHAB 4.0.0 Milestone 1 Release

openHAB Logo

Die Entwickler des beliebten Smarthome openHAB, haben die neue Version 4.0.0 als Milestone 1 veröffentlicht. Diese behebt gegenüber der vorherigen Version einige Fehler und bringt neue Features. Vor dem Upgrade von openHAB 3 auf openHAB 4 sind jedoch einige Änderungen und neue Voraussetzungen zu beachten.

openHAB 4.0.0 Requirements

  • openHAB 4 requires Java 17 as prerequisite. Please make sure to install an according JVM first.
  • The application/javascript MIME type has moved from NashornJS to GraalJS due to the removal of NashornJS in Java 14. All UI-based JavaScript scripts including Blocklies are broken now. To make them work again:
    • Migrate your Blocklies (see Rules Blockly | openHAB)
    • Install the JavaScript Nashorn add-on and change the MIME type of your old application/javascript scripts to application/javascript;version=ECMAScript-5.1. The UI has a picker for the MIME type of existing scripts inside the „Script Details“ menu inside the script editor. (Or rewrite them for GraalJS, where the openhab-js library will ease your life.)
  • The JS transformation no longer exists and the SCRIPT transformation should be used instead. Inline JS scripts in transformations and JS profiles are still work in progress.

openHAB 4.0.0 Milestone Release Notes

New Add-ons

The following add-ons are newly introduced:

JavaScript Scripting (Nashorn)Automation#14013
RadonEyeBinding Extension#11958
Rollershutter Position Emulation Profile ServiceTransformation#13259

The following improvements were made:


Enhancements2810Allow invoking ThingActions via API
2994Raise minimum JDK version to 17
3004Refactor WatchService
3050Introduce metadata for all add-ons
3057Cache mechanism
3270Log the version/build on startup
3280Only call getVolume when necessary
3284Update Jackson to 2.14.1
3287Add DateTimeType method for returning Instant
3290Ability to use /dev/serial/ symlinks for usb serial device
3293Fixes and enhancements for add-on services
3298Add method to get namespaces to MetadataRegistry and ItemResource
3299Rework GenericEventTrigger and GenericEventCondition
3330Improve thing initialization and enable thing-type updates
3337Consider language when requesting thing actions
3352Actions: Add method overloads for PercentType to Audio & Voice
3356Add param sslContextFactory when creating a HTTP or web socket client
3362Remove author from addon xsd
3364Use setpoint as default sitemap element for item with tag “Setpoint”
3372Align AbstractScriptDependencyTracker with AbstractScriptFileWatcher
3385Refactor XML handling
3391Add support for channel-groups to update instructions
3392Allow access to rule summary for Role.USER
3398Add sitemap Input type
3406Add Eclipse Add-on Service
3416List transformation services
1446Upgrade to Karaf 4.4.3
1460Enable GZIP compression for Jetty webserver
Bug Fixes3255Refactor AbstractScriptFileWatcher
3273Ensure metadata available at startlevel 20
3277Fix DateTimeTrigger not triggering on restored state
3288Fix Marketplace add-on range pattern matching
3301Prevent a provider from removing an element from another provider
3310Improve UPnP callback removal
3319Fix nullable errors
3320Fix addon.xsd
3334Fix parsing of YAML default value for community marketplace UI Widgets
3351Fix CME in JarFileAddonService
3365Fix CME in ThingActionsResource
3366Improve handling of erroneous localized messages
3379Fix a typo in ItemsValidator
3402Fix sitemap syntax for List element
3411Fix overriding Jetty’s User-Agent in HttpUtil
3417Fix ConfigValidationException handling in ThingManager


astroEnhancements14132Add option to force event to occur
Bug Fixes14067Added moon phase precision
14078Fix returning wrong sun phase name
atlonaEnhancements14080Add support for AT-PRO3HD44M
bondhomeEnhancements14150Implement missing ‘Light’ device type
14155Add raw speed channel
Bug Fixes14103Fix fatal Null Pointer errors
boschshcBug Fixes14352Allow setting the temperature for climate control
bosesoundtouchBug Fixes14097Fix regression and add tests
cbusBug Fixes14385Fix exceptions due to invalid thing status updates
chromecastBug Fixes14105Fix constant disconnections
14158Fix thing go offline after stop command
14191Fix for NPE when playerState is null
daikinEnhancements14108Add support for Alira X
daliBug Fixes14021Handle and provide QuantityType for color-temperature-abs channel
danfossairunitEnhancements14030Remove deprecated channel ‘manual_fan_speed’
darkskyEnhancements13037Remove DarkSky binding due to EOL of their API
deconzEnhancements14343Adjust thread name for web socket client
digitalstromEnhancements14402Code refactoring
dmxEnhancements14327Refactor and improve code
dominoswissBug Fixes14172Fix Bridge-Loading with OH3_3 and OH3_4
doorbirdEnhancements14122Add audiosink
dsmrBug Fixes14325Improved error handling corrupt messages, discovery additional key bug fix
ecobeeEnhancements14168Make more channels advanced
14403Remove org.apache.commons
14517Increase temperature precision to decimal
Bug Fixes14170Fix issue with UTC and local dates
elerotransmitterstickEnhancements14405Remove apache.commons
enoceanBug Fixes14558Fix condition in getPositionData function of EEP D2_05_00
evccEnhancements14245Adjust to breaking API change and add Battery Capacity channel
Bug Fixes14381Fixes & Adjust to more breaking changes from evcc 0.111.x
evohomeEnhancements13885Add UoM and semantic tags for temperature channels
fineoffsetweatherstationBug Fixes14039Fix QuantityType for rain-rate
14326Fix java.lang.IllegalMonitorStateException
fmiweatherBug Fixes13693HIRLAM → HARMONIE weather model
gardenaBug Fixes14203Fix keep-alive logic leading to blocked account (403/Forbidden)
14349Adjust thread name for WEB clients (avoid IAE)
goechargerBug Fixes14494Fix command sending
gpstrackerEnhancements14396Add (optional) altitude to location channel
greeBug Fixes14217Allow wider temperature range
groovyscriptingEnhancements14115Update Groovy to 4.0.7
hdpowerviewEnhancements14033Remove deprecated scene channels
homekitEnhancements13879Allow configuring secondary services as members of a group
14034Allow configuring min/max light level
14045Support Rollershutter items for HoldPosition
14055Add support for TV accessory
14209Implement IrrigationSystem Accessory
Bug Fixes13982Implement List-Pairings method
14017Update AuthInfo objects when blockUserDeletion changes
14169Properly expose services from dummy accessories
14226Fix restarted on network interface change
homematicEnhancements14274HUMIDITY and CONTROL_MODE as standard channels
Bug Fixes14213Fix updating enum config values
hueBug Fixes14024Allow handling of QuantityType for color temperature channel
14289Get scenes for groups without 10 minutes delay
14297Handle unexpected empty response from API
hueemulationBug Fixes13923Fix for Alexa failing to discover all devices.
imperihomeEnhancements14441Remove org.apache.common
influxdbEnhancements14304Code improvements and enhancements
Bug Fixes14296Fix re-connection issues
innogysmarthomeEnhancements14407Remove org.apache.commons
jdbcEnhancements13991Upgrade MySQL Connector/J to 8.0.31
Bug Fixes14054Fix IllegalArgumentException on service activation
14281Perform upsert on conflict like the default for MySQL (PostgreSQL >=9.5)
14294Working version of PG schema check and TIMESTAMPTZ as default to match MySQL
jeelinkBug Fixes14224Fix wrong TX22 rain value
jrubyscriptingEnhancements13944Allow disabling dependency tracking
14556Upgrade JRuby to
jsscriptingEnhancements14093Upgrade to ECMAScript 2022 & Dependency improvements
14096Use “application/javascript” as MIME type
14113Improve performance & reduce memory usage
14135Cache openhab-js injection to improve performance
14335Extend mapping of openhab-js classes to native openHAB counterparts
14375Bump openhab-js to 4.0.0 & Clean-Ups
km200Enhancements14411Remove org.apache.commons
Bug Fixes14384Fix initialization warning: “tried updating the thing status although the handler was already disposed.”
14488Remove unused configuration URIs
knxEnhancements14015Upgrade Calimero library to release 2.5.1
14050Improve reading of device properties
14051Replace dependency with serial transport
14454FT12: Autodetect cEMI on Weinzierl devices
14503Remove workaround for DPT 14
14509Improve thread safety, null-analysis
Bug Fixes14504Fix DPT 3.007 (Control Dimming) for non -control channels
kostalinverterBug Fixes14386Fix exception due to invalid thing status update
lgwebosEnhancements14331Add TLS support
lifxEnhancements14362Add support for newer downlights
Bug Fixes14025Handle and provide QuantityType for color-temperature-abs channel
mailBug Fixes14151Make actions names for DSL rules consistent with documentation
maryttsBug Fixes14064Add bnd to make serviceloader aware of marytts impl
mieleEnhancements14086Add categories and semantic tags
14199Improve multicast implementation
miioEnhancements13940Add support ROIDMI EVA – roidmi.vacuum.v66
13941Add support Xiaomi Smart Air Purifier 4 Pro zhimi.airp.vb4
mimicttsEnhancements14120Fix ssml and playing from audiosinks using the audio servlet
mqttBug Fixes14099Fix shutdownRetain default value
14229Fix thread concurrency issue with type provider
mqtt.genericBug Fixes12238Separate command parsing from cached value updating
mqtt.homeassistantEnhancements14230Add support for Number and Select components
14233Support command_template for fan components
14234Add support for DeviceTrigger component
14240Mark disabled by default components as advanced channels
mycroftEnhancements14342Adjust thread name for web socket client
nanoleafBug Fixes13998Fix caching of layout
14026Handle and provide QuantityType for color-temperature-abs channel
14459Stop the HTTP client when disposing the thing handler
neatoEnhancements14415Remove org.apache.common
neohubEnhancements13889Recover faster if NeoHub produces empty responses
netatmoEnhancements14123Add the ability to append a postfix to registered webhook.
14140Add the ability to append a postfix to registered webhook.
14543Add Carbon Monoxide sensor
14548Modify the tokenRefresh handling process
Bug Fixes14265Preserve outside temperature minimal ranges for dynamic channels
14492Fix floodlight issue on Presence Camera
nibeheatpumpBug Fixes14461Fix setting debug verboseLevel
nibeuplinkEnhancements14416Remove org.apache.common
nuvoEnhancements14012Auto update source channel for grouped zones
14248Publish ALLOFF event for use in source rules
Bug Fixes14321Fix Essentia G standby mode wake-up
omnikinverterEnhancements14244Add extra parameters (temperature, AC frequency, AC current, AC voltage and total hours running)
14418Remove org.apache.common
onebusawayEnhancements14419Remove org.apache.common
onewireEnhancements14400Code improvements and bug fixes
onkyoEnhancements14420Remove org.apache.common
openhabcloudBug Fixes14251Reconnection Fixes
openthermgatewayBug Fixes14424Fix setting thermostat clock
openwebnetBug Fixes14374Fix wrong startup value for channel failureDiscovered
14390Light switch updates are now triggered
orbitbhyveBug Fixes14308Fix for NumberFormatException when parsing json object
pentairEnhancements14421Remove org.apache.common
phcEnhancements14422Remove import org.apache.common
plugwisehaEnhancements14160Add default tags
renaultEnhancements14076Add new channels ‘batterystatusupdated’ and ‘locked’
RFXCOMEnhancements14298Add MOOD_LIGHT for NOVY Fan
rotelBug Fixes14272Fix reader thread handling
rrd4jEnhancements13956Upgrade base library from 3.8.1 to 3.8.2
14068Improve logging of exceptions thrown by getDB
Bug Fixes14238Avoid IAE thrown if e.g. invalid start/end time given
14292Fix OOM when requesting data and boundary=true
semsportalBug Fixes14387Fix exception due to invalid thing status update
shellyBug Fixes14290Cancel the init job when the thing handler is disposed
sleepiqEnhancements14180Rework cloud API and other enhancements
14447Add new channels
14460Add thing type update instructions
smartmeterEnhancements14436Remove org.apache.common
snmpEnhancements14330Upgrades and enhancements
solarmaxEnhancements14366Support configurable Device Address
sonosEnhancements14438Remove org.apache.common
Bug Fixes14164Correct identification of tuneIn started from Alexa
squeezeboxEnhancements14201Add new channels for additional tags
TapoControlEnhancements14364Add P300 to the list of supported equipments
telegramBug Fixes14314Invalid escape of underscore character when sending messages (Revert “Solves issue #11691 (#13758)”)
teslaBug Fixes14070Fix discovery of Tesla vehicles from account
14128Synchronize access to account to avoid concurrency issues
14300Fix account going offline every few seconds
14351Normalize thread names and avoid a possible IAE
14483Stop the WebSocket client when disposing the thing handler
TibberEnhancements14236Add “today” API channel
14277Add accumulatedReward channel
Bug Fixes14273Fix NPE on server issues
tr064Enhancements14468Enhancements, code improvements and fixes
unifiEnhancements14283Add channels name and hostname to client things
14284Add support for guest Wi-Fi vouchers
14303Add guest voucher actions
14319Add UoM support for RSSI channel
Bug Fixes14060Fix PoE bug with combination of other data/ports
14249Various stability improvements
upnpcontrolEnhancements14439Remove org.apache.common
Bug Fixes14490Fix shuffle switch also switching only play one
velbusEnhancements13939Add modules VMBKP, VMBIN, VMB4PB
veluxBug Fixes14225Do not use new API on Somfy devices
vizioBug Fixes14429Improve handling of TV’s self-signed certificate
weathercompanyEnhancements14440Remove org.apache.common
wemoBug Fixes14163Fix stability issues
yioremoteBug Fixes14340Stop the web socket client when disposing thing handler
ZigbeeBug Fixes792Ensure node exists when handler is disposed

User Interfaces

Basic UIEnhancements1706Add support for iconify and Google material icons
1733Support primary and secondary as value for label/value colors
1751Support iconcolor for non OH source icons
Bug Fixes1712Remove Roboto font as unused by the app
1749Add missing label/color management for rollershutter items
1753Fix label color initialization for color widget
1754OH icon scaling
1755Remove support for List element
1612Fix setpoint/slider widgets when %unit% is used in state pattern
BlocklyEnhancements1722Add bitwise math operators
1723Add workspace search
CometVisuEnhancements1594Remove deprecated cometvisu-php binding
HABPanelBug Fixes1688Use commandDescription instead of stateDescription for selection list
Main UIEnhancements1601Add tags & script language to script settings
1613Script Editor: Block runRule and save while rule is running (or uninitialized)
1617Blockly: Upgrade to v9, add JSScripting (GraalVM) implementations, UoM block types
1621Limit alexa parameter state description options
1622Add alexa playback step attribute
1623Show custom namespaces for items in metadata menu
1642Add style to overview page
1647Allow customisation of temperature, humidity and luminance badges
1648Update Google Assistant Metadata Definitions
1649Generalize evaluating expressions for charts & fix diff_last aggregates
1652Add visible property to oh-plan-marker
1662Add a Scene settings menu entry and editor
1664Blockly metadata blocks
1670Fix redirection for reverse proxy with authentication not working
1681Add doc link to state/commandDescription edit form
1682Analyzer: Use Item label instead of name if available
1695Improve SIP Client component docs
1698Provide access to widget configuration from widget expressions
1699Improve Item name validation error message & Add unchangeable note on Item creation
1700Validate Widget UID & page ID on creation
1703Add new capabilities to oh-knob component using vue-round-slider
1709Remove Blockly GraalJS dependency on prepended code
1720Save changed rule/scene on runNow & Fix keyboard shortcuts in scene editor
1724Add rulesWithTags to oh-repeater
1726Add step parameter to oh-input
1735Support configuring Input element for sitemap model
1736Improve Eclipse provisioned add-ons
1772Support iconcolor for all elements in sitemap editor
1773oh-knob: Change dottedPath prop to text
Bug Fixes1607Fix add-on information issues
1619Update autocompletion for new MIME types
1645Add Command-Click for MacOs to select list entries
1656Z-Wave map: show only current network, link fixes
1657Blockly: Fix UoM on Nashorn message & Adjust to library change
1683Fixes & Enhancements for channel add & edit pages
1684Fix add-on configuration
1696Display “undefined” correctly in widget expressions
1701Add delete button for custom metadata namespaces
1704Fix link for oh-map-page docs
1727Handle NOT_YET_READY in thing status
1734Configuration & iPhone style fixes for the “options” widget action
1745No quotes around chart period parameter in generated sitemap DSL
1765Fix WebAudio sink not playing on Safari
1781Sitemap editor: Fix attribute value capturing in parser & string value handling in widget detail view
1783Fix sitemap config boolean attributes
1785Fix channel-details not sho

Quelle: Release openHAB 4.0.0 Milestone 1 · openhab/openhab-distro · GitHub

Schreibe einen Kommentar

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