Skip to content

Latest commit

 

History

History
80 lines (60 loc) · 3.63 KB

README.md

File metadata and controls

80 lines (60 loc) · 3.63 KB

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

Forbidden directories for Script Filesystem Mirroring

The Script Filesystem Mirroring will store all Source Files of the Scripts in your Filesystem to allow you to edit the Files in your favourite Script editor beside the Web-Editor. All changes are synced in both directions.

When enabling the Script Filesystem mirroring please make sure to create a dedicated new directory and do not use an existing directory with other content. Please also make sure that no other script or process changes files in the provided directory to prevent access issues. Any location needs to be writable by the "iobroker" user!

Since v5.5.0 of the JavaScript adapter the following locations (relative to the ioBroker Base directory, usually /opt/iobroker) are not allowed to be used:

  • The ioBroker base directory itself and any path above!
  • ./iobroker-data itself, custom subdirectory (choose a name that do not overlap with any adapter!)
  • ./iobroker-data/backup-objects or anything below
  • ./iobroker-data/files or anything below
  • ./iobroker-data/backitup or anything below
  • ./backups or anything below
  • ./node_modules or anything below
  • ./log or anything below

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

  • Goto current line in debugger
  • heating profile (future releases)
  • ...

Changelog

5.8.10 (2022-07-15)

  • (klein0r) Added variable timeout block
  • (klein0r) Added getInterval and getTimeout blocks
  • (klein0r) Added sendTo for scripts and message trigger blocks
  • (bluefox) Corrected the syntax highlighting

5.8.8 (2022-07-13)

  • (bluefox) Corrected error by start of GUI

5.8.7 (2022-07-12)

  • (klein0r) Fixed function edit dialog (cursor jumps to first position)
  • (klein0r) Added error message when using number or boolean as trigger id

5.8.5 (2022-07-07)

  • (bluefox) Added preparations for cloud

5.8.3 (2022-06-27)

  • (bluefox) Updated the object select dialog

License

The MIT License (MIT)

Copyright (c) 2014-2022 bluefox dogafox@gmail.com,

Copyright (c) 2014 hobbyquaker