Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. jarvis v2.2.0 - just another remarkable vis

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    jarvis v2.2.0 - just another remarkable vis

    This topic has been deleted. Only users with topic management privileges can see it.
    • Sebastian IO
      Sebastian IO @MCU last edited by Sebastian IO

      @mcu das ist so ne programmierkrankeit. Ich will keine function aufrufen die prùft ob state existiert oder nicht, falls es nicht nõtig ist. 😉 Fast vergessen die Datenpunkte werden nur unter dem tree Userdata angelegt.

      1 Reply Last reply Reply Quote 0
      • H
        Hansi1234 @MCU last edited by

        @mcu said in jarvis v2.2.0 - just another remarkable vis:

        [{"title":"","tabs":[{"id":"home0","title":"HOME","icon":"home","columns":[[{"moduleConfig":{},"devices":[{"type":"device","deviceId":"TEST1","bodyStateKey":"test","bodyElement":"LastChangeBody","primaryStateKey":"test","showState":true,"actionElement":null}],"module":"StateList","title":"Test","id":"TEST2","index":0}],[],[]],"index":0},{"id":"tabhinzufügen1","title":"INFO","icon":"home","columns":[[],[],[]],"index":1}],"id":"0","index":0}]

        Das hat funktioniert. Danke

        Hätte noch eine Frage.
        Ich habe ein Fenster/Türenscript am Laufen, welche mir anzeigt wieviele Fenster/Türen offen sind. Ein weiteres Script erstellt mir die Anzeige, welche Fenster genau geöffnet sind und wenn keine offen sind, wird zB "Kein Fenster geöffnet" angezeigt.
        Wie stelle ich bei einem geöffnetem Fenster ein, dass es rot geschrieben wird und wenn alles zu ist, dass es grün geschrieben wird?
        In VIS habe ich dazu extra ein Script laufen.

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

          @hansi1234 Wie sehen denn die Werte aus, die in dem Datenpunkt erscheinen? Du hast ja zwei Datenpunkte (Anzahl und Beschreibung). Kommt jetzt darauf an, was do wo angezeigt haben möchtest, Beispiele:

          e40fc8ca-dba2-422a-a3a6-e495fc4732dc-image.png

          Falls es sich um eine Zahl handelt:

          {"0":"Keine Fenster geöffnet"}
          

          Text:

          {"":"Keine Fenster geöffnet"}
          

          be1eaa59-f54b-4e85-8577-c92610b3230c-image.png

          Falls es sich um eine Zahl handelt:

          {"0":{"color":"green"},">0":{"color":"red"}}
          

          Text:

          {"":{"color":"green"},"default":{"color":"red"}}
          
          H 1 Reply Last reply Reply Quote 0
          • H
            Hansi1234 @MCU last edited by

            @mcu said in jarvis v2.2.0 - just another remarkable vis:

            {"0":{"color":"green"},">0":{"color":"red"}}

            Die Datenpunkte sehen so aus:
            mc.JPG

            ICh hätte gerne in grüner Farbe "Keine Tür geöffnet". Wenn etwas geöffnet ist, dann in Rot.
            Ist das möglich?

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

              @hansi1234 Bei dem Datenpunkt statusdooropentext entsprechend den Inhalt eintragen und color green zuweisen.

              {"Keine Tür/Tor geöffnet":{"color":"green"}}
              
              H 1 Reply Last reply Reply Quote 0
              • H
                Hansi1234 @MCU last edited by

                @mcu said in jarvis v2.2.0 - just another remarkable vis:

                :{"color":"green"}}

                wo genau? Bei "Anzeigevariante JSON-Format"?

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

                  @hansi1234 Nein. Bei Datenpunkt Stil.

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    Hansi1234 @MCU last edited by

                    @mcu bleibt leider weiß

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

                      @hansi1234 Zeig mal die Einträge.

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        Hansi1234 @MCU last edited by

                        @mcu mc.JPG

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

                          @hansi1234 Ist im Datenpunkt evtl. noch ein Leerzeichen dahinter?

                          0f45eb41-03ec-41fe-8d53-d0ceca579800-image.png
                          435d8383-8d19-4c11-965a-2c836cde3e27-image.png
                          58119c6c-d930-4b00-a2cd-e3b11cbaf3ba-image.png
                          58d52b8a-a774-4400-9f01-97d992bc58e2-image.png
                          4029457f-a91e-48ad-bad9-b9ac92bbacbf-image.png

                          H 1 Reply Last reply Reply Quote 0
                          • H
                            Hansi1234 @MCU last edited by

                            @mcu ne, davor auch nicht

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

                              @hansi1234 Hab es auch mit Deinem Text probiert:
                              909beb12-c44c-4536-bc0f-08cad0ae6003-image.png
                              2687664f-396e-44cb-b24d-1e5472abf6a1-image.png
                              Was für einen Type haben Deine Objekte?
                              8b1d1408-32c1-49d2-8dcc-b0b94cd2f2ae-image.png

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                Hansi1234 @MCU last edited by Hansi1234

                                @mcu ```

                                {
                                  "from": "system.adapter.admin.0",
                                  "user": "system.user.admin",
                                  "ts": 1565192448688,
                                  "common": {
                                    "name": "Datenpunkte.0.StatusWindowOpenText",
                                    "role": "",
                                    "type": "string",
                                    "desc": "Manuell erzeugt",
                                    "def": "",
                                    "read": true,
                                    "write": true
                                  },
                                  "native": {},
                                  "acl": {
                                    "object": 1638,
                                    "owner": "system.user.admin",
                                    "ownerGroup": "system.group.administrator",
                                    "state": 1638
                                  },
                                  "_id": "Datenpunkte.0.StatusWindowOpenText",
                                  "type": "state"
                                }
                                
                                1 Reply Last reply Reply Quote 0
                                • M
                                  MCU last edited by

                                  @hansi1234 Versuch mit role="state"

                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    Hansi1234 @MCU last edited by

                                    @mcu bringt leider nichts

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tchristian last edited by

                                      Hallo,

                                      ich bin noch recht neu in ioBroker und Jarvis, mache mich mittlerweile aber ganz gut.
                                      Über Deconz sind die Xiaomi Fenstersensoren eingebunden. Klappt gut - nur steht nach Bewegung "an / aus" statt offen und geschlossen.
                                      Wenn ich die Seite manuell "reloade" passt es wieder.
                                      Hab ich irgendwo was übersehen?

                                      Screenshot 2021-03-09 190843.jpg

                                      Danke und viele Grüße!

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

                                        @tchristian Zeig mal bitte die Einstellungen zum Gerät Eingangstür.

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

                                          @Zefau 2.2.0
                                          Es wird "Tage" angezeigt, obwohl im Datenpunkt eine 1 steht und dies als "" angezeigt werden soll:

                                          cf7f5b44-a09a-4b00-8444-c5d5c92f855b-image.png

                                          Falsche Darstellung:

                                          b10dbfd4-da26-473c-8525-b32d00ecc184-image.png

                                          2782fbc2-596c-434c-9422-417359ac3ea0-image.png

                                          stephan1827 P-Ray 2 Replies Last reply Reply Quote 0
                                          • stephan1827
                                            stephan1827 @MCU last edited by

                                            Weiß eigentlich jemand von @Zefau hin ist? Der hat seit zwei Wochen nicht mehr geantwortet und auf Github ist seitdem auch nichts mehr passiert. Nicht das ich ihm nicht eine Pause gönne aber das ist schon ungewöhnlich...

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            746
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            jarvis material material ui materialdesign vis visualisierung visualization
                                            316
                                            6126
                                            3321909
                                            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