Package Exports
- iobroker.javascript
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (iobroker.javascript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme

Javascript Script Engine
Executes Javascript and Typescript Scripts.
Coffescript is deprecated
Here you can find description of blockly.
Hier kann man die Beschreibung von Blockly finden.
Описание по blockly можно найти здесь.
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.
How to build (only for developers)
Just run "npm i" in the root and in the src folders.
And then call "npm run build".
Todo
- search in all files
- new rule editor (future releases)
- heating profile (future releases)
- ...
Changelog
4.6.22 (2020-07-30)
- (Apollon77) catched some more file errors in mirror logic
4.6.21 (2020-07-28)
- (Apollon77) catched some more file errors in mirror logic (Sentry IOBROKER-JAVASCRIPT-2X, IOBROKER-JAVASCRIPT-3C)
4.6.20 (2020-07-26)
- (Apollon77) make sure 0_userdata.0 objects/states are not overwritten on createState
4.6.19 (2020-07-26)
- (Apollon77) Prevent wrong errors when setting "null" values for states
- (Apollon77) Prevent potential crash when no typings could be found (Sentry IOBROKER-JAVASCRIPT-2T)
- (Apollon77) catch an error in mirroring functionality( Sentry IOBROKER-JAVASCRIPT-2V)
- (Apollon77) make sure names are handled correctly if they are not strings (Sentry IOBROKER-JAVASCRIPT-2Y)
- (Apollon77) make sure invalid schedules can not crash adapter (Sentry IOBROKER-JAVASCRIPT-31)
- (Apollon77/paul53) Allow "deleteState" with full javascript.X object Id again (from same instance only)
- (bluefox) Revert changes for sync getState, because "on change" detection is broken
- (AlCalzone) Several issues with Typescript, Typings and virtual-tsc optimized and fixed
- (bluefox) Store JS in browser cache by enabling serviceWorkers
- (Apollon77) prevent multiple script restarts on fast file content change for mirroring or fast object changes
4.6.17 (2020-05-25)
- (bluefox) Fixed error with warnings collapsed blocks
- (Apollon77) optimize Sentry error reporting to prevent false positives
License
The MIT License (MIT)
Copyright (c) 2014-2020 bluefox dogafox@gmail.com,
Copyright (c) 2014 hobbyquaker
