Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. (Gelöst) Auslesen ioBroker Hosts Systeminformationen?

    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

    (Gelöst) Auslesen ioBroker Hosts Systeminformationen?

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @Oli last edited by

      @oli

      was macht:

      log(getObject('system.host.iobroker59').native.os.release])
      
      O 1 Reply Last reply Reply Quote 0
      • O
        Oli @liv-in-sky last edited by

        @liv-in-sky

        bringt folgende Ergebnis 5.10.60-qnap

        Die Dockerversion ist in den Objektdaten allerdings auch nicht aufgeführt

        liv-in-sky 2 Replies Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @Oli last edited by

          @oli
          dann müßtst du es über exec() mit einem linux befehl rausholen

          1 Reply Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @Oli last edited by liv-in-sky

            @oli

            der befehl sollte hier irgendwo dabei sein

            Image 055.png

            z.b. uname -m

            dieser teil ist aus dem befehl iob diag - wenn du den auf der console ausgibts, müßte das dort erscheinen - habe kein docker-spielzeug 🙂 daher keine ahnung darüber

            O 1 Reply Last reply Reply Quote 1
            • O
              Oli @liv-in-sky last edited by

              @liv-in-sky
              danke werde ich testen

              liv-in-sky 1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @Oli last edited by

                @oli ich denke, uname -m wird es nicht sein - leider weiß ich nicht, wie das geht

                wo hast du

                Plattform: docker (official image - v9.1.1)
                

                her ?

                O 1 Reply Last reply Reply Quote 0
                • O
                  Oli @liv-in-sky last edited by

                  @liv-in-sky

                  das steht bei mir im Tab "Hosts", wenn ich diesen aufklappe

                  liv-in-sky 1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @Oli last edited by liv-in-sky

                    @oli

                    geh mal (markiere) in den objecten auf system.host.iobroker59 (natürlich nicht iobroker59 sondern dein name)

                    dann auf exportieren

                    Image 058.png

                    und poste das file

                    O 1 Reply Last reply Reply Quote 0
                    • O
                      Oli @liv-in-sky last edited by

                      @liv-in-sky
                      aber gerne doch

                      system.host.ioBroker.json

                      liv-in-sky 2 Replies Last reply Reply Quote 0
                      • liv-in-sky
                        liv-in-sky @Oli last edited by

                        @oli

                        ja - da steht es nicht drin - dann ???

                        1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @Oli last edited by

                          @oli

                          zeig mal noch ein bild:

                          Image 061.png

                          O 1 Reply Last reply Reply Quote 0
                          • O
                            Oli @liv-in-sky last edited by

                            @liv-in-sky

                            f66cae56-408e-4ecd-b443-0621f2dbcc29-image.png

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              MCU @Oli last edited by

                              @oli Versuch mal

                              const os = require('os');
                              log(os.platform())
                              
                              liv-in-sky O 2 Replies Last reply Reply Quote 0
                              • liv-in-sky
                                liv-in-sky @MCU last edited by

                                @mcu endlich ein helfer 🙂 hätte keine ahnung, wo das sein soll

                                1 Reply Last reply Reply Quote 0
                                • O
                                  Oli @MCU last edited by

                                  @mcu

                                  damit bekomme ich leider auch nur linux als Ergebnis, aber nicht docker (official image - v9.1.1)

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    MCU @Oli last edited by

                                    @oli Ist hier was dabei?

                                    const os = require('os');
                                    log(os.platform())
                                    log(os.arch())
                                    log(os.release())
                                    log(os.hostname())
                                    log(os.cpus())
                                    log(os.totalmem())
                                    log(os.freemem())
                                    log(os.uptime())
                                    log(os.networkInterfaces())
                                    log(os.homedir())
                                    log(os.tmpdir())
                                    log(os.type())
                                    log(os.endianness())
                                    
                                    
                                    Homoran 2 Replies Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @MCU last edited by

                                      @mcu war das nicht in dem Export dabei?

                                            "os": {
                                              "hostname": "ioBroker",
                                              "type": "Linux",
                                              "platform": "linux",
                                              "arch": "x64",
                                              "release": "5.10.60-qnap",
                                              "endianness": "LE",
                                              "tmpdir": "/tmp"
                                      

                                      Ausschnitt!

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        MCU @Homoran last edited by MCU

                                        @homoran Doch, aber es nicht das Gesuchte.
                                        04af0e97-c498-4745-9cf7-cada3000f990-image.png
                                        Was er möchte ist
                                        81b6a113-140b-4b40-b862-cf8d612e1f88-image.png

                                        O 1 Reply Last reply Reply Quote 0
                                        • O
                                          Oli @MCU last edited by

                                          @mcu

                                          erstmal danke für deine Unterstützung,

                                          da ist alles mögliche dabei aber leider nicht das was ich suche

                                          liv-in-sky M 2 Replies Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @MCU last edited by

                                            @mcu

                                            @mcu sagte in Auslesen ioBroker Hosts Systeminformationen?:

                                            aber es nicht das Gesuchte.

                                            das weiss ich auch 😂
                                            Aber dann kann man sich das ja sparen.

                                            ich hab keine Ahnung wie das in die system.host kommt, und wie @thomas-braun das ausliest.

                                            @Oli hat ja die linux Befehle noch nicht getestet

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            944
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            blockly javascript
                                            7
                                            53
                                            1964
                                            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