Skip to content

About

Script engine for JavaScript and Blockly

Topics

Resources

Security policy

Stars

332 stars

Watchers

22 watching

Forks

Latest commit

 

History

3,240 Commits

Folders and files

Repository files navigation

Logo

JavaScript Script Engine

Number of Installations Number of Installations NPM version

Test and Release Translation status Downloads 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.

Documentation

Changelog

10.5.4 (2026-11-15)

  • (@GermanBluefox) Function block diagrams: a STATE_OUT is no longer shown as deviating when the state holds the value with float precision only (#2461)

10.5.3 (2026-11-11)

  • (@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

10.5.2 (2026-11-11)

  • (@GermanBluefox) Added: function block diagrams - the online view marks a STATE_OUT block whose state somebody else changed (VIS, another script, by hand) and shows the value the state holds; the new option "Write the value back" of STATE_OUT writes the value of the diagram back then, at most once a second (#2442)
  • (@Voodoo2man) Added: Blockly category selection for member IDs and change/ack filters to the enum trigger (#1960)

10.5.1 (2026-11-10)

  • (@GermanBluefox) Added: function block diagrams - blocks can be pinned (pin button on the block, its menu or the properties): "Arrange automatically" leaves them where they are and arranges the other blocks around them (#2443)
  • (@GermanBluefox) Added: function block diagrams - a link can be moved to another input by dragging its connected input; let go where no input is, it is deleted - a mere click on it keeps it (#2438)
  • (@GermanBluefox) Added: function block diagrams - the PID block has the output RUN: TRUE while the controller works, i.e. none of MAN, RST and HOLD is active (#2440)
  • (@GermanBluefox) Changed: function block diagrams - the online view shows the value of a link that is not BOOL at the input of the target block instead of in the middle of the link (#2444)

10.5.0 (2026-11-07)

  • (@GermanBluefox) Added: script functions readDir, fileExists, chmodFile and chownFile for files in the DB, and chmodObject and chownObject to change the access rights and the owner of objects and states (only with the option "Enable command setObject"), each with an ...Async variant
  • (@GermanBluefox) Added: function block diagrams - block CHARCURVE (characteristic curve, e.g. a heating curve): OUT on the straight lines through 2 to 10 points X1/Y1 ... Xn/Yn, kept at the Y of the outer points beyond them; the points are inputs, so they can be connected too, and the properties show the curve (#2433)

License

The MIT License (MIT)

Copyright (c) 2014-2026 bluefox dogafox@gmail.com
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.

About

Script engine for JavaScript and Blockly

Topics

Resources

Security policy

Stars

332 stars

Watchers

22 watching

Forks

Releases

Packages

Used by

Contributors

Languages