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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    (Gelöst) Auslesen ioBroker Hosts Systeminformationen?

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                            • liv-in-sky
                              liv-in-sky @Oli last edited by

                              @oli

                              du könntest aucch auf der git seite von buanet nachfragen, wie du daran kommst

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

                                @liv-in-sky iobroker.admin
                                b35799bb-d456-4de6-bad5-784728c8577f-image.png

                                liv-in-sky 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Homoran last edited by

                                  @homoran

                                  Gar nicht. Der gesuchte String ist nicht aus iob diag, oder?

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

                                    @thomas-braun
                                    hier doch
                                    https://forum.iobroker.net/post/1164765

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

                                      @mcu wo hast du das hergezaubert ?

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

                                        @liv-in-sky
                                        https://github.com/ioBroker/ioBroker.admin/blob/master/packages/admin/src/src/tabs/Hosts.tsx#L122

                                        Es wäre sinnvoll ein Feature Request für iobroker.js-controller zu erstellen, so dass auch die Docker Infos in dem richtigen OS-Pfad landen?

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

                                          @mcu

                                          aber ich finde die info nicht - ist die unter system.adapter.admin ?

                                          ich habe proxmox, daher kann ich nicht suchen

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

                                            @liv-in-sky Nein. Das war nur ein Hinweis, wo es im Admin gesetzt wird. Da kommt man aber so nicht dran.
                                            Deswegen ist da ein Feature Request für den js-controller bzw. Admin sinnvoll.
                                            Je nach dem wer die Daten in die system-Pfade schreibt.

                                            liv-in-sky 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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