GithubHelp home page GithubHelp logo

ticaki / iobroker.javascript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iobroker/iobroker.javascript

0.0 0.0 0.0 188.47 MB

Script engine for JavaScript and Blockly

License: MIT License

JavaScript 98.03% TypeScript 0.02% CSS 0.19% HTML 1.51% SCSS 0.24%

iobroker.javascript's Introduction

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 the anything below
  • ./iobroker-data/files or the anything below
  • ./iobroker-data/backitup or the anything below
  • ./backups or the anything below
  • ./node_modules or the anything below
  • ./log or the anything below

Todo

  • Goto current line in debugger
  • ...

Changelog

WORK IN PROGRESS

NodeJS 16.x is required

  • (klein0r) Added function to format time difference formatTimeDiff
  • (klein0r) Added blockly blocks for formatTimeDiff
  • (klein0r) messageToAsync was not working without options
  • (klein0r) Added timeout and custom options for sendToAsync
  • (klein0r) Fixed valid switch statement expressions

7.1.6 (2023-10-24)

  • (bluefox) Fixed pushover rules block

7.1.5 (2023-10-09)

  • (bluefox) Added play-ground for ChatGPT (API key required)

7.1.4 (2023-08-09)

  • (bluefox) Added version to the side menu
  • (klein0r) Added blockly blocks for getHistory and calculated times

7.1.1 (2023-06-20)

  • (bluefox) corrected the script export

7.1.0 (2023-06-13)

  • (klein0r) Added new blocks: new line, random number, value between min and max, if empty
  • (klein0r) Updated blockly core to v9.3.3
  • (bluefox) corrected blockly

License

The MIT License (MIT)

Copyright (c) 2014-2023 bluefox [email protected],

Copyright (c) 2014 hobbyquaker

iobroker.javascript's People

Contributors

germanbluefox avatar apollon77 avatar alcalzone avatar dependabot[bot] avatar klein0r avatar homoran avatar zalash333 avatar paul53 avatar hobbyquaker avatar unclesamswiss avatar soef avatar dilesoft avatar buzzy1337 avatar winnyschuster avatar garfonso avatar dutchmannl avatar mfal avatar slix185 avatar thewhobox avatar ldittmar81 avatar vesler avatar agross avatar rantanplan01 avatar foxriver76 avatar twonky4 avatar anzic23 avatar dmtrsmkv avatar thetagamma avatar reshbnm avatar maag-da avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.