Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. Skripten / Logik
  4. Blockly
  5. Adapter-Status mit Blockly JSON auslesen

NEWS

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

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

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

Adapter-Status mit Blockly JSON auslesen

Geplant Angeheftet Gesperrt Verschoben Gelöst Blockly
9 Beiträge 3 Kommentatoren 675 Aufrufe 1 Beobachtet
  • Ä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.
  • D Offline
    D Offline
    djsirius
    schrieb am zuletzt editiert von
    #1

    Re: Material Design Widgets: Adapter Status

    Moin!

    Kann ich per Blockly aus der jsonList einzelne Informationen rausziehen?

    Kann mir vielleicht jemand ein Beispiel posten?

    Vielen Dank!

    Gruß

    djsirius

    HomoranH 1 Antwort Letzte Antwort
    0
    • D djsirius

      @homoran

      [
        {
          "text": "<div style=\"display: flex; flex-direction: row; line-height: 1.5; padding-right: 8px; align-items: center;\">\n                            <div style=\"flex: 1\"> Javascript</div>\n                            <div style=\"color: grey; font-size: 12px; font-family: RobotoCondensed-LightItalic;\">v7.0.3</div>\n                        </div>",
          "subText": "<div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">CPU</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">6.27 %</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM total</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">225.76 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM verwendet</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">209.09 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM reserviert</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">373.29 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Betriebszeit</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">10h 54m</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Modus</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">daemon</div>\n                            </div>",
          "image": "/javascript.admin/javascript.png",
          "listType": "buttonState",
          "objectId": "0_userdata.0.vis.AdapterStatus.restartTrigger",
          "buttonStateValue": "system.adapter.javascript.0",
          "statusBarColor": "green",
          "showValueLabel": false,
          "name": "Javascript",
          "mode": "daemon",
          "hasUpdates": false,
          "cpu": 6.27,
          "memHeapTotal": 225.76,
          "memHeapUsed": 209.09,
          "memRss": 373.29,
          "uptime": 39229,
          "status": 0,
          "lockEnabled": true
        },
        {
          "text": "<div style=\"display: flex; flex-direction: row; line-height: 1.5; padding-right: 8px; align-items: center;\">\n                            <div style=\"flex: 1\"> Admin</div>\n                            <div style=\"color: grey; font-size: 12px; font-family: RobotoCondensed-LightItalic;\">v6.8.0</div>\n                        </div>",
          "subText": "<div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">CPU</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">0.07 %</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM total</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">63.83 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM verwendet</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">59.98 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM reserviert</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">182.55 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Betriebszeit</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">11T 23h 41m</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Modus</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">daemon</div>\n                            </div>",
          "image": "/admin.admin/admin.png",
          "listType": "buttonState",
          "objectId": "0_userdata.0.vis.AdapterStatus.restartTrigger",
          "buttonStateValue": "system.adapter.admin.0",
          "statusBarColor": "green",
          "showValueLabel": false,
          "name": "Admin",
          "mode": "daemon",
          "hasUpdates": false,
          "cpu": 0.07,
          "memHeapTotal": 63.83,
          "memHeapUsed": 59.98,
          "memRss": 182.55,
          "uptime": 1035634,
          "status": 0,
          "lockEnabled": true
        },
      
      paul53P Offline
      paul53P Offline
      paul53
      schrieb am zuletzt editiert von paul53
      #9

      @djsirius
      Weshalb die Informationen über den Umweg Widget-JSON auslesen? Sie liegen auch als Datenpunkte unter "system.adapter.adaptername.N" vor.

      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

      1 Antwort Letzte Antwort
      2
      • D djsirius

        Re: Material Design Widgets: Adapter Status

        Moin!

        Kann ich per Blockly aus der jsonList einzelne Informationen rausziehen?

        Kann mir vielleicht jemand ein Beispiel posten?

        Vielen Dank!

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

        @djsirius sagte in Adapter-Status mit Blockly JSON auslesen:

        aus der jsonList

        wie sieht die aus?

        geht es so
        https://forum.iobroker.net/post/1043801
        oder ähnlich?

        bitte mehr Informationen!
        https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

        kein Support per PN! - Fragen im Forum stellen -
        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        D 1 Antwort Letzte Antwort
        1
        • HomoranH Homoran

          @djsirius sagte in Adapter-Status mit Blockly JSON auslesen:

          aus der jsonList

          wie sieht die aus?

          geht es so
          https://forum.iobroker.net/post/1043801
          oder ähnlich?

          bitte mehr Informationen!
          https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

          D Offline
          D Offline
          djsirius
          schrieb am zuletzt editiert von djsirius
          #3

          @homoran Sorry, das habe ich total vergessen! 😕

          Es geht um diese JSON [https://forum.iobroker.net/topic/30661/material-design-widgets-adapter-status/1](link url)

          Gruß

          djsirius

          HomoranH 1 Antwort Letzte Antwort
          0
          • D djsirius

            @homoran Sorry, das habe ich total vergessen! 😕

            Es geht um diese JSON [https://forum.iobroker.net/topic/30661/material-design-widgets-adapter-status/1](link url)

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

            @djsirius was ist das? der link geht hierhin

            Screenshot_20230915-112221_Firefox.jpg

            wo ist das JSON?
            warum postest du es nicht hier, wo du fragst?

            kein Support per PN! - Fragen im Forum stellen -
            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
            Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            D 1 Antwort Letzte Antwort
            0
            • HomoranH Homoran

              @djsirius was ist das? der link geht hierhin

              Screenshot_20230915-112221_Firefox.jpg

              wo ist das JSON?
              warum postest du es nicht hier, wo du fragst?

              D Offline
              D Offline
              djsirius
              schrieb am zuletzt editiert von
              #5

              @homoran du musst unter dem 1. Post gucken (habe meinen Link geändert). Dort ist ein Skript welches eine JSON erzeugt.

              Gruß

              djsirius

              HomoranH 1 Antwort Letzte Antwort
              0
              • D djsirius

                @homoran du musst unter dem 1. Post gucken (habe meinen Link geändert). Dort ist ein Skript welches eine JSON erzeugt.

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

                @djsirius sagte in Adapter-Status mit Blockly JSON auslesen:

                du musst

                muss ich?

                bitte poste hier dein JSON.

                kein Support per PN! - Fragen im Forum stellen -
                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                D 1 Antwort Letzte Antwort
                1
                • HomoranH Homoran

                  @djsirius sagte in Adapter-Status mit Blockly JSON auslesen:

                  du musst

                  muss ich?

                  bitte poste hier dein JSON.

                  D Offline
                  D Offline
                  djsirius
                  schrieb am zuletzt editiert von
                  #7

                  @homoran

                  [
                    {
                      "text": "<div style=\"display: flex; flex-direction: row; line-height: 1.5; padding-right: 8px; align-items: center;\">\n                            <div style=\"flex: 1\"> Javascript</div>\n                            <div style=\"color: grey; font-size: 12px; font-family: RobotoCondensed-LightItalic;\">v7.0.3</div>\n                        </div>",
                      "subText": "<div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">CPU</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">6.27 %</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM total</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">225.76 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM verwendet</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">209.09 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM reserviert</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">373.29 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Betriebszeit</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">10h 54m</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Modus</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">daemon</div>\n                            </div>",
                      "image": "/javascript.admin/javascript.png",
                      "listType": "buttonState",
                      "objectId": "0_userdata.0.vis.AdapterStatus.restartTrigger",
                      "buttonStateValue": "system.adapter.javascript.0",
                      "statusBarColor": "green",
                      "showValueLabel": false,
                      "name": "Javascript",
                      "mode": "daemon",
                      "hasUpdates": false,
                      "cpu": 6.27,
                      "memHeapTotal": 225.76,
                      "memHeapUsed": 209.09,
                      "memRss": 373.29,
                      "uptime": 39229,
                      "status": 0,
                      "lockEnabled": true
                    },
                    {
                      "text": "<div style=\"display: flex; flex-direction: row; line-height: 1.5; padding-right: 8px; align-items: center;\">\n                            <div style=\"flex: 1\"> Admin</div>\n                            <div style=\"color: grey; font-size: 12px; font-family: RobotoCondensed-LightItalic;\">v6.8.0</div>\n                        </div>",
                      "subText": "<div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">CPU</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">0.07 %</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM total</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">63.83 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM verwendet</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">59.98 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM reserviert</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">182.55 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Betriebszeit</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">11T 23h 41m</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Modus</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">daemon</div>\n                            </div>",
                      "image": "/admin.admin/admin.png",
                      "listType": "buttonState",
                      "objectId": "0_userdata.0.vis.AdapterStatus.restartTrigger",
                      "buttonStateValue": "system.adapter.admin.0",
                      "statusBarColor": "green",
                      "showValueLabel": false,
                      "name": "Admin",
                      "mode": "daemon",
                      "hasUpdates": false,
                      "cpu": 0.07,
                      "memHeapTotal": 63.83,
                      "memHeapUsed": 59.98,
                      "memRss": 182.55,
                      "uptime": 1035634,
                      "status": 0,
                      "lockEnabled": true
                    },
                  

                  Gruß

                  djsirius

                  HomoranH paul53P 2 Antworten Letzte Antwort
                  0
                  • D djsirius

                    @homoran

                    [
                      {
                        "text": "<div style=\"display: flex; flex-direction: row; line-height: 1.5; padding-right: 8px; align-items: center;\">\n                            <div style=\"flex: 1\"> Javascript</div>\n                            <div style=\"color: grey; font-size: 12px; font-family: RobotoCondensed-LightItalic;\">v7.0.3</div>\n                        </div>",
                        "subText": "<div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">CPU</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">6.27 %</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM total</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">225.76 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM verwendet</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">209.09 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM reserviert</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">373.29 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Betriebszeit</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">10h 54m</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Modus</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">daemon</div>\n                            </div>",
                        "image": "/javascript.admin/javascript.png",
                        "listType": "buttonState",
                        "objectId": "0_userdata.0.vis.AdapterStatus.restartTrigger",
                        "buttonStateValue": "system.adapter.javascript.0",
                        "statusBarColor": "green",
                        "showValueLabel": false,
                        "name": "Javascript",
                        "mode": "daemon",
                        "hasUpdates": false,
                        "cpu": 6.27,
                        "memHeapTotal": 225.76,
                        "memHeapUsed": 209.09,
                        "memRss": 373.29,
                        "uptime": 39229,
                        "status": 0,
                        "lockEnabled": true
                      },
                      {
                        "text": "<div style=\"display: flex; flex-direction: row; line-height: 1.5; padding-right: 8px; align-items: center;\">\n                            <div style=\"flex: 1\"> Admin</div>\n                            <div style=\"color: grey; font-size: 12px; font-family: RobotoCondensed-LightItalic;\">v6.8.0</div>\n                        </div>",
                        "subText": "<div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">CPU</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">0.07 %</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM total</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">63.83 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM verwendet</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">59.98 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM reserviert</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">182.55 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Betriebszeit</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">11T 23h 41m</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Modus</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">daemon</div>\n                            </div>",
                        "image": "/admin.admin/admin.png",
                        "listType": "buttonState",
                        "objectId": "0_userdata.0.vis.AdapterStatus.restartTrigger",
                        "buttonStateValue": "system.adapter.admin.0",
                        "statusBarColor": "green",
                        "showValueLabel": false,
                        "name": "Admin",
                        "mode": "daemon",
                        "hasUpdates": false,
                        "cpu": 0.07,
                        "memHeapTotal": 63.83,
                        "memHeapUsed": 59.98,
                        "memRss": 182.55,
                        "uptime": 1035634,
                        "status": 0,
                        "lockEnabled": true
                      },
                    
                    HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von Homoran
                    #8

                    @djsirius das ist kein (gültiges) JSON

                    Screenshot_20230915-113813_Firefox.jpg

                    Wenn ich deine bisherige Informationen richtig deute

                    @djsirius sagte in Adapter-Status mit Blockly JSON auslesen:

                    Dort ist ein Skript welches eine JSON erzeugt.

                    generierst du erst ein JSON per Skript, um es dann wieder per Skript zu zerlegen!??

                    EDIT:
                    Nach Entfernen einiger Zeichen sehe ich jetzt das hier
                    Screenshot_20230915-114118_Firefox.jpg

                    ob das auch dass ist, was wirklich vorliegt musst du mir sagen

                    kein Support per PN! - Fragen im Forum stellen -
                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                    Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    1 Antwort Letzte Antwort
                    0
                    • D djsirius

                      @homoran

                      [
                        {
                          "text": "<div style=\"display: flex; flex-direction: row; line-height: 1.5; padding-right: 8px; align-items: center;\">\n                            <div style=\"flex: 1\"> Javascript</div>\n                            <div style=\"color: grey; font-size: 12px; font-family: RobotoCondensed-LightItalic;\">v7.0.3</div>\n                        </div>",
                          "subText": "<div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">CPU</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">6.27 %</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM total</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">225.76 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM verwendet</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">209.09 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM reserviert</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">373.29 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Betriebszeit</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">10h 54m</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Modus</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">daemon</div>\n                            </div>",
                          "image": "/javascript.admin/javascript.png",
                          "listType": "buttonState",
                          "objectId": "0_userdata.0.vis.AdapterStatus.restartTrigger",
                          "buttonStateValue": "system.adapter.javascript.0",
                          "statusBarColor": "green",
                          "showValueLabel": false,
                          "name": "Javascript",
                          "mode": "daemon",
                          "hasUpdates": false,
                          "cpu": 6.27,
                          "memHeapTotal": 225.76,
                          "memHeapUsed": 209.09,
                          "memRss": 373.29,
                          "uptime": 39229,
                          "status": 0,
                          "lockEnabled": true
                        },
                        {
                          "text": "<div style=\"display: flex; flex-direction: row; line-height: 1.5; padding-right: 8px; align-items: center;\">\n                            <div style=\"flex: 1\"> Admin</div>\n                            <div style=\"color: grey; font-size: 12px; font-family: RobotoCondensed-LightItalic;\">v6.8.0</div>\n                        </div>",
                          "subText": "<div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">CPU</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">0.07 %</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM total</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">63.83 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM verwendet</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">59.98 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">RAM reserviert</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">182.55 MB</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Betriebszeit</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">11T 23h 41m</div>\n                            </div>\n                            <div style=\"display: flex; flex-direction: row; line-height: 1.3; padding-left: 1px; padding-right: 8px; align-items: center;\">\n                                <div style=\"flex: 1;\">Modus</div>\n                                <div style=\"color: grey; font-size: 14px; font-family: RobotoCondensed-LightItalic; text-align: right;\">daemon</div>\n                            </div>",
                          "image": "/admin.admin/admin.png",
                          "listType": "buttonState",
                          "objectId": "0_userdata.0.vis.AdapterStatus.restartTrigger",
                          "buttonStateValue": "system.adapter.admin.0",
                          "statusBarColor": "green",
                          "showValueLabel": false,
                          "name": "Admin",
                          "mode": "daemon",
                          "hasUpdates": false,
                          "cpu": 0.07,
                          "memHeapTotal": 63.83,
                          "memHeapUsed": 59.98,
                          "memRss": 182.55,
                          "uptime": 1035634,
                          "status": 0,
                          "lockEnabled": true
                        },
                      
                      paul53P Offline
                      paul53P Offline
                      paul53
                      schrieb am zuletzt editiert von paul53
                      #9

                      @djsirius
                      Weshalb die Informationen über den Umweg Widget-JSON auslesen? Sie liegen auch als Datenpunkte unter "system.adapter.adaptername.N" vor.

                      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

                      1 Antwort Letzte Antwort
                      2

                      Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                      Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                      Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                      Registrieren Anmelden
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      558

                      Online

                      32.8k

                      Benutzer

                      82.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