# \#script

**URL:** https://community.openhab.org/tag/script/4790.md

[Latest](https://community.openhab.org/latest.md) · [Categories](https://community.openhab.org/categories.md) · [Tags](https://community.openhab.org/tags.md)

---

## [Update 4.3.7 / 5.0.1 added more errors to the log](https://community.openhab.org/t/update-4-3-7-5-0-1-added-more-errors-to-the-log/165936)

<div class="topic-metadata">

**Author:** [@maxin](https://community.openhab.org/u/maxin)\
**Replies:** 3\
**Last updated:** [August 26, 2025, 1:28pm UTC](https://community.openhab.org/t/update-4-3-7-5-0-1-added-more-errors-to-the-log/165936 "2025-08-26T13:28:41Z")

</div>

Platform information: openHAB version: 4.3.7 / 5.0.1 Java Runtime Environment: Zulu v17.58.21 CA-JDK v17.0.15 x64 Hardware: ASUSPN41/IntelPentiumSilverN6000@2100/8GB\_DDR4-2666/256GB\_SSD-WD-GREEN OS: Windows Server 2022…

---

## [Finally stuck: TypeError keeps rule from being loaded by HABApp](https://community.openhab.org/t/finally-stuck-typeerror-keeps-rule-from-being-loaded-by-habapp/164334)

<div class="topic-metadata">

**Author:** [@TooBee](https://community.openhab.org/u/TooBee)\
**Replies:** 3\
**Last updated:** [June 2, 2025, 6:36am UTC](https://community.openhab.org/t/finally-stuck-typeerror-keeps-rule-from-being-loaded-by-habapp/164334 "2025-06-02T06:36:48Z")

</div>

Over the past weeks I have succeded in installing (easy: openHabian) HABApp, configuring a development environment (VS Code on my macos: hard - took me days to understand virtualenvironments, pyenv etc), and even a rule …

---

## [\[main UI\] How to use "Context" when running Script via Action Button](https://community.openhab.org/t/main-ui-how-to-use-context-when-running-script-via-action-button/146611)

<div class="topic-metadata">

**Author:** [@SHUred](https://community.openhab.org/u/SHUred)\
**Replies:** 3\
**Last updated:** [May 11, 2023, 3:08pm UTC](https://community.openhab.org/t/main-ui-how-to-use-context-when-running-script-via-action-button/146611 "2023-05-11T15:08:24Z")

</div>

I’ve been searching in the documentation how to use the “Context” property when Configuring a List Item in mainUI As Action running a Script The description says: Object representing the optional context to pass. Edi…

---

## [ReferenceError: "input" is not defined by SCRIPT transformation](https://community.openhab.org/t/referenceerror-input-is-not-defined-by-script-transformation/145350)

<div class="topic-metadata">

**Author:** [@partytown](https://community.openhab.org/u/partytown)\
**Replies:** 10\
**Last updated:** [March 21, 2023, 12:55pm UTC](https://community.openhab.org/t/referenceerror-input-is-not-defined-by-script-transformation/145350 "2023-03-21T12:55:54Z")

</div>

Hello everyone, I have the problem that I can’t get a SCRIPT transformation to run. I always get the following error: 023-03-18 22:50:06.210 \[ERROR\] \[b.automation.script.javascript.stack\] - Failed to execute script: …

---

## [Executing the SCRIPT-transformation failed: Could not get script for UID '\<filename\>.script'](https://community.openhab.org/t/executing-the-script-transformation-failed-could-not-get-script-for-uid-filename-script/145251)

<div class="topic-metadata">

**Author:** [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Replies:** 0\
**Last updated:** [March 14, 2023, 5:52pm UTC](https://community.openhab.org/t/executing-the-script-transformation-failed-could-not-get-script-for-uid-filename-script/145251 "2023-03-14T17:52:06Z")

</div>

I’ve seen this reported on OH 3.4.2 and experienced this myself on OH 4.0 SNAPSHOT #3368. Scenario: You want to use a transformation on a Channel. I’ve tested this and seen it with the MQTT binding. I’d expect it to be …

---

## [SCRIPT JS-transformation shows errors in Visual Studio Code](https://community.openhab.org/t/script-js-transformation-shows-errors-in-visual-studio-code/144187)

<div class="topic-metadata">

**Author:** [@uk59821](https://community.openhab.org/u/uk59821)\
**Replies:** 5\
**Last updated:** [February 8, 2023, 5:03pm UTC](https://community.openhab.org/t/script-js-transformation-shows-errors-in-visual-studio-code/144187 "2023-02-08T17:03:48Z")

</div>

Hello, I am currently using the Javascript transformation and would like to switch to the SCRIPT transformation. So far the transformation works fine with SCRIPT transformation as .script files. But, I have problems i…
