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 @Glasfaser last edited by

      @glasfaser sagte in iob diag - Skript:

      iob list objects | wc -l
      und
      iob repo list

      hab ich drin.

      Mit den Datenbankgrößen muss ich mal schauen, das möchte ich unabhängig vom Typ haben.

      Glasfaser 1 Reply Last reply Reply Quote 1
      • Homoran
        Homoran Global Moderator Administrators last edited by

        @thomas-braun sagte in iob diag - Skript:

        das möchte ich unabhängig vom Typ haben.

        also erst über status den typ erfragen und dann spezifisch gesplittet abfragen

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

          @Homoran

          @homoran sagte in iob diag - Skript:
          @glasfaser sagte in iob diag - Skript:

          jsonl Größe

          hab noch file und nu?

          und das

          ls -lh /opt/iobroker/iobroker-data/objects.*
          
          1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Thomas Braun last edited by Glasfaser

            @thomas-braun sagte in iob diag - Skript:

            iob list objects | wc -l

            Die Abfrage kann dauern , daher würde ich etwas an Info einbauen ...

            viele werden sonst ungeduldig ....

            Adapter    "uv-protect"   : 0.3.7    , installed 0.3.6  [Updatable]
            
            Zahl der Objekte: \t41902
            *** User und Gruppen ***
            

            wo kommt denn das \t her .

            Thomas Braun 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Glasfaser last edited by Thomas Braun

              @glasfaser sagte in iob diag - Skript:

              viele werden sonst ungeduldig ....

              Hab einen Hinweis drin.

              wo kommt denn das \t her .

              Das ist ein TAB-Stop. Sollte jetzt verarbeitet werden.

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

                @thomas-braun

                Adapter    "uv-protect"   : 0.3.7    , installed 0.3.6  [Updatable]
                
                Es wird die Zahl der Objekte ermittelt - Dies kann etwas dauern.
                Zahl der Objekte:       41902
                
                *** User und Gruppen ***
                

                👍

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

                  @glasfaser sagte in iob diag - Skript:

                  viele werden sonst ungeduldig ....

                  Altes bash skript ist ja kein D-Zug... 🚅

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

                    Langsam muss man fast aufpassen, dass es nicht zu lang wird.
                    Wieviele Zeichen passen in die CodeTags im Forum rein? 😄

                    Glasfaser 2 Replies Last reply Reply Quote 1
                    • Glasfaser
                      Glasfaser @Thomas Braun last edited by

                      @thomas-braun sagte in iob diag - Skript:

                      Wieviele Zeichen passen in die CodeTags im Forum rein?

                      Vorschlag ... Screenshot mit Lupenfunktion ...

                      da freut sich immer @Homoran an seinem Handy / Tablet

                      duch .. und weg 🙂

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

                        @glasfaser

                        Screenshot aus einem Pager und dann automatisiert seitenweise bei einem Imagehoster hochladen.

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

                          @thomas-braun

                          Ich hab noch etwas ....

                          Diese Info´s bekommt man immer mitten im Thread ..... vom User mittgeteilt .

                          multihost ....

                          iob multihost status
                          
                          R 1 Reply Last reply Reply Quote 2
                          • R
                            reutli @Glasfaser last edited by reutli

                            @glasfaser

                            Stiiiiiimmmmtt! Guter Beitrag!

                            Bekomme aber trotz Multihost-Umgebung keine richtige Aussage/-gabe?!:

                            admin@macmini-iobroker:~$ iob multihost status
                            No configuration change needed.
                            
                            
                            Multihost discovery server: disabled
                            Discovery authentication:   enabled
                            Persistent activation:      disabled
                            Objects:                    jsonl on 0.0.0.0
                            States:                     jsonl on 0.0.0.0
                            

                            Auf dem Slave aber schon (zumindest ein Hinweis auf Master):

                            pi@iobroker2:~ $ iob multihost status
                            No configuration change needed.
                            
                            
                            Multihost discovery server: disabled
                            Discovery authentication:   enabled
                            Persistent activation:      disabled
                            Objects:                    jsonl on 192.168.200.5
                            States:                     jsonl on 192.168.200.5
                            
                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @reutli last edited by

                              @reutli sagte in iob diag - Skript:

                              iob multihost status

                              Gibt es den Befehl dafür?

                              R 1 Reply Last reply Reply Quote 0
                              • R
                                reutli @Homoran last edited by reutli

                                @homoran

                                ähhh?, ja:

                                pi@iobroker2:~ $ iob multihost
                                Invalid parameters. Following is possible: enable, browse, connect, status
                                

                                oder meinst Du ob es überhaupt einen Befehl gibt eine MultiHost Umgebung anzuzeigen?

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

                                  @reutli sagte in iob diag - Skript:

                                  ob es überhaupt einen Befehl gibt eine MultiHost Umgebung anzuzeigen?

                                  ja! resp. ob der genannte Befehl dafür gedacht ist.

                                  ich fürchte das muss aus irgendeiner .conf ausgelesen werden

                                  1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser last edited by

                                    cd@reutli sagte in iob diag - Skript:
                                    @homoran

                                    ähhh?, ja:

                                    pi@iobroker2:~ $ iob multihost
                                    Invalid parameters. Following is possible: enable, browse, connect, status
                                    

                                    oder meinst Du ob es überhaupt einen Befehl gibt eine MultiHost Umgebung anzuzeigen?

                                    mit

                                    iobroker multihost connect
                                    
                                    iobroker multihost browse
                                    

                                    Ich habe kein Multihost :

                                    Wenn er nicht vorhanden ist dann kommt :

                                    root@iobrokerv6:/opt/iobroker# iobroker multihost browse
                                    No Multihost server found. Make sure iobroker is running on the host where you enabled multihost discovery (and it is not this host)!
                                    

                                    oder in der iobroker.json wird es auch gespeichert

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

                                      @glasfaser sagte in iob diag - Skript:

                                      Wenn er nicht vorhanden ist dann kommt :

                                      nee, auch dann wenn nicht gerade enable auf dem Master läuft.
                                      ist IMHO so nicht zur Detektion bestehener Multihost Systeme zu gebrauchen.

                                      R 1 Reply Last reply Reply Quote 0
                                      • R
                                        reutli @Homoran last edited by

                                        @homoran
                                        Das sehe ich genau so. Wenn browsing am master aus ist, dann sieht man nichts.
                                        Das muss tatsächlich in configs stehen.

                                        Glasfaser 1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @reutli last edited by

                                          @reutli sagte in iob diag - Skript:

                                          Das muss tatsächlich in configs stehen.

                                          Habe oben geschrieben ... ich habe kein Multihost .....

                                          kannst du mal in deiner iobroker.json schauen !?

                                          R 1 Reply Last reply Reply Quote 0
                                          • R
                                            reutli @Glasfaser last edited by

                                            @glasfaser sagte in iob diag - Skript:

                                            kannst du mal in deiner iobroker.json schauen !?

                                            MASTER:

                                              "multihostService": {
                                                "enabled": false,
                                                "secure": true,
                                                "password": "##################################################",
                                                "persist": false
                                              },
                                            

                                            ist der einzige Hinweis, aber eben nicht konkret...

                                            SLAVE:

                                              "multihostService": {
                                                "enabled": false,
                                                "secure": true,
                                                "password": ""
                                              },
                                              "objects": {
                                                "type": "jsonl",
                                                "host": "192.168.200.5",
                                                "port": 9001,
                                                "user": "",
                                                "pass": "",
                                                "options": {
                                                  "auth_pass": null,
                                                  "enableReadyCheck": true,
                                                  "host": "0.0.0.0",
                                                  "port": 9001,
                                                  "db": 0,
                                                  "family": 0,
                                                  "password": null,
                                                  "autoResubscribe": false,
                                                  "connectionName": "host.macmini-iobroker",
                                                  "retry_max_delay": 5000
                                                },
                                                "maxQueue": 1000
                                              },
                                              "states": {
                                                "type": "jsonl",
                                                "host": "192.168.200.5",
                                                "port": 9000,
                                                "options": {
                                                  "auth_pass": null,
                                                  "enableReadyCheck": true,
                                                  "host": "0.0.0.0",
                                                  "port": 9000,
                                                  "db": 0,
                                                  "family": 0,
                                                  "password": null,
                                                  "autoResubscribe": false,
                                                  "connectionName": "host.macmini-iobroker",
                                                  "retry_max_delay": 5000
                                                },
                                            

                                            leider auch nicht besser...

                                            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

                                            824
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            738
                                            148735
                                            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