This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.
Executes JavaScript, TypeScript Scripts.
- 🇺🇸 Function documentation
- 🇺🇸 Upgrade guide
- 🇩🇪 Funktionsdokumentation
- 🇩🇪 Benutzung
- 🇺🇸 Function block diagrams
- 🇩🇪 Funktionspläne
- 🇺🇸 Recipes: ready-made automations
- 🇩🇪 Rezepte: fertige Automationen
- Blockly
sendTo('javascript.0', 'help', {}) answers with a description of the messages (toScript, execute, calcAstro, script versions, ...) for AI agents (e.g. pi-agent) and script authors; the answer lists all commands with write (whether a command changes something).
- (@GermanBluefox) Fixed
setStateChanged()writing a real change withlcfrom the time of the call andtsfrom the time of the write, which differed by up to seconds under load, so e.g. influxdb withchangesOnlydid not store the value. Nowlc=tson a real change, as withsetState()(#2503) - (@GermanBluefox) Version 10.6.0 was not published on npm, this release contains its changes
- (@GermanBluefox) Editor: recipes, ready-made automations from the catalog ioBroker.recipes: apply one with your own devices, update it to a new version with a comparison and a warning about local changes, detach it, or export a Blockly script as a recipe (docs)
- (@GermanBluefox) Fixed: a variable in the time field of the Blockly blocks "pause", "timeout" and "interval" became
NaNsince 10.1.0. The adapter warns about scripts saved that way (#2471)
- (@GermanBluefox) Added the message "help": a description of all messages for AI agents (e.g. pi-agent), and common.supportedMessages.help
- (@GermanBluefox) Editor: log lines are kept when the script list or the log is hidden/shown (#2462)
- (@GermanBluefox) Function block diagrams: a STATE_OUT is no longer shown as deviating when the state holds the value with float precision only (#2461)
- (@GermanBluefox) Fixed: the cursor of the script editor jumped to the start of the script after the first typed character (when nothing else had updated the editor since the script was opened) and after saving
The MIT License (MIT)
Copyright (c) 2014-2026 bluefox [email protected]
Copyright (c) 2014 hobbyquaker
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
