Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Fehlermeldung JS

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.7k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    696

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    1.2k

Fehlermeldung JS

Scheduled Pinned Locked Moved Skripten / Logik
javascriptblockly
4 Posts 2 Posters 374 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    HI,

    seit ein paar Tagen bekomme ich im Log eine Fehlermeldung die anscheinend meinen ganzen PI etwas ausbremst.

    Laufend kommt der Ladekreis zum Vorschein.

    Irgendwo im Scripten muss ich einen Fehler haben, wobei die Scripte bis vor kurzem Problemlos liefen.

    Danke für Eure Hilfe

    Tobias


    javascript.0 2020-01-11 23:50:00.066 error (22304) at Timer.processTimers (timers.js:223:10)
    javascript.0 2020-01-11 23:50:00.066 error (22304) at listOnTimeout (timers.js:263:5)
    javascript.0 2020-01-11 23:50:00.065 error (22304) at tryOnTimeout (timers.js:300:5)
    javascript.0 2020-01-11 23:50:00.064 error (22304) at ontimeout (timers.js:436:11)
    javascript.0 2020-01-11 23:50:00.064 error (22304) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7)
    javascript.0 2020-01-11 23:50:00.063 error (22304) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11
    javascript.0 2020-01-11 23:50:00.063 error (22304) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10)
    javascript.0 2020-01-11 23:50:00.062 error (22304) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1319:34)
    javascript.0 2020-01-11 23:50:00.061 error (22304) at Object.<anonymous> (script.js.common.Arbeitsweg_Letter:241:5)
    javascript.0 2020-01-11 23:50:00.061 error (22304) at main (script.js.common.Arbeitsweg_Letter:230:5)
    javascript.0 2020-01-11 23:50:00.060 error (22304) Error in callback: ReferenceError: isTimeInRange is not defined


    020-01-11 23:49:03.242 warn (22304) at processImmediate (timers.js:658:5)
    javascript.0 2020-01-11 23:49:03.242 warn (22304) at tryOnImmediate (timers.js:676:5)
    javascript.0 2020-01-11 23:49:03.241 warn (22304) at runCallback (timers.js:705:18)
    javascript.0 2020-01-11 23:49:03.241 warn (22304) at Immediate.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:224:41)
    javascript.0 2020-01-11 23:49:03.241 warn (22304) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4745:37)
    javascript.0 2020-01-11 23:49:03.241 warn (22304) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:439:25)
    javascript.0 2020-01-11 23:49:03.241 warn (22304) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1101:38)
    javascript.0 2020-01-11 23:49:03.241 warn (22304) at Object.<anonymous> (script.js.common.Gesamtstrom_Haus:9:3)
    javascript.0 2020-01-11 23:49:03.240 warn (22304) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1404:20)
    javascript.0 2020-01-11 23:49:03.240 warn (22304) You are assigning a number to the state "javascript.0.scriptEnabled.common.Abtrag_Solar" which expects a boolean. Please fix your code to use a boolean or change the state type to number. Thi
    javascript.0 2020-01-11 23:49:03.239 warn (22304) at processImmediate (timers.js:658:5)
    javascript.0 2020-01-11 23:49:03.239 warn (22304) at tryOnImmediate (timers.js:676:5)
    javascript.0 2020-01-11 23:49:03.239 warn (22304) at runCallback (timers.js:705:18)
    javascript.0 2020-01-11 23:49:03.239 warn (22304) at Immediate.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:224:41)
    javascript.0 2020-01-11 23:49:03.239 warn (22304) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4745:37)
    javascript.0 2020-01-11 23:49:03.238 warn (22304) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:439:25)
    javascript.0 2020-01-11 23:49:03.238 warn (22304) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1101:38)
    javascript.0 2020-01-11 23:49:03.238 warn (22304) at Object.<anonymous> (script.js.common.Gesamtstrom_Haus:4:3)
    javascript.0 2020-01-11 23:49:03.238 warn (22304) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1404:20)
    javascript.0 2020-01-11 23:49:03.237 warn (22304) You are assigning a number to the state "javascript.0.scriptEnabled.common.Gesamtleistung" which expects a boolean. Please fix your code to use a boolean or change the state type to number. T

    paul53P 1 Reply Last reply
    0
    • ? A Former User

      HI,

      seit ein paar Tagen bekomme ich im Log eine Fehlermeldung die anscheinend meinen ganzen PI etwas ausbremst.

      Laufend kommt der Ladekreis zum Vorschein.

      Irgendwo im Scripten muss ich einen Fehler haben, wobei die Scripte bis vor kurzem Problemlos liefen.

      Danke für Eure Hilfe

      Tobias


      javascript.0 2020-01-11 23:50:00.066 error (22304) at Timer.processTimers (timers.js:223:10)
      javascript.0 2020-01-11 23:50:00.066 error (22304) at listOnTimeout (timers.js:263:5)
      javascript.0 2020-01-11 23:50:00.065 error (22304) at tryOnTimeout (timers.js:300:5)
      javascript.0 2020-01-11 23:50:00.064 error (22304) at ontimeout (timers.js:436:11)
      javascript.0 2020-01-11 23:50:00.064 error (22304) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7)
      javascript.0 2020-01-11 23:50:00.063 error (22304) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11
      javascript.0 2020-01-11 23:50:00.063 error (22304) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10)
      javascript.0 2020-01-11 23:50:00.062 error (22304) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1319:34)
      javascript.0 2020-01-11 23:50:00.061 error (22304) at Object.<anonymous> (script.js.common.Arbeitsweg_Letter:241:5)
      javascript.0 2020-01-11 23:50:00.061 error (22304) at main (script.js.common.Arbeitsweg_Letter:230:5)
      javascript.0 2020-01-11 23:50:00.060 error (22304) Error in callback: ReferenceError: isTimeInRange is not defined


      020-01-11 23:49:03.242 warn (22304) at processImmediate (timers.js:658:5)
      javascript.0 2020-01-11 23:49:03.242 warn (22304) at tryOnImmediate (timers.js:676:5)
      javascript.0 2020-01-11 23:49:03.241 warn (22304) at runCallback (timers.js:705:18)
      javascript.0 2020-01-11 23:49:03.241 warn (22304) at Immediate.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:224:41)
      javascript.0 2020-01-11 23:49:03.241 warn (22304) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4745:37)
      javascript.0 2020-01-11 23:49:03.241 warn (22304) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:439:25)
      javascript.0 2020-01-11 23:49:03.241 warn (22304) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1101:38)
      javascript.0 2020-01-11 23:49:03.241 warn (22304) at Object.<anonymous> (script.js.common.Gesamtstrom_Haus:9:3)
      javascript.0 2020-01-11 23:49:03.240 warn (22304) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1404:20)
      javascript.0 2020-01-11 23:49:03.240 warn (22304) You are assigning a number to the state "javascript.0.scriptEnabled.common.Abtrag_Solar" which expects a boolean. Please fix your code to use a boolean or change the state type to number. Thi
      javascript.0 2020-01-11 23:49:03.239 warn (22304) at processImmediate (timers.js:658:5)
      javascript.0 2020-01-11 23:49:03.239 warn (22304) at tryOnImmediate (timers.js:676:5)
      javascript.0 2020-01-11 23:49:03.239 warn (22304) at runCallback (timers.js:705:18)
      javascript.0 2020-01-11 23:49:03.239 warn (22304) at Immediate.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:224:41)
      javascript.0 2020-01-11 23:49:03.239 warn (22304) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4745:37)
      javascript.0 2020-01-11 23:49:03.238 warn (22304) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:439:25)
      javascript.0 2020-01-11 23:49:03.238 warn (22304) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1101:38)
      javascript.0 2020-01-11 23:49:03.238 warn (22304) at Object.<anonymous> (script.js.common.Gesamtstrom_Haus:4:3)
      javascript.0 2020-01-11 23:49:03.238 warn (22304) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1404:20)
      javascript.0 2020-01-11 23:49:03.237 warn (22304) You are assigning a number to the state "javascript.0.scriptEnabled.common.Gesamtleistung" which expects a boolean. Please fix your code to use a boolean or change the state type to number. T

      paul53P Offline
      paul53P Offline
      paul53
      wrote on last edited by
      #2

      @tobi83
      Im Script common.Gesamtstrom_Haus in Zeile 4 ist folgender Fehler: Es wird eine Zahl in einen Datenpunkt vom Typ "boolean" geschrieben.

      Im Script common.Arbeitsweg_Letter wird offenbar in Zeile 230 und/oder 241 eine Funktion isTimeInRange aufgerufen, die nicht deklariert ist.

      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
      Produktiv: Asus PN 42 / N100 / 8 GB / 500 GB

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Und wie deklariert man so etwas ?

        War ein fertiges Script...

        paul53P 1 Reply Last reply
        0
        • ? A Former User

          Und wie deklariert man so etwas ?

          War ein fertiges Script...

          paul53P Offline
          paul53P Offline
          paul53
          wrote on last edited by
          #4

          @tobi83 sagte:

          War ein fertiges Script...

          Welches ?

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: Asus PN 42 / N100 / 8 GB / 500 GB

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Support us

          ioBroker
          Community Adapters
          Donate

          505

          Online

          32.9k

          Users

          83.0k

          Topics

          1.3m

          Posts
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
          ioBroker Community 2014-2025
          logo
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Home
          • Recent
          • Tags
          • Unread 0
          • Categories
          • Unreplied
          • Popular
          • GitHub
          • Docu
          • Hilfe