Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [Diskussion] js-controller 1.5.11 ab sofort im Stable Repository

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    484

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.6k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.6k

[Diskussion] js-controller 1.5.11 ab sofort im Stable Repository

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
js-controller
158 Beiträge 37 Kommentatoren 25.4k Aufrufe 20 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Offline
    M Offline
    Marty56
    schrieb am zuletzt editiert von Marty56
    #2

    Ich habe die Version 1.5.8 und mit iobroker upgrade self kommt die Meldung 'Host "raspberry" is up to date.'
    Wie kann ich upgraden?

    Update: Mein Fehler! Hat sich erledigt.

    HW:NUC (16 GB Ram)
    OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

    1 Antwort Letzte Antwort
    0
    • M Offline
      M Offline
      Marty56
      schrieb am zuletzt editiert von Marty56
      #3

      Update hat bei meinen iobroker Instanzen völlig unproblematisch geklappt. Klasse. Gute Arbeit.

      Eine Kleinigkeit noch. Beim Syntax Check wird immer bei dem require statement z.B. "var DP = require('dewpoint');" das spezifizierte Modul als "missing" gekennzeichnet, obwohl ich es im Javascript Adapter eingetragen habe und das Script auch ohne Probleme läuft.

      Update: Komischerweise ist tritt nur bei einer von meinen ioBroker Instanzen noch ein weiterer Syntaxfehlercheck auf. Dort wird immer setTimeout mit "cannot find function any" gekennzeichnet.

      HW:NUC (16 GB Ram)
      OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

      1 Antwort Letzte Antwort
      0
      • S Offline
        S Offline
        Semenchkare
        schrieb am zuletzt editiert von Semenchkare
        #4

        hallo,
        habe npm 6.90 und node/nodejs 12.20 installiert und bei mir klappt ein update mit
        iobroker stop
        iobroker update
        iobroker upgrade self
        iobroker start

        nicht.
        Meldungen:

        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Delete Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Quick Mode Off Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Checked Checkbox 2.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Exit.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Menu 2.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Public Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Checkmark Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Error.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Collect.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Xlarge Icons.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Sound Recording Copyright Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Process Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Enter.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Comments.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Support.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Maintenance.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Quick Mode Off.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Reuse Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Expired.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Inspection Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/VIP.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bullish Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/No Idea Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Toggle Off.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Quick Mode On Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Toggle On.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Double Tap Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Advertising Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Checkmark.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Menu 2 Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Public.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Video Projector.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Upload.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bad Decision Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Approve.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/High Priority.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bearish Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Invite Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Business.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Advertising.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Approve Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Light at the End of Tunnel.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Overtime Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Sound Recording Copyright.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Upload Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Menu Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bullish.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Appointment Reminders.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Toggle Off Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/High Priority Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Students Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Overtime.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Checked.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/To Do.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Toggle On Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Info Squared Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Unchecked Checkbox.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bar Chart Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Horizontal Settings Mixer.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Appointment Reminders Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Quick Mode On.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Curriculum Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Video Projector Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Students.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Businessman Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/VIP Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Private.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Delete.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Info.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Flow Chart Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Support Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Businesswoman Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Light at the End of Tunnel Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Menu.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/In Transit.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Flow Chart.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Inspection.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Invite.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Comments Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Curriculum.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Businessman.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Double Tap.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Help Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Vertical Settings Mixer.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Error Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Enter Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bearish.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Info Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Businesswoman.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Expired Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Checked Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/In Transit Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Xlarge Icons Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Help.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Exit Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Info Squared.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Private Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bar Chart.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Collect Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/No Idea.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Work.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Process.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Business Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Vertical Settings Mixer Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/To Do Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bad Decision.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Work Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Checked Checkbox 2 Filled.png': Operation not permitted
        chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Unchecked Checkbox Filled.png': Operation not permitted
        Chmod finished. Restart controller
        

        probiere ich es über den anderen weg
        iobroker stop
        npm install iobroker.js-controller --production
        iobroker start

        erhalte ich folgende Fehlermeldungen:

        npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.
        
        npm ERR! path /opt/iobroker/node_modules/.bin/iobroker
        npm ERR! code EEXIST
        npm ERR! Refusing to delete /opt/iobroker/node_modules/.bin/iobroker: is outside /opt/iobroker/node_modules/iobroker.js-controller and not a link
        npm ERR! File exists: /opt/iobroker/node_modules/.bin/iobroker
        npm ERR! Move it away, and try again.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /root/.npm/_logs/2019-05-30T05_28_02_740Z-debug.log
        
        

        Viele Grüße

        Semenchkare

        raspberry 5 8GB mit iobroker,
        raspberry 5 8GB mit Raspberrymatic

        apollon77A 1 Antwort Letzte Antwort
        0
        • BBTownB Offline
          BBTownB Offline
          BBTown
          schrieb am zuletzt editiert von
          #5

          das update verlief geräuschlos und alle adapter waren umgehend wieder grün

          ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

          1 Antwort Letzte Antwort
          0
          • cashC Offline
            cashC Offline
            cash
            Most Active
            schrieb am zuletzt editiert von
            #6

            Bin seit gestern auf der aktuellen Version von der 1.2.5.

            Alle Adapter waren sofort wieder grün. Alles so wie immer.

            1 Antwort Letzte Antwort
            0
            • S Offline
              S Offline
              Semenchkare
              schrieb am zuletzt editiert von
              #7

              mit sudo ./reinstall.sh hat es jetzt bei mir auch funktioniert...

              Viele Grüße

              Semenchkare

              raspberry 5 8GB mit iobroker,
              raspberry 5 8GB mit Raspberrymatic

              apollon77A 1 Antwort Letzte Antwort
              0
              • S Semenchkare

                hallo,
                habe npm 6.90 und node/nodejs 12.20 installiert und bei mir klappt ein update mit
                iobroker stop
                iobroker update
                iobroker upgrade self
                iobroker start

                nicht.
                Meldungen:

                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Delete Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Quick Mode Off Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Checked Checkbox 2.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Exit.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Menu 2.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Public Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Checkmark Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Error.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Collect.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Xlarge Icons.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Sound Recording Copyright Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Process Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Enter.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Comments.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Support.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Maintenance.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Quick Mode Off.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Reuse Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Expired.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Inspection Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/VIP.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bullish Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/No Idea Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Toggle Off.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Quick Mode On Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Toggle On.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Double Tap Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Advertising Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Checkmark.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Menu 2 Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Public.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Video Projector.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Upload.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bad Decision Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Approve.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/High Priority.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bearish Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Invite Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Business.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Advertising.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Approve Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Light at the End of Tunnel.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Overtime Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Sound Recording Copyright.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Upload Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Menu Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bullish.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Appointment Reminders.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Toggle Off Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/High Priority Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Students Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Overtime.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Checked.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/To Do.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Toggle On Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Info Squared Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Unchecked Checkbox.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bar Chart Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Horizontal Settings Mixer.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Appointment Reminders Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Quick Mode On.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Curriculum Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Video Projector Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Students.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Businessman Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/VIP Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Private.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Delete.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Info.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Flow Chart Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Support Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Businesswoman Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Light at the End of Tunnel Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Menu.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/In Transit.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Flow Chart.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Inspection.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Invite.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Comments Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Curriculum.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Businessman.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Double Tap.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Help Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Vertical Settings Mixer.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Error Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Enter Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bearish.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Info Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Businesswoman.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Expired Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Checked Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/In Transit Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Xlarge Icons Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Help.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Exit Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Info Squared.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Private Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bar Chart.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Collect Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/No Idea.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Work.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Process.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Business Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Vertical Settings Mixer Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/To Do Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Bad Decision.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Work Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Checked Checkbox 2 Filled.png': Operation not permitted
                chmod: changing permissions of '/opt/iobroker/node_modules/iobroker.icons-icons8/www/interface/yellow/Unchecked Checkbox Filled.png': Operation not permitted
                Chmod finished. Restart controller
                

                probiere ich es über den anderen weg
                iobroker stop
                npm install iobroker.js-controller --production
                iobroker start

                erhalte ich folgende Fehlermeldungen:

                npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.
                
                npm ERR! path /opt/iobroker/node_modules/.bin/iobroker
                npm ERR! code EEXIST
                npm ERR! Refusing to delete /opt/iobroker/node_modules/.bin/iobroker: is outside /opt/iobroker/node_modules/iobroker.js-controller and not a link
                npm ERR! File exists: /opt/iobroker/node_modules/.bin/iobroker
                npm ERR! Move it away, and try again.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /root/.npm/_logs/2019-05-30T05_28_02_740Z-debug.log
                
                
                apollon77A Offline
                apollon77A Offline
                apollon77
                schrieb am zuletzt editiert von
                #8

                @Semenchkare mit nodejs 12 bist du aber recht experimentell. Beachte bitte den nodejs 12 Thread wegen der inkompatiblen Adapter!

                Sie permission Fehler können vorkommen und können ignoriert werden. Für ich zu known hinzu.

                Das andere kann vorkommen wenn npm mal komische Dinge getan hat oder man mal das node-modules manuell kopiert hat. Die angemeckerten files einfach löschen.

                Aber hast es gelöst. Super!!

                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                sigi234S 1 Antwort Letzte Antwort
                0
                • S Semenchkare

                  mit sudo ./reinstall.sh hat es jetzt bei mir auch funktioniert...

                  apollon77A Offline
                  apollon77A Offline
                  apollon77
                  schrieb am zuletzt editiert von
                  #9

                  @Semenchkare lass am besten den Installation Fixer nochmal laufen weil du ja jetzt mit sudo Dinge getan hast

                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                  1 Antwort Letzte Antwort
                  0
                  • apollon77A apollon77

                    @Semenchkare mit nodejs 12 bist du aber recht experimentell. Beachte bitte den nodejs 12 Thread wegen der inkompatiblen Adapter!

                    Sie permission Fehler können vorkommen und können ignoriert werden. Für ich zu known hinzu.

                    Das andere kann vorkommen wenn npm mal komische Dinge getan hat oder man mal das node-modules manuell kopiert hat. Die angemeckerten files einfach löschen.

                    Aber hast es gelöst. Super!!

                    sigi234S Online
                    sigi234S Online
                    sigi234
                    Forum Testing Most Active
                    schrieb am zuletzt editiert von sigi234
                    #10

                    @apollon77 sagte in [Diskussion] js-controller 1.5.11 ab sofort im Stable Repository:

                    mit nodejs 12 bist du aber recht experimentell

                    Hallo Ingo, welche Node Version wird eigentlich empfohlen? Stable 8.16.0?
                    Möchte auf die 10er gehen..........

                    Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                    Immer Daten sichern!

                    1 Antwort Letzte Antwort
                    0
                    • apollon77A Offline
                      apollon77A Offline
                      apollon77
                      schrieb am zuletzt editiert von
                      #11

                      Am Ende werden wir mit dem Controller 1.5.11 die empfohlene Version demnächst auf nodejs 10 anheben. Node 8 geht auch noch. Nodejs 6 ist end of life und sollte abgelöst werden. Es gibt die Tage noch ein how to für nodejs updates.

                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                      1 Antwort Letzte Antwort
                      5
                      • ChaotC Offline
                        ChaotC Offline
                        Chaot
                        schrieb am zuletzt editiert von Chaot
                        #12

                        Ich hatte (eher ungenutzt) ein Script für die Abfrage der Astrozeiten am laufen:

                        Das gibt nach dem Update die Fehlermeldung:

                        javascript.0	2019-05-30 15:25:12.509	error	Cannot get astro date for "nightEnd"
                        javascript.0	2019-05-30 15:25:12.507	error	Cannot get astro date for "night"
                        

                        Ansonsten scheint alles zu laufen.
                        Da ich das Script nicht mehr nutze habe ich es vorerst deaktiviert. Aber vielleicht kann man ja am Script erkennen ob in der Version noch ein Fehler vorhanden ist.

                        Das betroffene Script:

                        ```
                        /* System Tageszeoten

                        Skript meldet Tageszeiten

                        Nacht;Frühmorgens;Morgengrauen;Vormittag;Mittag;Nachmittag;Dämmerung;Abend;
                        Basis: http://www.homematic-inside.de/tecbase/homematic/scriptlibrary/item/tageszeit-in-abschnitte-unterteilen
                        oder hier: https://github.com/ioBroker/ioBroker.javascript#astro--funktion

                        https://github.com/iobroker/ioBroker.javascript/blob/master/README.md#getastrodate

                        erstellt: 01.06.2015 von Pix
                        11.12.2015 getAstroDate ermittelt nun auch Sonnenaufgang und Untergang
                        Astrotag (isAstroDay) eingebaut
                        23.02.2018 checkSec eingebaut (Uhrzeit sekundengenau?)
                        andere Astrozeiten werden nun auch gespeichert
                        Neuer Pfad
                        24.02.2018 Unterteilung in zwei Bereiche
                        27.02.2018 Bestimmung, welche AstroZeit aktuell ist (mit der ioBroker-Funktion compareTime)
                        Beschreibung Objekt Astrotag korrigiert
                        Objekte werden jetzt bei jedem Zeitplan angelegt, falls nicht (mehr) vorhanden
                        */

                        const sec = false; // Sekunden darstellen oder nicht
                        const fC = false; // forceCreation ein/aus
                        const pfad = "Astro"; // Pfad zum Objekt - Objektbaum-Hauptverzeichnis

                        // *****************************************************************************
                        // TAGESZEITEN - T E I L

                        // Tageszeiten nach eigenem Gusto (Shifts siehe schedules weiter unten)
                        const tageszeiten = ["Nacht", // Night
                        "Morgendämmerung", // nightEnd
                        "Morgen",
                        "Vormittag",
                        "Mittag",
                        "Nachmittag",
                        "Abenddämmerung",
                        "Abend"];

                        const idTageszeit = "javascript." + instance + "." + pfad + ".Tageszeit.current" /Tageszeit/,
                        idTageszeitNext = "javascript." + instance + "." + pfad + ".Tageszeit.next";

                        function createTageszeiten() {
                        createState(idTageszeit, "nächsten Wechsel abwarten", fC, {
                        name: "Tageszeit",
                        desc: "Name der Tageszeit",
                        type: "string"
                        });
                        createState(idTageszeitNext, "nächsten Wechsel abwarten", fC, {
                        name: "nächste Tageszeit",
                        desc: "Name der nächsten Tageszeit",
                        type: "string"
                        });
                        }

                        function neue_tageszeit(abschnitt) {
                        createTageszeiten(); // Objekte anlegen, falls noch nicht geschehen
                        var akt = tageszeiten[parseInt(abschnitt, 10)],
                        // wenn aktuelles Element ist letztes, dann nächstes ist erstes :-D
                        nxt = (abschnitt + 1 === tageszeiten.length) ? tageszeiten[0] : tageszeiten[parseInt(abschnitt + 1, 10)];
                        setState(idTageszeit, akt);
                        setState(idTageszeitNext, nxt);
                        log("neue Tagezeit: " + akt);
                        log("nächte kommende Tagezeit: " + nxt);
                        }

                        // Nacht
                        schedule({
                        astro: "night",
                        shift: 120
                        }, function () {
                        neue_tageszeit(0);
                        });

                        // Morgengdämmerung
                        schedule({
                        astro: "nightEnd"
                        }, function () {
                        neue_tageszeit(1);
                        });

                        // Morgen
                        schedule({
                        astro: "sunrise"
                        }, function () {
                        neue_tageszeit(2);
                        });

                        // Vormittag (beginnt 120min vor Sonnenhöchststand)
                        schedule({
                        astro: "solarNoon",
                        shift: -120
                        }, function () {
                        neue_tageszeit(3);
                        });

                        // Mittag
                        schedule({
                        astro: "solarNoon"
                        }, function () {
                        neue_tageszeit(4);
                        });

                        // Nachmittag
                        schedule({
                        astro: "solarNoon",
                        shift: 60
                        }, function () {
                        neue_tageszeit(5);
                        });

                        // Abenddämmerung (nach Sonnenuntergang)
                        schedule({
                        astro: "dusk"
                        }, function () {
                        neue_tageszeit(6);
                        });

                        // Abend
                        schedule({
                        astro: "night"
                        }, function () {
                        neue_tageszeit(7);
                        });

                        // *****************************************************************************
                        // A S T O - T E I L

                        /* Objekt Astrotag
                        Astrotag liegt zwischen Sonnauf- und untergang,
                        Astronacht liegt zwischen Sonnenunter- und aufgang */
                        const idAstrotag = "javascript." + instance + "." + pfad + ".Astrotag";
                        const idAstrotime = "javascript." + instance + "." + pfad + ".Astrozeit";

                        // Array für Funktion compareTime (sind leider nicht alle Astrozeiten, die auch mit Astro-Function möglich sind)
                        const astrotime_arr = [
                        "sunrise",
                        "sunriseEnd",
                        "goldenHourEnd",
                        "goldenHour",
                        "sunsetStart",
                        "sunset",
                        "dusk",
                        "nauticalDusk",
                        "night",
                        "nightEnd",
                        "nauticalDawn",
                        "dawn"
                        ];

                        // Objekt für Uhrzeiten der Astrozeiten
                        const astrotime = {
                        "elements" : [
                        // Astrotag beginnt
                        {
                        "fname" : "sunrise", // function name
                        "de" : {
                        "name" : "Sonnenaufgang",
                        "nxt" : "nächster",
                        "desc" : ""
                        },
                        "en" : {
                        "name" : "Sunrise",
                        "desc" : "top edge of the sun appears on the horizon"
                        },
                        "astroday" : true //during astroday
                        },
                        {
                        "fname" : "sunriseEnd", // function name
                        "de" : {
                        "name" : "Ende Sonnenaufgang",
                        "nxt" : "nächstes",
                        "desc" : ""
                        },
                        "en" : {
                        "name" : "End of sunrise",
                        "desc" : "bottom edge of the sun touches the horizon"
                        },
                        "astroday" : true //during astroday
                        },
                        {
                        "fname" : "goldenHourEnd", // function name
                        "de" : {
                        "name" : "Ende der goldenen Stunde am Morgen",
                        "nxt" : "nächstes",
                        "desc" : ""
                        },
                        "en" : {
                        "name" : "End of golden hour",
                        "desc" : "morning golden hour (soft light, best time for photography) ends"
                        },
                        "astroday" : true //during astroday
                        },
                        {
                        "fname" : "solarNoon", // function name
                        "de" : {
                        "name" : "Sonnenhöchststand",
                        "nxt" : "nächster",
                        "desc" : ""
                        },
                        "en" : {
                        "name" : "Solar noon",
                        "desc" : "sun is in the highest position"
                        },
                        "astroday" : true //during astroday
                        },
                        {
                        "fname" : "goldenHour", // function name
                        "de" : {
                        "name" : "Goldene Stunde (am Abend)",
                        "nxt" : "nächste",
                        "desc" : ""
                        },
                        "en" : {
                        "name" : "Golden hour",
                        "desc" : "evening golden hour starts"
                        },
                        "astroday" : true //during astroday
                        },
                        {
                        "fname" : "sunsetStart", // function name
                        "de" : {
                        "name" : "Beginn Sonnenuntergang",
                        "nxt" : "nächster",
                        "desc" : ""
                        },
                        "en" : {
                        "name" : "Sunset starts",
                        "desc" : "bottom edge of the sun touches the horizon"
                        },
                        "astroday" : true //during astroday
                        },
                        // Astronacht beginnt
                        {
                        "fname" : "sunset", // function name
                        "de" : {
                        "name" : "Sonnenuntergang",
                        "nxt" : "nächster",
                        "desc" : ""
                        },
                        "en" : {
                        "name" : "Sunset",
                        "desc" : "sun disappears below the horizon, evening civil twilight starts"
                        },
                        "astroday" : false //during astronight
                        },
                        {
                        "fname" : "dusk",
                        "de" : {
                        "name" : "Abenddämmerung",
                        "nxt" : "nächste",
                        "desc" : ""
                        },
                        "en" : {
                        "name" : "Dusk",
                        "desc" : "evening nautical twilight starts"
                        },
                        "astroday" : false //during astronight
                        },
                        {
                        "fname" : "nauticalDusk",
                        "de" : {
                        "name" : "nautische Abenddämmerung",
                        "nxt" : "nächste",
                        "desc" : ""
                        },
                        "en" : {
                        "name" : "Nautical dusk",
                        "desc" : "evening astronomical twilight starts"
                        },
                        "astroday" : false //during astronight
                        },
                        {
                        "fname" : "night",
                        "de" : {
                        "name" : "Nacht",
                        "nxt" : "nächste",
                        "desc" : ""
                        },
                        "en" : {
                        "name" : "Night",
                        "desc" : "dark enough for astronomical observations"
                        },
                        "astroday" : false //during astronight
                        },
                        {
                        "fname" : "nadir",
                        "de" : {
                        "name" : "Nadir",
                        "nxt" : "nächster",
                        "desc" : "Fußpunkt gegenüber dem Zenit"
                        },
                        "en" : {
                        "name" : "Nadir",
                        "desc" : "darkest moment of the night, sun is in the lowest position"
                        },
                        "astroday" : false //during astronight
                        },
                        {
                        "fname" : "nightEnd",
                        "de" : {
                        "name" : "Nachtende",
                        "nxt" : "nächstes",
                        "desc" : ""
                        },
                        "en" : {
                        "name" : "Night ends",
                        "desc" : "morning astronomical twilight starts"
                        },
                        "astroday" : false //during astronight
                        },
                        {
                        "fname" : "nauticalDawn",
                        "de" : {
                        "name" : "nautische Morgendämmerung",
                        "nxt" : "nächste",
                        "desc" : ""
                        },
                        "en" : {
                        "name" : "Nautical dawn",
                        "desc" : "morning nautical twilight starts"
                        },
                        "astroday" : false //during astronight
                        },
                        {
                        "fname" : "dawn",
                        "de" : {
                        "name" : "Morgendämmerung",
                        "nxt" : "nächste",
                        "desc" : ""
                        },
                        "en" : {
                        "name" : "dawn",
                        "desc" : "morning nautical twilight ends, morning civil twilight starts"
                        },
                        "astroday" : false //during astronight
                        }

                        ]
                        

                        };

                        function writeAstroTimes(i) {
                        // führende Nummer zur Sortierung in Admin/Objekte
                        var nr = (i+1 < 10) ? "0" + (i+1) : (i+1);
                        // Erstelle Objekt, falls nicht bereits vorhanden
                        var idAstroObject = "javascript." + instance + "." + pfad + "." + nr + " - " + astrotime.elements[i].fname;
                        createState(idAstroObject, " ", fC, {
                        name: astrotime.elements[i].de.nxt + " " + astrotime.elements[i].de.name + " Uhrzeit",
                        desc: astrotime.elements[i].en.desc,
                        type: "string"
                        });

                        setTimeout(function() { // kurz warten, damit Objekte ggf. erst angelgt werden können
                            var astrotag = getState(idAstrotag).val,
                                temp;
                            var today = new Date();
                            var tomorrow = today.setDate(today.getDate()+1);
                            var next_event;
                            if (astrotag) { 
                                // Wenn Tag (Aufgang vorbei (erst wieder morgen, Untergang kommt noch heute)
                                next_event = (astrotime.elements[i].astroday) ? tomorrow : today; // prüfen
                                temp = getAstroDate(astrotime.elements[i].fname, next_event);
                            } else { 
                                // nach Nacht (Untergang vorbei (erst wieder morgen, Aufgang kommt heute oder morgen)
                                next_event = (astrotime.elements[i].astroday) ? today : tomorrow; // prüfen
                                temp = getAstroDate(astrotime.elements[i].fname, next_event);
                            /* // Rudimente aus altem Skript zur Erinnerung -> Nachfrage bei Bluefox
                            sonnenuntergang = getAstroDate("sunset", tomorrow);
                            nacht = (today.getHours() > 12 && today.getHours() <= 23) ? getAstroDate("night", today) : getAstroDate("night", tomorrow);
                            nachtende = (today.getHours() > 12 && today.getHours() <= 23) ? getAstroDate("night", tomorrow) : getAstroDate("night", today);
                            sonnenaufgang = (today.getHours() > 12 && today.getHours() <= 23) ? getAstroDate("sunrise", tomorrow) :  getAstroDate("sunrise", today); // es ist vor Mitternacht (bzw. vor 23:XXUhr), dann morgen, sonst heute
                            */
                            }
                            setState(idAstroObject, checkSec(temp.toLocaleTimeString()) );
                            
                        }, 3 * 1000);
                        

                        }

                        // Zeit mit oder ohne Sekunden anzeigen
                        function checkSec (zeit) {
                        if (!sec) {
                        var newString_arr = zeit.split(":");
                        var newString = newString_arr[0] + ":" + newString_arr[1];
                        return (newString);
                        } else return (zeit);
                        }

                        function getAstrotime (j) {
                        // Objekt anlegen, falls nicht bereits geschehen
                        createState(idAstrotime, " ", fC, {
                        type: "string",
                        name: "aktuelle Astrozeit",
                        desc: "Anzeige der aktuellen Astrozeit durch ioBroker-Funktion compareTime()"
                        });
                        // aktuelle Astrozeit bestimmen
                        var k = (j == (astrotime_arr.length-1) ) ? 0 : (j+1); // wenn j max ist, dann ist k min
                        var startTime = astrotime_arr[j];
                        var endTime = astrotime_arr[k];
                        //log("Astrozeit zwischen " + j + " und " + k + " von " + astrotime_arr.length);
                        if (!startTime || !endTime) {
                        log("Fehler","error");
                        } else {
                        var astrotime_check = (compareTime(startTime, endTime, "between") ) ;
                        if (astrotime_check) {
                        setState(idAstrotime, startTime);
                        //log("Astrozeit: " + startTime);
                        }
                        }
                        }

                        function getAstroday() {
                        // Astrotag bestimmen (boolean)
                        createState(idAstrotag, false, fC, {
                        type: "boolean",
                        name: "Astrologischer Tag",
                        desc: "Liegt die aktuelle Zeit zwischen Sonnenauf- und untergang"
                        });
                        setState(idAstrotag, isAstroDay());
                        }

                        function iterateAstrotimes() {
                        // Zeiten für jede Astrozeit schreiben
                        for (var i = 0; i < astrotime.elements.length; i++) {
                        writeAstroTimes(i);
                        }
                        // aktuelle Astrozeit ermitteln
                        for (var j = 0; j < astrotime_arr.length; j++) {
                        getAstrotime(j);
                        }
                        }

                        // Astrotag checken
                        schedule("*/1 * * * *", function () { // jede Minute
                        getAstroday();
                        iterateAstrotimes();
                        });

                        iterateAstrotimes();
                        getAstroday();

                        ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

                        paul53P 1 Antwort Letzte Antwort
                        0
                        • ChaotC Chaot

                          Ich hatte (eher ungenutzt) ein Script für die Abfrage der Astrozeiten am laufen:

                          Das gibt nach dem Update die Fehlermeldung:

                          javascript.0	2019-05-30 15:25:12.509	error	Cannot get astro date for "nightEnd"
                          javascript.0	2019-05-30 15:25:12.507	error	Cannot get astro date for "night"
                          

                          Ansonsten scheint alles zu laufen.
                          Da ich das Script nicht mehr nutze habe ich es vorerst deaktiviert. Aber vielleicht kann man ja am Script erkennen ob in der Version noch ein Fehler vorhanden ist.

                          Das betroffene Script:

                          ```
                          /* System Tageszeoten

                          Skript meldet Tageszeiten

                          Nacht;Frühmorgens;Morgengrauen;Vormittag;Mittag;Nachmittag;Dämmerung;Abend;
                          Basis: http://www.homematic-inside.de/tecbase/homematic/scriptlibrary/item/tageszeit-in-abschnitte-unterteilen
                          oder hier: https://github.com/ioBroker/ioBroker.javascript#astro--funktion

                          https://github.com/iobroker/ioBroker.javascript/blob/master/README.md#getastrodate

                          erstellt: 01.06.2015 von Pix
                          11.12.2015 getAstroDate ermittelt nun auch Sonnenaufgang und Untergang
                          Astrotag (isAstroDay) eingebaut
                          23.02.2018 checkSec eingebaut (Uhrzeit sekundengenau?)
                          andere Astrozeiten werden nun auch gespeichert
                          Neuer Pfad
                          24.02.2018 Unterteilung in zwei Bereiche
                          27.02.2018 Bestimmung, welche AstroZeit aktuell ist (mit der ioBroker-Funktion compareTime)
                          Beschreibung Objekt Astrotag korrigiert
                          Objekte werden jetzt bei jedem Zeitplan angelegt, falls nicht (mehr) vorhanden
                          */

                          const sec = false; // Sekunden darstellen oder nicht
                          const fC = false; // forceCreation ein/aus
                          const pfad = "Astro"; // Pfad zum Objekt - Objektbaum-Hauptverzeichnis

                          // *****************************************************************************
                          // TAGESZEITEN - T E I L

                          // Tageszeiten nach eigenem Gusto (Shifts siehe schedules weiter unten)
                          const tageszeiten = ["Nacht", // Night
                          "Morgendämmerung", // nightEnd
                          "Morgen",
                          "Vormittag",
                          "Mittag",
                          "Nachmittag",
                          "Abenddämmerung",
                          "Abend"];

                          const idTageszeit = "javascript." + instance + "." + pfad + ".Tageszeit.current" /Tageszeit/,
                          idTageszeitNext = "javascript." + instance + "." + pfad + ".Tageszeit.next";

                          function createTageszeiten() {
                          createState(idTageszeit, "nächsten Wechsel abwarten", fC, {
                          name: "Tageszeit",
                          desc: "Name der Tageszeit",
                          type: "string"
                          });
                          createState(idTageszeitNext, "nächsten Wechsel abwarten", fC, {
                          name: "nächste Tageszeit",
                          desc: "Name der nächsten Tageszeit",
                          type: "string"
                          });
                          }

                          function neue_tageszeit(abschnitt) {
                          createTageszeiten(); // Objekte anlegen, falls noch nicht geschehen
                          var akt = tageszeiten[parseInt(abschnitt, 10)],
                          // wenn aktuelles Element ist letztes, dann nächstes ist erstes :-D
                          nxt = (abschnitt + 1 === tageszeiten.length) ? tageszeiten[0] : tageszeiten[parseInt(abschnitt + 1, 10)];
                          setState(idTageszeit, akt);
                          setState(idTageszeitNext, nxt);
                          log("neue Tagezeit: " + akt);
                          log("nächte kommende Tagezeit: " + nxt);
                          }

                          // Nacht
                          schedule({
                          astro: "night",
                          shift: 120
                          }, function () {
                          neue_tageszeit(0);
                          });

                          // Morgengdämmerung
                          schedule({
                          astro: "nightEnd"
                          }, function () {
                          neue_tageszeit(1);
                          });

                          // Morgen
                          schedule({
                          astro: "sunrise"
                          }, function () {
                          neue_tageszeit(2);
                          });

                          // Vormittag (beginnt 120min vor Sonnenhöchststand)
                          schedule({
                          astro: "solarNoon",
                          shift: -120
                          }, function () {
                          neue_tageszeit(3);
                          });

                          // Mittag
                          schedule({
                          astro: "solarNoon"
                          }, function () {
                          neue_tageszeit(4);
                          });

                          // Nachmittag
                          schedule({
                          astro: "solarNoon",
                          shift: 60
                          }, function () {
                          neue_tageszeit(5);
                          });

                          // Abenddämmerung (nach Sonnenuntergang)
                          schedule({
                          astro: "dusk"
                          }, function () {
                          neue_tageszeit(6);
                          });

                          // Abend
                          schedule({
                          astro: "night"
                          }, function () {
                          neue_tageszeit(7);
                          });

                          // *****************************************************************************
                          // A S T O - T E I L

                          /* Objekt Astrotag
                          Astrotag liegt zwischen Sonnauf- und untergang,
                          Astronacht liegt zwischen Sonnenunter- und aufgang */
                          const idAstrotag = "javascript." + instance + "." + pfad + ".Astrotag";
                          const idAstrotime = "javascript." + instance + "." + pfad + ".Astrozeit";

                          // Array für Funktion compareTime (sind leider nicht alle Astrozeiten, die auch mit Astro-Function möglich sind)
                          const astrotime_arr = [
                          "sunrise",
                          "sunriseEnd",
                          "goldenHourEnd",
                          "goldenHour",
                          "sunsetStart",
                          "sunset",
                          "dusk",
                          "nauticalDusk",
                          "night",
                          "nightEnd",
                          "nauticalDawn",
                          "dawn"
                          ];

                          // Objekt für Uhrzeiten der Astrozeiten
                          const astrotime = {
                          "elements" : [
                          // Astrotag beginnt
                          {
                          "fname" : "sunrise", // function name
                          "de" : {
                          "name" : "Sonnenaufgang",
                          "nxt" : "nächster",
                          "desc" : ""
                          },
                          "en" : {
                          "name" : "Sunrise",
                          "desc" : "top edge of the sun appears on the horizon"
                          },
                          "astroday" : true //during astroday
                          },
                          {
                          "fname" : "sunriseEnd", // function name
                          "de" : {
                          "name" : "Ende Sonnenaufgang",
                          "nxt" : "nächstes",
                          "desc" : ""
                          },
                          "en" : {
                          "name" : "End of sunrise",
                          "desc" : "bottom edge of the sun touches the horizon"
                          },
                          "astroday" : true //during astroday
                          },
                          {
                          "fname" : "goldenHourEnd", // function name
                          "de" : {
                          "name" : "Ende der goldenen Stunde am Morgen",
                          "nxt" : "nächstes",
                          "desc" : ""
                          },
                          "en" : {
                          "name" : "End of golden hour",
                          "desc" : "morning golden hour (soft light, best time for photography) ends"
                          },
                          "astroday" : true //during astroday
                          },
                          {
                          "fname" : "solarNoon", // function name
                          "de" : {
                          "name" : "Sonnenhöchststand",
                          "nxt" : "nächster",
                          "desc" : ""
                          },
                          "en" : {
                          "name" : "Solar noon",
                          "desc" : "sun is in the highest position"
                          },
                          "astroday" : true //during astroday
                          },
                          {
                          "fname" : "goldenHour", // function name
                          "de" : {
                          "name" : "Goldene Stunde (am Abend)",
                          "nxt" : "nächste",
                          "desc" : ""
                          },
                          "en" : {
                          "name" : "Golden hour",
                          "desc" : "evening golden hour starts"
                          },
                          "astroday" : true //during astroday
                          },
                          {
                          "fname" : "sunsetStart", // function name
                          "de" : {
                          "name" : "Beginn Sonnenuntergang",
                          "nxt" : "nächster",
                          "desc" : ""
                          },
                          "en" : {
                          "name" : "Sunset starts",
                          "desc" : "bottom edge of the sun touches the horizon"
                          },
                          "astroday" : true //during astroday
                          },
                          // Astronacht beginnt
                          {
                          "fname" : "sunset", // function name
                          "de" : {
                          "name" : "Sonnenuntergang",
                          "nxt" : "nächster",
                          "desc" : ""
                          },
                          "en" : {
                          "name" : "Sunset",
                          "desc" : "sun disappears below the horizon, evening civil twilight starts"
                          },
                          "astroday" : false //during astronight
                          },
                          {
                          "fname" : "dusk",
                          "de" : {
                          "name" : "Abenddämmerung",
                          "nxt" : "nächste",
                          "desc" : ""
                          },
                          "en" : {
                          "name" : "Dusk",
                          "desc" : "evening nautical twilight starts"
                          },
                          "astroday" : false //during astronight
                          },
                          {
                          "fname" : "nauticalDusk",
                          "de" : {
                          "name" : "nautische Abenddämmerung",
                          "nxt" : "nächste",
                          "desc" : ""
                          },
                          "en" : {
                          "name" : "Nautical dusk",
                          "desc" : "evening astronomical twilight starts"
                          },
                          "astroday" : false //during astronight
                          },
                          {
                          "fname" : "night",
                          "de" : {
                          "name" : "Nacht",
                          "nxt" : "nächste",
                          "desc" : ""
                          },
                          "en" : {
                          "name" : "Night",
                          "desc" : "dark enough for astronomical observations"
                          },
                          "astroday" : false //during astronight
                          },
                          {
                          "fname" : "nadir",
                          "de" : {
                          "name" : "Nadir",
                          "nxt" : "nächster",
                          "desc" : "Fußpunkt gegenüber dem Zenit"
                          },
                          "en" : {
                          "name" : "Nadir",
                          "desc" : "darkest moment of the night, sun is in the lowest position"
                          },
                          "astroday" : false //during astronight
                          },
                          {
                          "fname" : "nightEnd",
                          "de" : {
                          "name" : "Nachtende",
                          "nxt" : "nächstes",
                          "desc" : ""
                          },
                          "en" : {
                          "name" : "Night ends",
                          "desc" : "morning astronomical twilight starts"
                          },
                          "astroday" : false //during astronight
                          },
                          {
                          "fname" : "nauticalDawn",
                          "de" : {
                          "name" : "nautische Morgendämmerung",
                          "nxt" : "nächste",
                          "desc" : ""
                          },
                          "en" : {
                          "name" : "Nautical dawn",
                          "desc" : "morning nautical twilight starts"
                          },
                          "astroday" : false //during astronight
                          },
                          {
                          "fname" : "dawn",
                          "de" : {
                          "name" : "Morgendämmerung",
                          "nxt" : "nächste",
                          "desc" : ""
                          },
                          "en" : {
                          "name" : "dawn",
                          "desc" : "morning nautical twilight ends, morning civil twilight starts"
                          },
                          "astroday" : false //during astronight
                          }

                          ]
                          

                          };

                          function writeAstroTimes(i) {
                          // führende Nummer zur Sortierung in Admin/Objekte
                          var nr = (i+1 < 10) ? "0" + (i+1) : (i+1);
                          // Erstelle Objekt, falls nicht bereits vorhanden
                          var idAstroObject = "javascript." + instance + "." + pfad + "." + nr + " - " + astrotime.elements[i].fname;
                          createState(idAstroObject, " ", fC, {
                          name: astrotime.elements[i].de.nxt + " " + astrotime.elements[i].de.name + " Uhrzeit",
                          desc: astrotime.elements[i].en.desc,
                          type: "string"
                          });

                          setTimeout(function() { // kurz warten, damit Objekte ggf. erst angelgt werden können
                              var astrotag = getState(idAstrotag).val,
                                  temp;
                              var today = new Date();
                              var tomorrow = today.setDate(today.getDate()+1);
                              var next_event;
                              if (astrotag) { 
                                  // Wenn Tag (Aufgang vorbei (erst wieder morgen, Untergang kommt noch heute)
                                  next_event = (astrotime.elements[i].astroday) ? tomorrow : today; // prüfen
                                  temp = getAstroDate(astrotime.elements[i].fname, next_event);
                              } else { 
                                  // nach Nacht (Untergang vorbei (erst wieder morgen, Aufgang kommt heute oder morgen)
                                  next_event = (astrotime.elements[i].astroday) ? today : tomorrow; // prüfen
                                  temp = getAstroDate(astrotime.elements[i].fname, next_event);
                              /* // Rudimente aus altem Skript zur Erinnerung -> Nachfrage bei Bluefox
                              sonnenuntergang = getAstroDate("sunset", tomorrow);
                              nacht = (today.getHours() > 12 && today.getHours() <= 23) ? getAstroDate("night", today) : getAstroDate("night", tomorrow);
                              nachtende = (today.getHours() > 12 && today.getHours() <= 23) ? getAstroDate("night", tomorrow) : getAstroDate("night", today);
                              sonnenaufgang = (today.getHours() > 12 && today.getHours() <= 23) ? getAstroDate("sunrise", tomorrow) :  getAstroDate("sunrise", today); // es ist vor Mitternacht (bzw. vor 23:XXUhr), dann morgen, sonst heute
                              */
                              }
                              setState(idAstroObject, checkSec(temp.toLocaleTimeString()) );
                              
                          }, 3 * 1000);
                          

                          }

                          // Zeit mit oder ohne Sekunden anzeigen
                          function checkSec (zeit) {
                          if (!sec) {
                          var newString_arr = zeit.split(":");
                          var newString = newString_arr[0] + ":" + newString_arr[1];
                          return (newString);
                          } else return (zeit);
                          }

                          function getAstrotime (j) {
                          // Objekt anlegen, falls nicht bereits geschehen
                          createState(idAstrotime, " ", fC, {
                          type: "string",
                          name: "aktuelle Astrozeit",
                          desc: "Anzeige der aktuellen Astrozeit durch ioBroker-Funktion compareTime()"
                          });
                          // aktuelle Astrozeit bestimmen
                          var k = (j == (astrotime_arr.length-1) ) ? 0 : (j+1); // wenn j max ist, dann ist k min
                          var startTime = astrotime_arr[j];
                          var endTime = astrotime_arr[k];
                          //log("Astrozeit zwischen " + j + " und " + k + " von " + astrotime_arr.length);
                          if (!startTime || !endTime) {
                          log("Fehler","error");
                          } else {
                          var astrotime_check = (compareTime(startTime, endTime, "between") ) ;
                          if (astrotime_check) {
                          setState(idAstrotime, startTime);
                          //log("Astrozeit: " + startTime);
                          }
                          }
                          }

                          function getAstroday() {
                          // Astrotag bestimmen (boolean)
                          createState(idAstrotag, false, fC, {
                          type: "boolean",
                          name: "Astrologischer Tag",
                          desc: "Liegt die aktuelle Zeit zwischen Sonnenauf- und untergang"
                          });
                          setState(idAstrotag, isAstroDay());
                          }

                          function iterateAstrotimes() {
                          // Zeiten für jede Astrozeit schreiben
                          for (var i = 0; i < astrotime.elements.length; i++) {
                          writeAstroTimes(i);
                          }
                          // aktuelle Astrozeit ermitteln
                          for (var j = 0; j < astrotime_arr.length; j++) {
                          getAstrotime(j);
                          }
                          }

                          // Astrotag checken
                          schedule("*/1 * * * *", function () { // jede Minute
                          getAstroday();
                          iterateAstrotimes();
                          });

                          iterateAstrotimes();
                          getAstroday();

                          paul53P Offline
                          paul53P Offline
                          paul53
                          schrieb am zuletzt editiert von
                          #13

                          @Chaot sagte:

                          Das gibt nach dem Update die Fehlermeldung:

                          Das liegt nicht am Update.

                          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                          ChaotC 1 Antwort Letzte Antwort
                          0
                          • ostseereiterO Offline
                            ostseereiterO Offline
                            ostseereiter
                            schrieb am zuletzt editiert von
                            #14

                            mit welchen Befehl updatet man nun genau.Ich schaue nicht ganz durch.
                            mein iobroker läuft mit:
                            v8.14.0 (Es gibt eine neuere Version: v8.16.0)
                            NPM 6.4.1

                            Gruß OSR

                            Plattform
                            Linux x64 CPUs2 AMD G-T56N Processor 1646 MHz 8GB RAM

                            S 1 Antwort Letzte Antwort
                            0
                            • ostseereiterO ostseereiter

                              mit welchen Befehl updatet man nun genau.Ich schaue nicht ganz durch.
                              mein iobroker läuft mit:
                              v8.14.0 (Es gibt eine neuere Version: v8.16.0)
                              NPM 6.4.1

                              S Offline
                              S Offline
                              skokarl
                              schrieb am zuletzt editiert von
                              #15

                              @ostseereiter sagte in [Diskussion] js-controller 1.5.11 ab sofort im Stable Repository:

                              mit welchen Befehl updatet man nun genau.Ich schaue nicht ganz durch.
                              mein iobroker läuft mit:
                              v8.14.0 (Es gibt eine neuere Version: v8.16.0)
                              NPM 6.4.1

                              Ich habs so gemacht.
                              ohne Gewähr
                              ################
                              iobroker stop
                              iobroker update
                              iobroker upgrade self
                              iobroker start
                              ################
                              ohne Gewähr

                              IOBroker mit Proxmox auf Celeron Nuc mit 16 GB und Debian11, Sonos API, Echo Show 15 als Wandtablet, Homematic IP, HUE, Sonos, Echos, DS718+ als Backup

                              ostseereiterO apollon77A 2 Antworten Letzte Antwort
                              0
                              • S skokarl

                                @ostseereiter sagte in [Diskussion] js-controller 1.5.11 ab sofort im Stable Repository:

                                mit welchen Befehl updatet man nun genau.Ich schaue nicht ganz durch.
                                mein iobroker läuft mit:
                                v8.14.0 (Es gibt eine neuere Version: v8.16.0)
                                NPM 6.4.1

                                Ich habs so gemacht.
                                ohne Gewähr
                                ################
                                iobroker stop
                                iobroker update
                                iobroker upgrade self
                                iobroker start
                                ################
                                ohne Gewähr

                                ostseereiterO Offline
                                ostseereiterO Offline
                                ostseereiter
                                schrieb am zuletzt editiert von
                                #16

                                @skokarl sagte in [Diskussion] js-controller 1.5.11 ab sofort im Stable Repository:

                                Ich habs so gemacht.
                                ohne Gewähr
                                ################
                                iobroker stop
                                iobroker update
                                iobroker upgrade self
                                iobroker start
                                ################
                                ohne Gewähr

                                Oje das überlege ich mir noch.

                                Gruß OSR

                                Plattform
                                Linux x64 CPUs2 AMD G-T56N Processor 1646 MHz 8GB RAM

                                1 Antwort Letzte Antwort
                                0
                                • chmilli1C Offline
                                  chmilli1C Offline
                                  chmilli1
                                  schrieb am zuletzt editiert von
                                  #17

                                  bei mir geht nach dem Update auf 1.5.11 nicht mehr Multihost zum einrichten.......(Hatte alles neu gemacht....)

                                  Auf dem slave kommt nur no connect to <ip.adress>:9001

                                  apollon77A 1 Antwort Letzte Antwort
                                  0
                                  • paul53P paul53

                                    @Chaot sagte:

                                    Das gibt nach dem Update die Fehlermeldung:

                                    Das liegt nicht am Update.

                                    ChaotC Offline
                                    ChaotC Offline
                                    Chaot
                                    schrieb am zuletzt editiert von
                                    #18

                                    @paul53 sagte in [Diskussion] js-controller 1.5.11 ab sofort im Stable Repository:

                                    @Chaot sagte:

                                    Das gibt nach dem Update die Fehlermeldung:

                                    Das liegt nicht am Update.

                                    Und warum sollte das plötzlich an der geografischen Lage liegen? Bisher hat es ja funktioniert.

                                    ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

                                    paul53P 1 Antwort Letzte Antwort
                                    0
                                    • ChaotC Chaot

                                      @paul53 sagte in [Diskussion] js-controller 1.5.11 ab sofort im Stable Repository:

                                      @Chaot sagte:

                                      Das gibt nach dem Update die Fehlermeldung:

                                      Das liegt nicht am Update.

                                      Und warum sollte das plötzlich an der geografischen Lage liegen? Bisher hat es ja funktioniert.

                                      paul53P Offline
                                      paul53P Offline
                                      paul53
                                      schrieb am zuletzt editiert von
                                      #19

                                      @Chaot sagte:

                                      Bisher hat es ja funktioniert.

                                      Irgendwann kommt die erste Nacht im Sommer, in der es nicht mehr funktioniert. Bei Dir war es offenbar die letzte Nacht.

                                      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                      ChaotC 1 Antwort Letzte Antwort
                                      0
                                      • A Offline
                                        A Offline
                                        Alexander.G
                                        schrieb am zuletzt editiert von
                                        #20

                                        Homoran Administrators 1. Apr. 2019, 20:45

                                        @Paulchen67 sagte in Update js-Controller geht nicht auf Ubuntu:

                                        Seit gut 3 Monaten läuft
                                        

                                        Damit bist du ein ganz heißer Kandidat für den Fixer.

                                        Zu diesem Zeitpunkt gab es noch ein paar kleinere Unzulänglichkeiten beim Installer.

                                        Ich glaube ich habe das selbe Problem. Darf man an der Lösung teilhaben. :v:

                                        HomoranH 1 Antwort Letzte Antwort
                                        0
                                        • A Alexander.G

                                          Homoran Administrators 1. Apr. 2019, 20:45

                                          @Paulchen67 sagte in Update js-Controller geht nicht auf Ubuntu:

                                          Seit gut 3 Monaten läuft
                                          

                                          Damit bist du ein ganz heißer Kandidat für den Fixer.

                                          Zu diesem Zeitpunkt gab es noch ein paar kleinere Unzulänglichkeiten beim Installer.

                                          Ich glaube ich habe das selbe Problem. Darf man an der Lösung teilhaben. :v:

                                          HomoranH Nicht stören
                                          HomoranH Nicht stören
                                          Homoran
                                          Global Moderator Administrators
                                          schrieb am zuletzt editiert von
                                          #21

                                          @Alexander-G sagte in [Diskussion] js-controller 1.5.11 ab sofort im Stable Repository:

                                          Homoran Administrators 1. Apr. 2019, 20:45

                                          @Paulchen67 sagte in Update js-Controller geht nicht auf Ubuntu:

                                          Seit gut 3 Monaten läuft
                                          

                                          Damit bist du ein ganz heißer Kandidat für den Fixer.

                                          Zu diesem Zeitpunkt gab es noch ein paar kleinere Unzulänglichkeiten beim Installer.

                                          Ich glaube ich habe das selbe Problem. Darf man an der Lösung teilhaben. :v:

                                          Doppelpost?

                                          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          731

                                          Online

                                          32.5k

                                          Benutzer

                                          81.8k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe