Florian Hotze and GitHub
2571934b4d
[gemini] Fix link to HLI docs ( #21106 )
2026-07-05 17:17:49 +02:00
Florian Hotze and GitHub
b27a5e9248
[gemini] Fix HTTP 400 when using tool calling with thinking models ( #21097 )
...
* [gemini] Fix HTTP 400 when using tool calling with thinking models
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-07-02 21:04:46 +02:00
Florian Hotze and GitHub
880b574376
[jsscripting] Fix illegal multi-threaded access when using JSRule ( #21093 )
...
When using JSRule, the created SimpleRule is wrapper by ThreadsafeSimpleRuleDelegate to add the necessary synchronization.
If lock acquisition failed within the configured time or was interrupted,
it added the rule UID to the message, calling `delegate#getUID`,
which is overwritten from JS and thereby causes a GraalJS context access.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-07-02 20:35:25 +02:00
Florian Hotze and GitHub
081eae9274
[jsscripting] Sync docs from openhab-js repo ( #21074 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-07-01 15:23:38 +02:00
Florian Hotze and GitHub
a94c69fd36
[jsscripting] Await activation of OSGiScriptExtensionProvider before registering ScriptEngineFactory ( #21042 )
...
* [jsscripting] Await activation of OSGiScriptExtensionProvider before registering ScriptEngineFactory
This ensures that OSGiScriptExtensionProvider / `require('@runtime/osgi').bundleContext` is always available when JS ScriptEngines are created.
Fixes issues such as #21014 .
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-06-26 14:34:39 +02:00
Florian Hotze and GitHub
2c5f67d303
[gemini] GeminiHLIService: Provide user-friendly, localized error messages ( #21048 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-06-26 14:03:47 +02:00
Florian Hotze and GitHub
331f60c71f
[jsscripting] Fix build failure due to missing webpack dependency by cloning openhab-js & installing its dev dependencies ( #21060 )
...
Supersedes #21059 .
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-06-26 13:39:56 +02:00
Florian Hotze and GitHub
e77b1b0de0
Revert "[jsscripting] Don't close the shared GraalJS engine on factory deacti…" ( #21054 )
...
This reverts commit a4bef92da4 .
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-06-26 10:17:58 +02:00
Florian Hotze and GitHub
213a735f78
[homeconnectdirect] Dishwasher: Fix selected-program channel shows program keys ( #21056 )
...
Instead, it should display the program labels.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-06-26 10:14:30 +02:00
Florian Hotze and GitHub
88c27909bf
[bluelink] Document that forceRefreshInterval=0 disables refresh from vehicle ( #21051 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-06-25 14:57:23 +02:00
Florian Hotze and GitHub
9be9822b9f
[gemini] Initial contribution ( #20922 )
...
* [gemini] Add binding skeleton
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-06-19 20:45:13 +02:00
Florian Hotze and GitHub
a73ffb7d85
[jsscripting] Upgrade to openhab-js 5.18.2 ( #20908 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-06-07 19:12:30 +02:00
Florian Hotze and GitHub
a7d7aebb69
[jsscripting] Upgrade to openhab-js 5.18.1 ( #20844 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-06-01 23:56:20 +02:00
Florian Hotze and GitHub
cdc4cb61a1
[jsscripting] Upgrade openhab-js to 5.18.0 ( #20832 )
...
Changelog: https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#5180
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-05-31 23:10:30 +02:00
Florian Hotze and GitHub
ca2f271da8
[froniuswattpilot] Fix disposal and increase thread-safety of reconnectJob scheduling ( #20711 )
...
* [froniuswattpilot] Fix concurrency bugs & disposal
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-05-20 20:32:01 +02:00
Florian Hotze and GitHub
5ecc130801
[bluelink] Various fixes related to refreshing data ( #20698 )
...
* [bluelink] Re-attempt vehicle Thing init when bridge comes online
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-05-11 22:30:50 +02:00
Florian Hotze and GitHub
cb52ed32df
[bluelink] Allow disabling force refresh ( #20673 )
...
* [bluelink] Allow disabling force refresh
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-05-08 21:09:23 +02:00
Florian Hotze and GitHub
205dfe3711
[bluelink] Support setting AC/DC charge limits ( #20663 )
...
* [bluelink] Support setting AC/DC charge limits
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-05-04 15:35:35 +02:00
Florian Hotze and GitHub
ca65ed267d
[jsscripting] Add integration tests ( #20517 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-04-20 18:35:59 +02:00
Florian Hotze and GitHub
94295caaa0
[jsscripting] Implement debugger support ( #20440 )
...
* [jsscripting] Move ModuleLocator & ScriptExtensionModuleProvider into scope sub-package
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-04-19 23:58:51 +02:00
Florian Hotze and GitHub
eb88e27cd6
Fix -Dmarkdownlint.skip=true breaks JS Scripting build ( #20516 )
...
Regression from #19010 .
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-04-04 23:14:32 +02:00
Florian Hotze and GitHub
6abb6d0fcf
[jsscripting] Fix incorrect line numbers in JS stacktrace due to code injection ( #20435 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-03-26 15:56:08 +01:00
Florian Hotze and GitHub
294930c06d
[pipertts] Improve README ( #20331 )
...
* [pipertts] Improve README
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-03-08 23:38:56 +01:00
Florian Hotze and GitHub
11c07c7c81
[pipertts] Upgrade to Piper 1.4.1 & Download from JFrog ( #20292 )
...
* [pipertts] Upgrade to Piper 1.4.1 & Download from JFrog
We've moved piper-jni development to a GitHub org,
and upgraded to Piper 1.4.1.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-02-28 11:58:37 +01:00
Florian Hotze and GitHub
3f5ba28971
[jsscripting] Upgrade to openhab-js 5.17.1 ( #20283 )
...
Changelog: https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#5171
This only includes a single bugfix and should be backported.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-02-26 08:08:59 +01:00
Florian Hotze and GitHub
23a0b76d23
[pipertts] Add quality to UID/label & Code improvements ( #20201 )
...
* [pipertts] Add quality to UID and label
This allows to distinct between different qualities of a model.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-02-10 22:21:32 +01:00
Florian Hotze and GitHub
95c0fb6b74
[jsscripting] Upgrade openhab-js to 5.17.0 ( #20195 )
...
Changelog: https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#5170
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-02-06 23:58:50 +01:00
Florian Hotze and GitHub
4a8df7ac6c
[fronius] Improve logging in FroniusSymoInverterHandler ( #19994 )
...
* [fronius] Improve logging in FroniusSymoInverterHandler
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-01-26 19:07:28 +01:00
Florian Hotze and GitHub
02613018b3
[froniuswattpilot] Upgrade wattpilot4j to 2.3.0 & OSGi-ify it ( #20103 )
...
See https://github.com/florian-h05/wattpilot4j/releases/tag/v2.3.0 .
This mainly adds support for newer models, which use BCrypt for password hashing.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-01-24 09:00:57 +01:00
Florian Hotze and GitHub
914feeeb15
[jsscripting] Adjust ThreadsafeSimpleRuleDelegate to core changes ( #20095 )
...
Refs https://github.com/openhab/openhab-core/pull/5273 .
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2026-01-21 18:00:46 +01:00
Florian Hotze and GitHub
aaa0973ca4
[yamahamusiccast] Fix NPE/instability on UDP state update ( #19895 )
...
Regression from #19798 .
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-12-26 15:47:14 +01:00
Florian Hotze and GitHub
e221c64270
[jsscripting] Upgrade to openhab-js 5.16.2 ( #19879 )
...
Includes an important bugfix, see https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#5162 .
Should be backported to 5.1.x.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-12-24 13:44:31 +01:00
Florian Hotze and GitHub
7962f9ad6d
[astro] Don't attempt to publish state to trigger channels on linked ( #19843 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-12-23 15:35:18 +01:00
Florian Hotze and GitHub
89b9226337
[jsscripting] Upgrade to openhab-js 5.16.1 ( #19740 )
...
Changelog: https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#5161-5160
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-12-01 13:18:02 +01:00
Florian Hotze and GitHub
63db6bb997
[froniuswattpilot] Attempt reconnection periodically & Upgrade wattpilot4j ( #19718 )
...
* [froniuswattpilot] Upgrade to wattpilot4j 2.2.1
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-11-27 22:01:43 +01:00
Florian Hotze and GitHub
201c457b50
[jsscripting] Upgrade to openhab-js 5.16.0 ( #19719 )
...
Changelog: https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#5160
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-11-27 18:57:10 +01:00
Florian Hotze and GitHub
9bba9d4cd7
[jsscripting] Fix bugs related to event obj conversion & script wrapping ( #19703 )
...
* [jsscripting] Fix onScript is invoked for openhab-js injection from file system
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-11-23 22:43:42 +01:00
Florian Hotze and GitHub
d57735985f
[jsscripting] Rework logger names used for script logging (e.g. console) ( #19702 )
...
- Adds missing logger name setup for console logging for transformations.
- Unifies logger naming between console logging and DebuggingGraalScriptEngine.
- Uses org.openhab.automation.jsscripting as namespace for logger names.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-11-23 22:26:27 +01:00
Florian Hotze and GitHub
04d284f33d
[jsscripting] Fix wrong default value for injectionEnabledV2 parameter ( #19633 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-11-13 20:22:59 +01:00
Florian Hotze and GitHub
2200916eef
[jsscripting] Fix setTimeout/setInterval fails if delay is not provided or null ( #19642 )
...
This is fixed by now handling such values in the JS polyfills, making sure a valid number is always passed to the Java layer.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-11-12 17:23:30 +01:00
Florian Hotze and GitHub
4f6c7a0c40
[jsscripting] Upgrade to openhab-js 5.15.0 & Refine UI-Based v File-Based labelling ( #19635 )
...
* [jsscripting] Upgrade openhab-js to 5.15.0
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-11-12 17:21:09 +01:00
66264a66b7
[jsscripting] Upgrade to Graal 25 ( #19567 )
...
* [jsscripting] Upgrade to Graal 25.0.1
Signed-off-by: Florian Hotze <dev@florianhotze.com >
Co-authored-by: Cody Cutrer <cody@cutrer.us >
2025-10-29 18:47:18 +01:00
Florian Hotze and GitHub
e8d136e83c
[jsscripting] Refactor script types to not rely on Graal.js defined consts ( #19440 )
...
This effectively changes the script types
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-10-11 09:07:11 +02:00
Florian Hotze and GitHub
6bacd8e552
[jsscripting] Wrapper: Always enable for actions, configurable for conditions ( #19443 )
...
See https://community.openhab.org/t/rules-and-return-codes/166438 for discussion.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-10-09 22:06:33 +02:00
Florian Hotze and GitHub
125e0055e0
[jsscripting] Check if language is available ( #19439 )
...
This is required due to the service loading used by Graal, see https://github.com/openhab/openhab-osgiify/blob/81a752c60450ae9b5eb70bbf30f89ba18377a86e/README.md .
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-10-09 21:59:12 +02:00
Florian Hotze and GitHub
58785dddb2
[jsscripting] Make event object conversion work independent of wrapper ( #19429 )
...
* [jsscripting] Make event object conversion work independent of wrapper
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-10-05 18:49:12 +02:00
Florian Hotze and GitHub
f789f33d11
[jsscripting] Fix wrong max value for config parameter declaration ( #19384 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-09-24 21:01:11 +02:00
Florian Hotze and GitHub
20018390ed
[fronius] Thing Actions: Add string overrides for actions requiring enum ( #19367 )
...
This eases use of these actions from script environments.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-09-21 20:07:25 +02:00
Florian Hotze and GitHub
08d5c8e385
[fronius] Expose BatteryControl::addSchedule as Thing action ( #19352 )
...
* [fronius] Expose BatteryControl::addSchedule as Thing action
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-09-18 20:11:15 +02:00
Florian Hotze and GitHub
48485705e6
[jsscripting] Upgrade to openhab-js 5.14.0 ( #19353 )
...
Changelog: https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#5140
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-09-18 19:35:30 +02:00
Florian Hotze and GitHub
cd639eafef
[fronius] Fix battery control actions unavailable if FW < 1.36.x ( #19349 )
...
#18872 introduced a badly designed if statement that completely disables battery control for firmware < 1.36.x.
Since #18872 added support for FW >= 1.36.x, previous version must be still supported.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-09-18 17:11:30 +02:00
Florian Hotze and GitHub
c42047b636
[fronius] Fix config API authentication for firmware >= 1.38.6 ( #19344 )
...
* [fronius] Fix config authentication for firmware >= 1.38.6
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-09-18 07:50:35 +02:00
Florian Hotze and GitHub
449fc06bbc
[froniuswattpilot] Use camelCase for HTTP client name ( #19345 )
...
Aligns with the naming scheme for thread pools in openHAB.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-09-17 18:54:46 +02:00
Florian Hotze and GitHub
8efd3990f8
[jsscripting] Automatically convert event data in UI-based scripts from Java to JS types ( #19260 )
...
* [jsscripting] Automatically convert event data in UI-based scripts from Java to JS types
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-08-30 10:06:55 +02:00
Florian Hotze and GitHub
2966d33fc1
[fronius] Fix scheme vs schema typo ( #19263 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-08-29 17:57:22 +02:00
Florian Hotze and GitHub
2f3c291b9d
[jsscripting] Upgrade to openhab-js 5.13.0 ( #19259 )
...
Changelog: https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#5130
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-08-29 17:43:00 +02:00
Florian Hotze and GitHub
654be3d89c
[fronius] Use Solar API for getting serial number ( #19262 )
...
* [fronius] Use Solar API for getting serial
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-08-29 17:42:22 +02:00
Florian Hotze and GitHub
6ab5d848e8
[froniuswattpilot] Add channels to control surplus SoC & boost charging ( #19256 )
...
* [froniuswattpilot] Add channels to control surplus SoC & boost charging
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-08-29 10:44:07 +02:00
Florian Hotze and GitHub
b28715570f
[fronius] Add actions to force battery discharging ( #19254 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-08-27 20:23:34 +02:00
Florian Hotze and GitHub
4da0fee5b3
[evcc] Remove myself from CODEOWNERS ( #19253 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-08-27 20:13:02 +02:00
Florian Hotze and GitHub
f899b8802b
[jsscripting] Extend auto-injection configuration with transformations & Update default ( #19130 )
...
* [jsscripting] Extend auto-injection configuration with transformations
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-08-27 18:58:15 +02:00
Florian Hotze and GitHub
7433801d22
[jsscripting] Fix memory leak caused by GraalJSScriptEngine not closed properly ( #18226 )
...
* [jsscripting] Close GraalJSScriptEngine when closing OpenhabGraalJSScriptEngine
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-08-09 13:18:18 +02:00
Florian Hotze and GitHub
58973f9cf2
[jsscripting] Fix wrapping UI scripts fails if comment in last line ( #19129 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-08-09 07:55:15 +02:00
Florian Hotze and GitHub
e47e6dea8e
[froniuswattpilot] Upgrade wattpilot4j to 2.0.0 ( #19092 )
...
This new version brings no code changes,
it only moves the library to a new namespace.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-08-01 17:35:58 +02:00
Florian Hotze and GitHub
c85837c371
[jsscripting] Upgrade openhab-js to 5.12.0 ( #19054 )
...
Changelog: https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#5120 .
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-07-25 13:08:51 +02:00
Florian Hotze and GitHub
18d288b679
[jsscripting] Wrap UI scripts, make dependency tracking configurable & config refactorings ( #19019 )
...
* [jsscripting] Add engineIdentifier to logging on OpenhabGraalJSScriptEngine
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-07-23 22:14:32 +02:00
Florian Hotze and GitHub
b7841b8e90
[fronius] Fix battery control not working for firmware >= 1.36.x ( #18872 )
...
* [fronius] Fetch inverter version info & Set as Thing properties
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-07-03 22:06:30 +02:00
Florian Hotze and GitHub
ddd94b514e
[fronius] Update README ( #18860 )
...
This adds the ZonedDateTime overload that was forgotten in #18846 .
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-06-27 15:17:17 +02:00
Florian Hotze and GitHub
fc770b5736
[fronius] Add Thing actions to prevent battery from charging & Refactorings ( #18846 )
...
* [fronius] Refactor battery control actions to reduce code redundancy
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-06-27 12:01:14 +02:00
Florian Hotze and GitHub
200400de9d
[froniuswattpilot] Improve dispose behaviour & Upgrade to wattpilot4j 1.3.0 ( #18819 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-06-22 15:31:25 +02:00
Florian Hotze and GitHub
69e74467c3
[jsscripting] Fix deprecation warning from Polyglot Context.Builder & Add comments ( #18820 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-06-20 08:41:26 +02:00
Florian Hotze and GitHub
686f5e1001
[jsscripting] Use Node.js 22.13.1 for webpack build ( #18762 )
...
This aligns with the Node.js version openhab-js is developed on.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-06-11 00:02:56 +02:00
Florian Hotze and GitHub
fd1dbe479f
[mqtt] Update dependencies in aggregated Karaf feature ( #18753 )
...
* [mqtt] Update dependencies for aggregated MQTT bundle
* [mqtt.homeassistant] Add comment about feature modifications
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-06-04 13:46:43 +02:00