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