Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Performance Probleme durch Shelly Adapter?

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Performance Probleme durch Shelly Adapter?

    This topic has been deleted. Only users with topic management privileges can see it.
    • DJMarc75
      DJMarc75 @Schtallone last edited by

      @schtallone

      https://github.com/iobroker-community-adapters/ioBroker.shelly/blob/master/docs/de/protocol-mqtt.md

      1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @Schtallone last edited by

        @schtallone sagte in Performance Probleme durch Shelly Adapter?:

        Unable to get mqttprefix

        hast du etwas im shelly geändert?
        prefix und id dürfen nicht verändert werden
        94b7b99c-7629-4338-abd7-7dbfa5359c77-image.png

        S 1 Reply Last reply Reply Quote 0
        • S
          Schtallone @crunchip last edited by

          @crunchip ja hatte ich wohl, bei 1-3 shellys den prefix.

          Der Prefix muss gleichh zure ID sein, richhtig?

          Glasfaser crunchip 2 Replies Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Schtallone last edited by

            @schtallone

            ja.

            1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Schtallone last edited by

              @schtallone sagte in Performance Probleme durch Shelly Adapter?:

              ja hatte ich wohl, bei 1-3 shellys den prefix.

              da werden aber einige mehr angekreidet als 1-3

              überprüfe jeden einzelnen

              S 1 Reply Last reply Reply Quote 0
              • S
                Schtallone @crunchip last edited by

                @crunchip
                also das beides muss gleich sein

                Snap-2023-09-16-15-45-27.jpg

                also auch gleich zu der Geräte-ID?

                Snap-2023-09-16-15-45-58.jpg

                Die GeräteId hat bei mir im iob immer ein #1 am Ende angefügt....

                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @Schtallone last edited by crunchip

                  @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                  also das beides muss gleich sein

                  ja

                  @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                  Die GeräteId hat bei mir im iob immer ein #1 am Ende angefügt

                  ist auch so korrekt

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Schtallone @crunchip last edited by

                    @crunchip

                    hier mal ein Auszug:
                    Snap-2023-09-16-15-55-59.jpg

                    Ich prüfe das mal alles durch bis heute abend und gebe dann mal Rückmeldung....

                    crunchip 1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Schtallone last edited by

                      @schtallone sollte so aussehen
                      a0d0f618-71d0-4111-af27-de0f1a55c3e3-image.png

                      S 2 Replies Last reply Reply Quote 0
                      • S
                        Schtallone @crunchip last edited by

                        @crunchip ich melde mich später. Danke erstmal....

                        Glasfaser 1 Reply Last reply Reply Quote 0
                        • S
                          Schtallone @ticaki last edited by

                          @ticaki

                          Unbenannt.jpg

                          Hier jetzt mal die Info zum Device whatcher. 673MB Speicherbelegung? Ich glaube hier stimmt auch was nicht

                          S Homoran 2 Replies Last reply Reply Quote 0
                          • S
                            Schtallone @Schtallone last edited by

                            und noch mal "TOP"

                            top - 18:36:53 up  5:28,  0 users,  load average: 4,87, 5,41, 5,76
                            Tasks:  28 total,   2 running,  26 sleeping,   0 stopped,   0 zombie
                            %Cpu(s): 75,8 us, 16,7 sy,  0,0 ni,  4,8 id,  1,2 wa,  0,0 hi,  1,5 si,  0,0 st
                            MiB Mem :   7792,2 total,    294,1 free,   5540,5 used,   1957,6 buff/cache
                            MiB Swap:  23447,2 total,  22941,3 free,    505,9 used.   1495,6 avail Mem 
                            
                              PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                             
                              143 iobroker  20   0   11,2g 418092  40864 R  69,5   5,2 133:10.42 iobroker.js-con                     
                              377 iobroker  20   0 1259660 693016  40476 R  14,6   8,7  93:42.22 io.device-watch                     
                            12041 iobroker  20   0  999532 164860  39756 S   5,0   2,1   1:20.02 io.shelly.0                         
                             2571 iobroker  20   0   21,0g 194208  41544 S   3,3   2,4   6:27.46 node-red                            
                              194 iobroker  20   0  839708 149044  36796 S   1,7   1,9   6:19.56 io.javascript.0                     
                              467 iobroker  20   0  695588 117832  40592 S   0,7   1,5   3:41.85 io.jarvis.0                         
                              176 iobroker  20   0 1052704 179200  41612 S   0,3   2,2   2:01.76 io.admin.0                          
                              183 iobroker  20   0  702152  82444  36928 S   0,3   1,0   0:38.00 io.influxdb.0                       
                             2414 iobroker  20   0  688244  82604  36480 S   0,3   1,0   0:09.54 io.node-red.0                       
                             3196 iobroker  20   0  946508  77544  36472 S   0,3   1,0   1:07.46 node                                
                                1 root      20   0    7372   1488   1484 S   0,0   0,0   0:00.06 bash                                
                              240 iobroker  20   0  753896  58000  37476 S   0,0   0,7   0:09.90 io.pushover.0                       
                              258 iobroker  20   0  695460  71552  36600 S   0,0   0,9   0:19.49 io.modbus.0                         
                              312 iobroker  20   0  956392  76856  37724 S   0,0   1,0   0:15.46 io.netatmo.0                        
                              334 iobroker  20   0   10,7g  86764  40972 S   0,0   1,1   0:10.41 io.backitup.0                       
                              358 iobroker  20   0  826224  85140  37544 S   0,0   1,1   0:32.15 io.cloud.0                          
                              448 iobroker  20   0  686096  79952  36492 S   0,0   1,0   0:14.93 io.energiefluss                     
                              537 iobroker  20   0  690236  83904  40868 S   0,0   1,1   0:12.22 io.shuttercontr                     
                              544 iobroker  20   0  689352  79328  36776 S   0,0   1,0   0:20.95 io.snmp.0                           
                              551 iobroker  20   0  689824  80864  36600 S   0,0   1,0   0:18.66 io.sourceanalyt                     
                              565 iobroker  20   0   10,9g 105788  37700 S   0,0   1,3   0:31.35 io.vw-connect.0                     
                              572 iobroker  20   0  688308  76404  36808 S   0,0   1,0   0:10.88 io.web.0                            
                              667 root      20   0    7504   1976   1468 S   0,0   0,0   0:00.06 bash          
                            
                            S 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @Schtallone last edited by

                              @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                              die Info zum Device whatcher. 673MB Speicherbelegung?

                              liegt auch hier ganz vorne!

                              @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                                                        377 iobroker  20   0 1259660 693016  40476 R  14,6   8,7  93:42.22 io.device-watch                
                              

                              8.7% von 8GB sind erwa 690MB, passt also

                              aber immer noch viel zu viel Load

                              @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                              load average: 4,87, 5,41, 5,76

                              bei 2 Kernen bremst alles über 2 das System aus.

                              dein Celeron ist wohl zu schwach, oder da läuft zu viel

                              @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                              Hier mal nach 1 Std laufzeit die Messungen:

                              zeigt 97% CPU

                              7 Container und dann noch die eigentlichen Aufgaben des NAS, womöglich noch weiteres, wozu du immer noch nichts gesagt hast, ist einfach zu viel

                              und die Ausgabe von top bezieht sich ausschließlich auf den iob Container

                              Frederik Buss S 2 Replies Last reply Reply Quote 0
                              • Frederik Buss
                                Frederik Buss @Homoran last edited by

                                @homoran Mal eine Frage zu den MQTT Adaptern: Als ich Lovelace UI für das NSPanel an den Start gebracht, hatte ich nach einigen rumprobieren dann doch den MQTT Adapter, anstelle des Sonoff Adapters installiert. Direkt danach ging auch bei mir die Last sofort in die Höhe, trotz unterschiedlicher Ports. Nicht so extrem wie hier, aber bei meinem Raspi sofort negativer Effekt (wie im anderen Post beschrieben). Jedenfalls habe ich dann den Sonoff Adapter rausgeworfen und alles über eine MQTT Instanz angebunden. Sofort war wieder Ruhe im Karton. Ich nutze den Shelly Adapter parallel, scheint aber keine Probleme zu machen.
                                Jetzt die Frage: Ist das bekannt, dass sich verschiedene MQTT Adapter im Weg stehen, selbst bei unterschiedlichen Ports, oder war das bei mir nur Zufall, oder vielleicht der Tropfen, der das System am Ende überlastet hat?

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

                                  @frederik-buss sagte in Performance Probleme durch Shelly Adapter?:

                                  Ist das bekannt, dass sich verschiedene MQTT Adapter im Weg stehen, selbst bei unterschiedlichen Ports

                                  nein!

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

                                    @homoran
                                    Das hier läuft alles auf dem NAS, aber ca. 30-40% der CPU Auslaustungg fällt alleine auf den iobroker

                                    Snap-2023-09-16-19-22-11.jpg

                                    Unbenannt.jpg

                                    Wobei ich immer noch viele diese MQTT Themen habe.

                                    2023-09-16 19:27:19.626  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-485519a2a5d4"
                                    2023-09-16 19:27:19.630  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-5443b23fd3dc"
                                    2023-09-16 19:27:19.828  - info: shelly.0 (12041) [MQTT] Client Close:  (shellyplus1pm / shellyplus1pm-a8032ab96370 / shellyplus1pm#a8032ab96370#1) (false)
                                    2023-09-16 19:27:19.905  - info: shelly.0 (12041) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-5443b23ecce4 / shellyplus2pm#5443b23ecce4#1) (false)
                                    2023-09-16 19:27:20.691  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1-441793ab9088"
                                    2023-09-16 19:27:20.920  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-7c87ce65d970"
                                    2023-09-16 19:27:21.267  - info: shelly.0 (12041) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-441793acae2c / shellyplus2pm#441793acae2c#1) (false)
                                    2023-09-16 19:27:22.083  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-4022d8da969c"
                                    2023-09-16 19:27:24.438  - info: modbus.0 (258) Connected to slave 192.168.1.47
                                    2023-09-16 19:27:25.819  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-b8d61a8bf730"
                                    2023-09-16 19:27:26.167  - info: shelly.0 (12041) [MQTT] Device with client id "shellyplus2pm-b8d61a876248" connected!
                                    2023-09-16 19:27:27.759  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-4022d8dbe474"
                                    2023-09-16 19:27:28.042  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1-441793a820f4"
                                    2023-09-16 19:27:29.201  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-5443b23e1a90"
                                    2023-09-16 19:27:29.956  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-a8032abc230c"
                                    2023-09-16 19:27:32.418  - info: shelly.0 (12041) [MQTT] Device with client id "shellyplus1pm-7c87ce65d794" connected!
                                    2023-09-16 19:27:32.732  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-3c610579bd34"
                                    2023-09-16 19:27:32.732  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-4855199a5d7c"
                                    2023-09-16 19:27:33.738  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-5443b23ecce4"
                                    2023-09-16 19:27:33.738  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-a8032ab96370"
                                    2023-09-16 19:27:34.029  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-441793acae2c"
                                    2023-09-16 19:27:35.198  - info: shelly.0 (12041) [MQTT] Device with client id "shellyplus1pm-a8032ab96980" connected!
                                    2023-09-16 19:27:35.209  - info: shelly.0 (12041) [MQTT] Device with client id "shellyplus1pm-3c610579df44" connected!
                                    
                                    S Glasfaser 2 Replies Last reply Reply Quote 0
                                    • S
                                      Schtallone @Schtallone last edited by Schtallone

                                      und so sieht das dann aus, wenn ich den iobroker beende. von 100% auf ca. 30% CPU Auslastung. Und bei Neustart des Containers gehts munter weiter....

                                      Snap-2023-09-16-19-38-06.jpg

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Schtallone @Schtallone last edited by Schtallone

                                        @schtallone said in Performance Probleme durch Shelly Adapter?:

                                        und noch mal "TOP"

                                        top - 18:36:53 up  5:28,  0 users,  load average: 4,87, 5,41, 5,76
                                        Tasks:  28 total,   2 running,  26 sleeping,   0 stopped,   0 zombie
                                        %Cpu(s): 75,8 us, 16,7 sy,  0,0 ni,  4,8 id,  1,2 wa,  0,0 hi,  1,5 si,  0,0 st
                                        MiB Mem :   7792,2 total,    294,1 free,   5540,5 used,   1957,6 buff/cache
                                        MiB Swap:  23447,2 total,  22941,3 free,    505,9 used.   1495,6 avail Mem 
                                        
                                          PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                             
                                          143 iobroker  20   0   11,2g 418092  40864 R  69,5   5,2 133:10.42 iobroker.js-con                     
                                          377 iobroker  20   0 1259660 693016  40476 R  14,6   8,7  93:42.22 io.device-watch                     
                                        12041 iobroker  20   0  999532 164860  39756 S   5,0   2,1   1:20.02 io.shelly.0                         
                                         2571 iobroker  20   0   21,0g 194208  41544 S   3,3   2,4   6:27.46 node-red                            
                                          194 iobroker  20   0  839708 149044  36796 S   1,7   1,9   6:19.56 io.javascript.0                     
                                          467 iobroker  20   0  695588 117832  40592 S   0,7   1,5   3:41.85 io.jarvis.0                         
                                          176 iobroker  20   0 1052704 179200  41612 S   0,3   2,2   2:01.76 io.admin.0                          
                                          183 iobroker  20   0  702152  82444  36928 S   0,3   1,0   0:38.00 io.influxdb.0                       
                                         2414 iobroker  20   0  688244  82604  36480 S   0,3   1,0   0:09.54 io.node-red.0                       
                                         3196 iobroker  20   0  946508  77544  36472 S   0,3   1,0   1:07.46 node                                
                                            1 root      20   0    7372   1488   1484 S   0,0   0,0   0:00.06 bash                                
                                          240 iobroker  20   0  753896  58000  37476 S   0,0   0,7   0:09.90 io.pushover.0                       
                                          258 iobroker  20   0  695460  71552  36600 S   0,0   0,9   0:19.49 io.modbus.0                         
                                          312 iobroker  20   0  956392  76856  37724 S   0,0   1,0   0:15.46 io.netatmo.0                        
                                          334 iobroker  20   0   10,7g  86764  40972 S   0,0   1,1   0:10.41 io.backitup.0                       
                                          358 iobroker  20   0  826224  85140  37544 S   0,0   1,1   0:32.15 io.cloud.0                          
                                          448 iobroker  20   0  686096  79952  36492 S   0,0   1,0   0:14.93 io.energiefluss                     
                                          537 iobroker  20   0  690236  83904  40868 S   0,0   1,1   0:12.22 io.shuttercontr                     
                                          544 iobroker  20   0  689352  79328  36776 S   0,0   1,0   0:20.95 io.snmp.0                           
                                          551 iobroker  20   0  689824  80864  36600 S   0,0   1,0   0:18.66 io.sourceanalyt                     
                                          565 iobroker  20   0   10,9g 105788  37700 S   0,0   1,3   0:31.35 io.vw-connect.0                     
                                          572 iobroker  20   0  688308  76404  36808 S   0,0   1,0   0:10.88 io.web.0                            
                                          667 root      20   0    7504   1976   1468 S   0,0   0,0   0:00.06 bash          
                                        

                                        und hierbei waren beide MQTT Adapter nicht aktiv. Dies macxht nur der Shelly Adapter

                                        2023-09-16 19:27:19.626  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-485519a2a5d4"
                                        2023-09-16 19:27:19.630  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-5443b23fd3dc"
                                        2023-09-16 19:27:19.828  - info: shelly.0 (12041) [MQTT] Client Close:  (shellyplus1pm / shellyplus1pm-a8032ab96370 / shellyplus1pm#a8032ab96370#1) (false)
                                        2023-09-16 19:27:19.905  - info: shelly.0 (12041) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-5443b23ecce4 / shellyplus2pm#5443b23ecce4#1) (false)
                                        2023-09-16 19:27:20.691  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1-441793ab9088"
                                        2023-09-16 19:27:20.920  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-7c87ce65d970"
                                        2023-09-16 19:27:21.267  - info: shelly.0 (12041) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-441793acae2c / shellyplus2pm#441793acae2c#1) (false)
                                        2023-09-16 19:27:22.083  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-4022d8da969c"
                                        2023-09-16 19:27:24.438  - info: modbus.0 (258) Connected to slave 192.168.1.47
                                        2023-09-16 19:27:25.819  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-b8d61a8bf730"
                                        2023-09-16 19:27:26.167  - info: shelly.0 (12041) [MQTT] Device with client id "shellyplus2pm-b8d61a876248" connected!
                                        2023-09-16 19:27:27.759  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-4022d8dbe474"
                                        2023-09-16 19:27:28.042  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1-441793a820f4"
                                        2023-09-16 19:27:29.201  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-5443b23e1a90"
                                        2023-09-16 19:27:29.956  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-a8032abc230c"
                                        2023-09-16 19:27:32.418  - info: shelly.0 (12041) [MQTT] Device with client id "shellyplus1pm-7c87ce65d794" connected!
                                        2023-09-16 19:27:32.732  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-3c610579bd34"
                                        2023-09-16 19:27:32.732  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-4855199a5d7c"
                                        2023-09-16 19:27:33.738  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-5443b23ecce4"
                                        2023-09-16 19:27:33.738  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-a8032ab96370"
                                        2023-09-16 19:27:34.029  - error: shelly.0 (12041) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-441793acae2c"
                                        2023-09-16 19:27:35.198  - info: shelly.0 (12041) [MQTT] Device with client id "shellyplus1pm-a8032ab96980" connected!
                                        2023-09-16 19:27:35.209  - info: shelly.0 (12041) [MQTT] Device with client id "shellyplus1pm-3c610579df44" connected!
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @Schtallone last edited by

                                          @schtallone

                                          Räume erstmal nach und nach die Baustellen auf .

                                          Jetzt sind wir bei Shelly , laut dem neuen Log hast du es immer noch nicht behoben .

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

                                            @schtallone sagte in Performance Probleme durch Shelly Adapter?:

                                            seit einigen Tagen bemerke ich Performance-Probeme im ioBroker.

                                            Oft können z.b. die Instancen nicht angeigt werden.

                                            Nochmal zurück auf dein Ursprung am Anfang ,
                                            Was heißt " nicht angezeigt " !?

                                            S 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

                                            880
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            14
                                            256
                                            21354
                                            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