Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iob diag - Skript

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    iob diag - Skript

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @mrjeschke last edited by

      @mrjeschke sagte in iob diag - Skript:

      Danke. Aber wie erwartet gibt es beim LXC weniger Huddel als beim Docker.

      Aber deinem raspi4 geht es nicht gut. Ist der etwa krank? 😉

      1 Reply Last reply Reply Quote 0
      • Negalein
        Negalein Global Moderator @Thomas Braun last edited by

        @thomas-braun sagte in iob diag - Skript:

        wie schaut es denn bei Proxmox/LXC aus? Läuft da das skript durch?


        neu 13.txt

        ======================= SUMMARY =======================
                             v.2023-04-04
        
        
        Operatingsystem:        Ubuntu 20.04.5 LTS
        Kernel:                 5.15.30-2-pve
        Installation:           lxc
        Timezone:               Europe/Vienna (CEST, +0200)
        User-ID:                1001
        X-Server:               false
        Boot Target:            graphical.target
        
        Pending OS-Updates:     50
        Pending iob updates:    2
        
        Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                /usr/bin/node           v16.19.0
                                /usr/bin/npm            8.19.3
                                /usr/bin/npx            8.19.3
        
        Recommended versions are nodejs 18.x.y and npm 9.x.y
        
        MEMORY:
                      total        used        free      shared  buff/cache   available
        Mem:            10G        5.5G        2.9G        0.0K        1.7G        4.5G
        Swap:          2.0G        1.3G        732M
        Total:          12G        6.8G        3.6G
        
        Active iob-Instances:   58
        Active repo(s): Beta (latest)
        
        ioBroker Core:          js-controller           4.0.24
                                admin                   6.4.3
        
        ioBroker Status:        iobroker is running on this host.
        
        
        Objects type: jsonl
        States  type: jsonl
        
        Status admin and web instance:
        + system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
        + system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        
        Objects:                49358
        States:                 45467
        
        Size of iob-Database:
        
        62M     /opt/iobroker/iobroker-data/objects.jsonl
        29M     /opt/iobroker/iobroker-data/objects.json.migrated
        29M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
        0       /opt/iobroker/iobroker-data/objects.json.broken
        104M    /opt/iobroker/iobroker-data/states.jsonl
        9.4M    /opt/iobroker/iobroker-data/states.json.migrated
        9.4M    /opt/iobroker/iobroker-data/states.json.bak.migrated
        0       /opt/iobroker/iobroker-data/states.json.broken
        
        
        
        =================== END OF SUMMARY ====================
        

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Negalein last edited by

          @negalein sagte in iob diag - Skript:

          Danke.
          Ist zwar nicht Thema des Threads, aber da solltest du ran:

          Pending OS-Updates: 50

          Das läuft dir wieder weg und nachher wird es bei so einem großen Berg an Updates nur schwieriger die einzuspielen. Davon ganz abgesehen, das die mit Sicherheit aus Gründen released worden sind.

          Negalein 1 Reply Last reply Reply Quote 0
          • Negalein
            Negalein Global Moderator @Thomas Braun last edited by

            @thomas-braun sagte in iob diag - Skript:

            Pending OS-Updates: 50

            I know.
            Ist für morgen geplant. War etwas Stress in letzter Zeit.
            Machs normal wöchentlich.

            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active last edited by

              Nochmal die Bitte um Testergebnisse:

              Werden Multiusersysteme mit

              iobroker status all | grep MULTIHOSTSERVICE/enabled
              

              erkannt?
              Auf einem Single-Host sieht es jedenfalls so aus:

              echad@chet:~ $ iobroker status all | grep MULTIHOSTSERVICE/enabled
              MULTIHOSTSERVICE/enabled: false
              

              Ändert sich der Eintrag auf true beim Master und beim Slave?

              wendy2702 1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 @Thomas Braun last edited by

                @thomas-braun habe zwei Slaves, in der Ausgabe kommt aber nichts davon

                
                mirko@iobroker:~$ iobroker status all | grep MULTIHOSTSERVICE/enabled
                mirko@iobroker:~$
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @wendy2702 last edited by

                  @wendy2702 Hm, okay.
                  Und der Master sagt?

                  wendy2702 1 Reply Last reply Reply Quote 0
                  • wendy2702
                    wendy2702 @Thomas Braun last edited by

                    @thomas-braun das ist die Ausgabe vom master.

                    Oder was genau willst du sehen?

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @wendy2702 last edited by

                      @wendy2702

                      Komisch. Ich hätte da jetzt sowas wie

                      MULTIHOSTSERVICE/enabled: true
                      

                      erwartet...

                      iobroker status all
                      

                      spuckt auch nix aus?

                      wendy2702 1 Reply Last reply Reply Quote 0
                      • wendy2702
                        wendy2702 @Thomas Braun last edited by wendy2702

                        @thomas-braun kommt das mit „Fehlern“ !?

                        
                         iob status all
                        iobroker is running on this host.
                        
                        
                        Instance "admin.0" is running
                        Instance "admin.1" is running
                        Instance "admin.2" is not running
                        Instance "daswetter.0" is not running
                        Instance "dwd.0" is not running
                        Instance "email.0" is running
                        Instance "enigma2.0" is running
                        Instance "feiertage.0" is not running
                        Instance "flot.0" is not running
                        Instance "fritzbox.0" is running
                        Instance "harmony.0" is running
                        Instance "history.0" is running
                        Instance "hm-rega.0" is running
                        Instance "hm-rpc.0" is running
                        Instance "hm-rpc.1" is running
                        Instance "hm-rpc.2" is running
                        Instance "hue.0" is running
                        Instance "ical.0" is not running
                        Instance "ical.1" is not running
                        Instance "ical.2" is not running
                        Instance "icons-addictive-flavour-png.0" is not running
                        Instance "icons-fatcow-hosting.0" is not running
                        Instance "icons-icons8.0" is not running
                        Instance "icons-material-png.0" is not running
                        Instance "icons-material-svg.0" is not running
                        Instance "icons-mfd-png.0" is not running
                        Instance "icons-mfd-svg.0" is not running
                        Instance "icons-open-icon-library-png.0" is not running
                        Instance "icons-ultimate-png.0" is not running
                        Instance "javascript.0" is running
                        Instance "javascript.1" is running
                        Instance "javascript.2" is running
                        Instance "js2fs.0" is not running
                        Instance "modbus.0" is running
                        Instance "modbus.2" is running
                        Instance "modbus.3" is running
                        Instance "modbus.4" is not running
                        Instance "musiccast.0" is not running
                        Instance "nut.0" is not running
                        Instance "ping.0" is running
                        Instance "rpi2.0" is not running
                        Instance "rpi2.1" is not running
                        Instance "sayit.0" is running
                        Instance "simple-api.0" is running
                        Instance "smartmeter.0" is running
                        Instance "tankerkoenig.0" is running
                        Instance "telegram.0" is running
                        Instance "tr-064.0" is not running
                        Instance "vis-bars.0" is not running
                        Instance "vis-canvas-gauges.0" is not running
                        Instance "vis-colorpicker.0" is not running
                        Instance "vis-fancyswitch.0" is not running
                        Instance "vis-google-fonts.0" is not running
                        Instance "vis-hqwidgets.0" is not running
                        Instance "vis-jqui-mfd.0" is not running
                        Instance "vis-justgage.0" is not running
                        Instance "vis-keyboard.0" is not running
                        Instance "vis-metro.0" is not running
                        Instance "vis-plumb.0" is not running
                        Instance "vis-rgraph.0" is not running
                        Instance "vis-timeandweather.0" is not running
                        Instance "vis.0" is not running
                        Instance "weatherunderground.0" is not running
                        Instance "web.0" is running
                        Instance "yahka.0" is running
                        Instance "yahka.1" is running
                        Instance "yamaha.0" is running
                        Instance "yr.0" is not running
                        Instance "yahka.2" is running
                        Instance "trashschedule.0" is running
                        Instance "vis-material-webfont.0" is not running
                        Instance "vis-materialdesign.0" is not running
                        Instance "vis-material.0" is not running
                        Instance "influxdb.0" is running
                        Instance "vis-inventwo.0" is running
                        Instance "vis-icontwo.0" is not running
                        Instance "yahka.3" is not running
                        Instance "homeconnect.0" is not running
                        Instance "hue-extended.0" is not running
                        Instance "linux-control.0" is running
                        Instance "yahka.4" is running
                        Instance "socketio.0" is running
                        Instance "birthdays.0" is not running
                        Instance "birthdays.1" is not running
                        Instance "pushover.0" is not running
                        Instance "alias-manager.0" is not running
                        Instance "discovery.0" is not running
                        Instance "net-tools.0" is not running
                        Instance "sayit.1" is not running
                        Instance "modbus.5" is running
                        Instance "enocean.0" is running
                        Instance "modbus.1" is running
                        Instance "shuttercontrol.0" is running
                        Instance "energiefluss.0" is running
                        Instance "ws.0" is running
                        Instance "web.1" is running
                        Instance "backitup.0" is not running
                        Instance "modbus.6" is not running
                        Instance "shelly.0" is running
                        Instance "sourceanalytix.0" is running
                        Instance "roborock.0" is not running
                        Instance "vis-2-beta.0" is running
                        Instance "vis-2-widgets-material.0" is not running
                        Instance "vis-2-widgets-energy.0" is not running
                        Instance "vis-2-widgets-gauges.0" is not running
                        Instance "smartstate.0" is running
                        Instance "smartmeter.1" is not running
                        Instance "energiefluss.1" is not running
                        
                        NETWORK/IPv4: true
                        NETWORK/IPv6: true
                        NETWORK/useSystemNpm: true
                        OBJECTS/type: jsonl
                        OBJECTS/host: 0.0.0.0
                        OBJECTS/port: 9001
                        OBJECTS/user:
                        OBJECTS/pass:
                        OBJECTS/noFileCache: true
                        OBJECTS/connectTimeout: 5000
                        OBJECTS/OPTIONS/retryStrategy: reconnectCount => {
                                    if (!ready && initError && ignoreErrors) {
                                        return new Error('No more tries');
                                    }
                                    if (this.stop) {
                                        return new Error('Client has stopped ... no retries anymore');
                                    }
                                    if (ready && reconnectCount >= retry_max_count) {
                                        return new Error('Stop trying to reconnect');
                                    }
                                    // A function that receives an options object as parameter including the retry attempt,
                                    // the total_retry_time indicating how much time passed since the last time connected,
                                    // the error why the connection was lost and the number of times_connected in total.
                                    // If you return a number from this function, the retry will happen exactly after that
                                    // time in milliseconds. If you return a non-number, no further retry will happen and
                                    // all offline commands are flushed with errors. Return an error to return that
                                    // specific error to all offline commands.
                        
                                    if (!ready) {
                                        return 300;
                                    } else {
                                        return retry_max_delay;
                                    }
                                    /*if (options.error.code === 'ECONNREFUSED') {
                                        // End reconnecting on a specific error and flush all commands with a individual error
                                        return new Error('The server refused the connection');
                                    }
                                    if (options.total_retry_time > 1000 * 60 * 60) {
                                        // End reconnecting after a specific timeout and flush all commands with a individual error
                                        return new Error('Retry time exhausted');
                                    }
                                    if (options.times_connected > 10) {
                                        // End reconnecting with built in error
                                        return undefined;
                                    }
                                    // reconnect after
                                    return Math.max(options.attempt * 100, 3000);*/
                                }
                        OBJECTS/OPTIONS/enableReadyCheck: true
                        OBJECTS/OPTIONS/host: 0.0.0.0
                        OBJECTS/OPTIONS/port: 9001
                        OBJECTS/OPTIONS/db: 0
                        OBJECTS/OPTIONS/family: 0
                        OBJECTS/OPTIONS/autoResubscribe: false
                        OBJECTS/OPTIONS/connectionName:
                        OBJECTS/dataDir: ../../iobroker-data/
                        OBJECTS/maxQueue: 1000
                        STATES/type: jsonl
                        STATES/host: 0.0.0.0
                        STATES/port: 9000
                        STATES/OPTIONS/retryStrategy: reconnectCount => {
                                    if (!ready && initError) {
                                        return new Error('No more tries');
                                    }
                                    if (this.stop) {
                                        return new Error('Client has stopped ... no retries anymore');
                                    }
                                    if (ready && reconnectCount >= retry_max_count) {
                                        return new Error('Stop trying to reconnect');
                                    }
                                    // A function that receives an options object as parameter including the retry attempt,
                                    // the total_retry_time indicating how much time passed since the last time connected,
                                    // the error why the connection was lost and the number of times_connected in total.
                                    // If you return a number from this function, the retry will happen exactly after that
                                    // time in milliseconds. If you return a non-number, no further retry will happen and
                                    // all offline commands are flushed with errors. Return an error to return that
                                    // specific error to all offline commands.
                        
                                    if (!ready) {
                                        return 300;
                                    }
                                    return retry_max_delay;
                                    /*if (options.error.code === 'ECONNREFUSED') {
                                        // End reconnecting on a specific error and flush all commands with a individual error
                                        return new Error('The server refused the connection');
                                    }
                                    if (options.total_retry_time > 1000 * 60 * 60) {
                                        // End reconnecting after a specific timeout and flush all commands with a individual error
                                        return new Error('Retry time exhausted');
                                    }
                                    if (options.times_connected > 10) {
                                        // End reconnecting with built in error
                                        return undefined;
                                    }
                                    // reconnect after
                                    return Math.max(options.attempt * 100, 3000);*/
                                }
                        STATES/OPTIONS/enableReadyCheck: true
                        STATES/OPTIONS/host: 0.0.0.0
                        STATES/OPTIONS/port: 9000
                        STATES/OPTIONS/db: 0
                        STATES/OPTIONS/family: 0
                        STATES/OPTIONS/autoResubscribe: false
                        STATES/OPTIONS/connectionName:
                        STATES/dataDir: ../../iobroker-data/
                        STATES/connectTimeout: 5000
                        STATES/maxQueue: 1000
                        LOG/level: info
                        LOG/maxDays: 7
                        LOG/TRANSPORT/FILE1/type: file
                        LOG/TRANSPORT/FILE1/enabled: true
                        LOG/TRANSPORT/FILE1/filename: log/iobroker
                        LOG/TRANSPORT/FILE1/fileext: .log
                        dataDir: ../../iobroker-data/
                        SYSTEM/hostname:
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @wendy2702 last edited by

                          @wendy2702

                          Welche Fehler?

                          Bei mir ist das wesentlich gesprächiger.
                          Unter anderem steht da sowas drin:

                          MULTIHOSTSERVICE/enabled: false
                          MULTIHOSTSERVICE/secure: true
                          MULTIHOSTSERVICE/password: $/aes-192-cbc:d506ffc0c4fdc9aa32ed3b79478cd755:1814842aadb4f78d501b978cbcd0ef56
                          MULTIHOSTSERVICE/persist: false
                          NETWORK/IPv4: true
                          NETWORK/IPv6: true
                          

                          Welcher js-controller und admin läuft da bei dir?

                          E wendy2702 2 Replies Last reply Reply Quote 0
                          • E
                            emil70 @Thomas Braun last edited by

                            @thomas-braun sagte in iob diag - Skript:

                            @wendy2702

                            Welche Fehler?

                            Bei mir ist das wesentlich gesprächiger.
                            Unter anderem steht da sowas drin:

                            MULTIHOSTSERVICE/enabled: false
                            MULTIHOSTSERVICE/secure: true
                            MULTIHOSTSERVICE/password: $/aes-192-cbc:d506ffc0c4fdc9aa32ed3b79478cd755:1814842aadb4f78d501b978cbcd0ef56
                            MULTIHOSTSERVICE/persist: false
                            NETWORK/IPv4: true
                            NETWORK/IPv6: true
                            

                            Welcher js-controller und admin läuft da bei dir?

                            bei mir steht da nur das drin

                            root@iobroker:/opt/iobroker# iobroker status all | grep MULTIHOSTSERVICE/enabled
                            MULTIHOSTSERVICE/enabled: false
                            root@iobroker:/opt/iobroker# 
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @emil70 last edited by

                              @emil70

                              Und das ist ein Multihost-System?

                              E 1 Reply Last reply Reply Quote 0
                              • E
                                emil70 @Thomas Braun last edited by

                                @thomas-braun sagte in iob diag - Skript:

                                @emil70

                                Und das ist ein Multihost-System?

                                Nein, wollte damit nur mitteilen, das bei mir weniger steht als bei dir. So wie ich das verstanden habe hast du auch kein Mutihorst

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • wendy2702
                                  wendy2702 @Thomas Braun last edited by

                                  @thomas-braun JS 4.0.24

                                  Admin 6.4.3

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @emil70 last edited by

                                    @emil70 sagte in iob diag - Skript:

                                    Nein, wollte damit nur mitteilen, das bei mir weniger steht als bei dir.

                                    Das ist klar, mit dem grep wird ja auch nur die interessante Zeile aus dem ganzen Wust an Informationen rausgepickt. Wenn du dir die vollständige Version von iobroker status all anschaust wird da auch mehr stehen.

                                    Die Frage ist mehr, warum bei @wendy2702 gar keine Werte dazu auffindbar sind.

                                    wendy2702 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @wendy2702 last edited by

                                      @wendy2702

                                      Ist ja aktueller Stand.
                                      Ich frickel hier mit js-controller 5.0.1-alpha.0-20230406-4552d569 herum.
                                      Ist das etwa damit erst eingeführt worden?

                                      1 Reply Last reply Reply Quote 0
                                      • wendy2702
                                        wendy2702 @Thomas Braun last edited by

                                        @thomas-braun mal auf einem Slave ausgeführt kommt die Multihost Info

                                        
                                        pi@pi-iobroker:~ $ iob status all
                                        iobroker is running on this host.
                                        
                                        At least one iobroker host is running.
                                        
                                        Instance "admin.0" is running
                                        Instance "admin.1" is running
                                        Instance "admin.2" is not running
                                        Instance "daswetter.0" is not running
                                        Instance "dwd.0" is not running
                                        Instance "email.0" is running
                                        Instance "enigma2.0" is running
                                        Instance "feiertage.0" is not running
                                        Instance "flot.0" is not running
                                        Instance "fritzbox.0" is running
                                        Instance "harmony.0" is running
                                        Instance "history.0" is running
                                        Instance "hm-rega.0" is running
                                        Instance "hm-rpc.0" is running
                                        Instance "hm-rpc.1" is running
                                        Instance "hm-rpc.2" is running
                                        Instance "hue.0" is running
                                        Instance "ical.0" is not running
                                        Instance "ical.1" is not running
                                        Instance "ical.2" is not running
                                        Instance "icons-addictive-flavour-png.0" is not running
                                        Instance "icons-fatcow-hosting.0" is not running
                                        Instance "icons-icons8.0" is not running
                                        Instance "icons-material-png.0" is not running
                                        Instance "icons-material-svg.0" is not running
                                        Instance "icons-mfd-png.0" is not running
                                        Instance "icons-mfd-svg.0" is not running
                                        Instance "icons-open-icon-library-png.0" is not running
                                        Instance "icons-ultimate-png.0" is not running
                                        Instance "javascript.0" is running
                                        Instance "javascript.1" is running
                                        Instance "javascript.2" is running
                                        Instance "js2fs.0" is not running
                                        Instance "modbus.0" is running
                                        Instance "modbus.2" is running
                                        Instance "modbus.3" is running
                                        Instance "modbus.4" is not running
                                        Instance "musiccast.0" is not running
                                        Instance "nut.0" is not running
                                        Instance "ping.0" is running
                                        Instance "rpi2.0" is not running
                                        Instance "rpi2.1" is not running
                                        Instance "sayit.0" is running
                                        Instance "simple-api.0" is running
                                        Instance "smartmeter.0" is running
                                        Instance "tankerkoenig.0" is running
                                        Instance "telegram.0" is running
                                        Instance "tr-064.0" is not running
                                        Instance "vis-bars.0" is not running
                                        Instance "vis-canvas-gauges.0" is not running
                                        Instance "vis-colorpicker.0" is not running
                                        Instance "vis-fancyswitch.0" is not running
                                        Instance "vis-google-fonts.0" is not running
                                        Instance "vis-hqwidgets.0" is not running
                                        Instance "vis-jqui-mfd.0" is not running
                                        Instance "vis-justgage.0" is not running
                                        Instance "vis-keyboard.0" is not running
                                        Instance "vis-metro.0" is not running
                                        Instance "vis-plumb.0" is not running
                                        Instance "vis-rgraph.0" is not running
                                        Instance "vis-timeandweather.0" is not running
                                        Instance "vis.0" is not running
                                        Instance "weatherunderground.0" is not running
                                        Instance "web.0" is running
                                        Instance "yahka.0" is running
                                        Instance "yahka.1" is running
                                        Instance "yamaha.0" is running
                                        Instance "yr.0" is not running
                                        Instance "yahka.2" is running
                                        Instance "trashschedule.0" is running
                                        Instance "vis-material-webfont.0" is not running
                                        Instance "vis-materialdesign.0" is not running
                                        Instance "vis-material.0" is not running
                                        Instance "influxdb.0" is running
                                        Instance "vis-inventwo.0" is running
                                        Instance "vis-icontwo.0" is not running
                                        Instance "yahka.3" is not running
                                        Instance "homeconnect.0" is not running
                                        Instance "hue-extended.0" is not running
                                        Instance "linux-control.0" is running
                                        Instance "yahka.4" is running
                                        Instance "socketio.0" is running
                                        Instance "birthdays.0" is not running
                                        Instance "birthdays.1" is not running
                                        Instance "pushover.0" is not running
                                        Instance "alias-manager.0" is not running
                                        Instance "discovery.0" is not running
                                        Instance "net-tools.0" is not running
                                        Instance "sayit.1" is not running
                                        Instance "modbus.5" is running
                                        Instance "enocean.0" is running
                                        Instance "modbus.1" is running
                                        Instance "shuttercontrol.0" is running
                                        Instance "energiefluss.0" is running
                                        Instance "ws.0" is running
                                        Instance "web.1" is running
                                        Instance "backitup.0" is not running
                                        Instance "modbus.6" is not running
                                        Instance "shelly.0" is running
                                        Instance "sourceanalytix.0" is running
                                        Instance "roborock.0" is not running
                                        Instance "vis-2-beta.0" is running
                                        Instance "vis-2-widgets-material.0" is not running
                                        Instance "vis-2-widgets-energy.0" is not running
                                        Instance "vis-2-widgets-gauges.0" is not running
                                        Instance "smartstate.0" is running
                                        Instance "smartmeter.1" is not running
                                        Instance "energiefluss.1" is not running
                                        
                                        SYSTEM/memoryLimitMB: 0
                                        SYSTEM/hostname:
                                        SYSTEM/statisticsInterval: 15000
                                        SYSTEM/checkDiskInterval: 300000
                                        SYSTEM/instanceStartInterval: 2000
                                        SYSTEM/compact: false
                                        SYSTEM/allowShellCommands: false
                                        SYSTEM/memLimitWarn: 100
                                        SYSTEM/memLimitError: 50
                                        MULTIHOSTSERVICE/enabled: false
                                        MULTIHOSTSERVICE/secure: true
                                        MULTIHOSTSERVICE/password:
                                        OBJECTS/type: jsonl
                                        OBJECTS/host: 192.168.178.18
                                        OBJECTS/port: 9001
                                        OBJECTS/noFileCache: false
                                        OBJECTS/maxQueue: 1000
                                        OBJECTS/connectTimeout: 5000
                                        OBJECTS/writeFileInterval: 5000
                                        OBJECTS/OPTIONS/retry_max_count: 19
                                        OBJECTS/OPTIONS/db: 0
                                        OBJECTS/OPTIONS/family: 0
                                        OBJECTS/OPTIONS/retryStrategy: reconnectCount => {
                                                    if (!ready && initError && ignoreErrors) {
                                                        return new Error('No more tries');
                                                    }
                                                    if (this.stop) {
                                                        return new Error('Client has stopped ... no retries anymore');
                                                    }
                                                    if (ready && reconnectCount >= retry_max_count) {
                                                        return new Error('Stop trying to reconnect');
                                                    }
                                                    // A function that receives an options object as parameter including the retry attempt,
                                                    // the total_retry_time indicating how much time passed since the last time connected,
                                                    // the error why the connection was lost and the number of times_connected in total.
                                                    // If you return a number from this function, the retry will happen exactly after that
                                                    // time in milliseconds. If you return a non-number, no further retry will happen and
                                                    // all offline commands are flushed with errors. Return an error to return that
                                                    // specific error to all offline commands.
                                        
                                                    if (!ready) {
                                                        return 300;
                                                    } else {
                                                        return retry_max_delay;
                                                    }
                                                    /*if (options.error.code === 'ECONNREFUSED') {
                                                        // End reconnecting on a specific error and flush all commands with a individual error
                                                        return new Error('The server refused the connection');
                                                    }
                                                    if (options.total_retry_time > 1000 * 60 * 60) {
                                                        // End reconnecting after a specific timeout and flush all commands with a individual error
                                                        return new Error('Retry time exhausted');
                                                    }
                                                    if (options.times_connected > 10) {
                                                        // End reconnecting with built in error
                                                        return undefined;
                                                    }
                                                    // reconnect after
                                                    return Math.max(options.attempt * 100, 3000);*/
                                                }
                                        OBJECTS/OPTIONS/enableReadyCheck: true
                                        OBJECTS/OPTIONS/host: 192.168.178.18
                                        OBJECTS/OPTIONS/port: 9001
                                        OBJECTS/OPTIONS/autoResubscribe: false
                                        OBJECTS/OPTIONS/connectionName:
                                        OBJECTS/BACKUP/disabled: false
                                        OBJECTS/BACKUP/files: 24
                                        OBJECTS/BACKUP/hours: 48
                                        OBJECTS/BACKUP/period: 120
                                        OBJECTS/BACKUP/path:
                                        STATES/type: jsonl
                                        STATES/host: 192.168.178.18
                                        STATES/port: 9000
                                        STATES/connectTimeout: 5000
                                        STATES/writeFileInterval: 30000
                                        STATES/OPTIONS/retry_max_count: 19
                                        STATES/OPTIONS/db: 0
                                        STATES/OPTIONS/family: 0
                                        STATES/OPTIONS/retryStrategy: reconnectCount => {
                                                    if (!ready && initError) {
                                                        return new Error('No more tries');
                                                    }
                                                    if (this.stop) {
                                                        return new Error('Client has stopped ... no retries anymore');
                                                    }
                                                    if (ready && reconnectCount >= retry_max_count) {
                                                        return new Error('Stop trying to reconnect');
                                                    }
                                                    // A function that receives an options object as parameter including the retry attempt,
                                                    // the total_retry_time indicating how much time passed since the last time connected,
                                                    // the error why the connection was lost and the number of times_connected in total.
                                                    // If you return a number from this function, the retry will happen exactly after that
                                                    // time in milliseconds. If you return a non-number, no further retry will happen and
                                                    // all offline commands are flushed with errors. Return an error to return that
                                                    // specific error to all offline commands.
                                        
                                                    if (!ready) {
                                                        return 300;
                                                    }
                                                    return retry_max_delay;
                                                    /*if (options.error.code === 'ECONNREFUSED') {
                                                        // End reconnecting on a specific error and flush all commands with a individual error
                                                        return new Error('The server refused the connection');
                                                    }
                                                    if (options.total_retry_time > 1000 * 60 * 60) {
                                                        // End reconnecting after a specific timeout and flush all commands with a individual error
                                                        return new Error('Retry time exhausted');
                                                    }
                                                    if (options.times_connected > 10) {
                                                        // End reconnecting with built in error
                                                        return undefined;
                                                    }
                                                    // reconnect after
                                                    return Math.max(options.attempt * 100, 3000);*/
                                                }
                                        STATES/OPTIONS/enableReadyCheck: true
                                        STATES/OPTIONS/host: 192.168.178.18
                                        STATES/OPTIONS/port: 9000
                                        STATES/OPTIONS/autoResubscribe: false
                                        STATES/OPTIONS/connectionName:
                                        STATES/BACKUP/disabled: false
                                        STATES/BACKUP/files: 24
                                        STATES/BACKUP/hours: 48
                                        STATES/BACKUP/period: 120
                                        STATES/BACKUP/path:
                                        STATES/maxQueue: 1000
                                        LOG/level: info
                                        LOG/maxDays: 7
                                        LOG/noStdout: true
                                        LOG/TRANSPORT/FILE1/type: file
                                        LOG/TRANSPORT/FILE1/enabled: true
                                        LOG/TRANSPORT/FILE1/filename: log/iobroker
                                        LOG/TRANSPORT/FILE1/fileext: .log
                                        LOG/TRANSPORT/SYSLOG1/type: syslog
                                        LOG/TRANSPORT/SYSLOG1/enabled: false
                                        LOG/TRANSPORT/SYSLOG1/host: localhost
                                        LOG/TRANSPORT/SYSLOG1/protocol: udp4
                                        LOG/TRANSPORT/SYSLOG1/localhost: iobroker
                                        LOG/TRANSPORT/SEQ1/type: seq
                                        LOG/TRANSPORT/SEQ1/enabled: false
                                        LOG/TRANSPORT/SEQ1/serverUrl: http://IP:PORT
                                        LOG/TRANSPORT/SEQ1/apiKey:
                                        dataDir: ../../iobroker-data/
                                        
                                        
                                        bahnuhr Thomas Braun 2 Replies Last reply Reply Quote 0
                                        • bahnuhr
                                          bahnuhr Forum Testing Most Active @wendy2702 last edited by

                                          @wendy2702
                                          Warum hast du 3 admin ?
                                          Nur mal so zur Info.

                                          wendy2702 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @wendy2702 last edited by

                                            @wendy2702

                                            Aber auch mit false.
                                            Schade, ich hatte gedacht/erwartet, man könnte damit ein Multihost-Setup erkennen.

                                            bahnuhr 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            898
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            738
                                            149042
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo