Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst ] Hilfe bei SourceAnalytix

    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

    [gelöst ] Hilfe bei SourceAnalytix

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kuddel last edited by Kuddel

      Bitte ausfüllen:

      • Adaptername: SourceAnalytix
      • Link zu Adapterrepository: https://github.com/DrozmotiX/ioBroker.sourceanalytix
      • Adapterversion: 0.4.14
      • js-controller Version: 5.0.19
      • Admin Version: 6.13.16
      • Hardwaresystem: NUC (ESX) mit Ubuntu VM
      • Arbeitsspeicher: 6GB
      • Festplattenart: SSD
      • Betriebssystem: Ubuntu 22.04.4 LTS
      • Nodejs-Version: 18.20.3
      • NPM-Version: 10.7.0
      • Installationsart: Manuell
      • Image, Docker genutzt: Nein

      iobdiag:

      ======================= SUMMARY =======================
                             v.2024-05-22
      
      
      Static hostname: ioBroker-PROD
            Icon name: computer-vm
              Chassis: vm
       Virtualization: vmware
      Operating System: Ubuntu 22.04.4 LTS
               Kernel: Linux 5.15.0-113-generic
         Architecture: x86-64
      Hardware Vendor: VMware, Inc.
       Hardware Model: VMware Virtual Platform
      
      Installation:           vmware
      Kernel:                 x86_64
      Userland:               64 bit
      Timezone:               Europe/Berlin (CEST, +0200)
      User-ID:                0
      Display-Server:         false
      Boot Target:            graphical.target
      
      Pending OS-Updates:     0
      Pending iob updates:    8
      
      Nodejs-Installation:
      /usr/bin/nodejs         v18.20.3
      /usr/bin/node           v18.20.3
      /usr/bin/npm            10.7.0
      /usr/bin/npx            10.7.0
      /usr/bin/corepack       0.28.0
      
      Recommended versions are nodejs 18.20.3 and npm 10.7.0
      Your nodejs installation is correct
      
      MEMORY:
                    total        used        free      shared  buff/cache   available
      Mem:            5.9G        4.2G        592M        1.0M        1.1G        1.4G
      Swap:           2.0G        1.3G        742M
      Total:          7.9G        5.5G        1.3G
      
      Active iob-Instances:   45
      Active repo(s): Stable (default)
      
      ioBroker Core:          js-controller           5.0.19
                             admin                   6.13.16
      
      ioBroker Status:        iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin and web instance:
      + system.adapter.admin.0                  : admin                 : ioBroker-PROD                            -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.web.0                    : web                   : ioBroker-PROD                            -  enabled, port: 8082, bind: 192.168.4.161, run as: admin
      
      Objects:                35718
      States:                 31898
      
      Size of iob-Database:
      
      53M     /opt/iobroker/iobroker-data/objects.jsonl
      21M     /opt/iobroker/iobroker-data/states.jsonl
      
      
      
      =================== END OF SUMMARY ====================
      

      Seit heute bekomme ich folgende Meldung vom Adapter:

      sourceanalytix.0 2024-07-03 12:48:01.549	error	Initialization of alias.0.Garten.SD_GA_Whirlpool.POWER_SUM failed, check warn messages !
      sourceanalytix.0 2024-07-03 12:48:01.549	error	Cannot handle calculations for alias.0.Garten.SD_GA_Whirlpool.POWER_SUM, check log messages and adjust settings!
      sourceanalytix.0 2024-07-03 12:48:01.549	error	Troubleshoot Data alias.0.Garten.SD_GA_Whirlpool.POWER_SUM custom Data : {"type":"state","common":{"name":"SD_GA_Whirlpool.POWER_SUM","type":"number","role":"value.power.consumption","read":true,"write":false,"def":0,"unit":"Wh","alias":{"id":"shelly.0.SHSW-PM#349454767634#1.Relay0.Energy"},"desc":"per Script erstellt","custom":{"sourceanalytix.0":{"enabled":true,"selectedUnit":"Detect automatically","deviceResetLogicEnabled":true,"threshold":1,"start_day":377.66441000000003,"start_week":367.97456000000005,"start_month":367.97456000000005,"start_quarter":367.97456000000005,"start_year":336.37404000000004,"alias":"SD_GA_Whirlppol_Stromverbrauch","selectedPrice":"ElectricityDay","costs":true,"consumption":true,"valueAtDeviceReset":378.03337000000005,"valueAtDeviceInit":0,"cumulativeValue":377.66441000000003}}},"native":{},"from":"system.adapter.sourceanalytix.0","user":"system.user.admin","ts":1719996785347,"_id":"alias.0.Garten.SD_GA_Whirlpool.POWER_SUM","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
      sourceanalytix.0 2024-07-03 12:48:01.548	error	Check settings for alias.0.Garten.SD_GA_Whirlpool.POWER_SUM ! Known valueAtDeviceReset : (378.03337000000005) > known cumulative value (336.37404000000004) cannot proceed
      

      Der Adapter soll den Verbauch von einem Shelly 1 PM (über einen Alias DP) aufzeichnen.

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

        @kuddel woher kommen die vielen Nachkommastellen?
        Du hast einen device reset und die unit würde ich nicht auf automatik stehen lassen

        K 1 Reply Last reply Reply Quote 0
        • K
          Kuddel @crunchip last edited by

          @crunchip keine Ahnung wo die Nachkommastellen kommen.

          Der Einheit habe ich jetzt auf Wh festgelegt.

          Hat sich der Shelly resettet oder was genau meinst du?

          Wie bekomme ich denn jetzt den Fehler weg?

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

            @kuddel sagte in Hilfe bei SourceAnalytix:

            Wie bekomme ich denn jetzt den Fehler weg?

            zeig mal das Raw vom alias

            K 1 Reply Last reply Reply Quote 0
            • K
              Kuddel @crunchip last edited by

              @crunchip

              RAW von alias.0.Garten.SD_GA_Whirlpool.POWER_SUM

              {
               "type": "state",
               "common": {
                 "name": "SD_GA_Whirlpool.POWER_SUM",
                 "type": "number",
                 "role": "value.power.consumption",
                 "read": true,
                 "write": false,
                 "def": 0,
                 "unit": "Wh",
                 "alias": {
                   "id": "shelly.0.SHSW-PM#349454767634#1.Relay0.Energy"
                 },
                 "desc": "per Script erstellt",
                 "custom": {
                   "sourceanalytix.0": {
                     "enabled": true,
                     "selectedUnit": "Wh",
                     "deviceResetLogicEnabled": true,
                     "threshold": 1,
                     "start_day": 377.66441000000003,
                     "start_week": 367.97456000000005,
                     "start_month": 367.97456000000005,
                     "start_quarter": 367.97456000000005,
                     "start_year": 336.37404000000004,
                     "alias": "SD_GA_Whirlppol_Stromverbrauch",
                     "selectedPrice": "ElectricityDay",
                     "costs": true,
                     "consumption": true,
                     "valueAtDeviceReset": 378.03337000000005,
                     "valueAtDeviceInit": 0,
                     "cumulativeValue": 377.66441000000003
                   }
                 }
               },
               "native": {},
               "_id": "alias.0.Garten.SD_GA_Whirlpool.POWER_SUM",
               "acl": {
                 "object": 1636,
                 "state": 1636,
                 "owner": "system.user.admin",
                 "ownerGroup": "system.group.administrator"
               },
               "from": "system.adapter.admin.0",
               "user": "system.user.admin",
               "ts": 1720122580653
              }
              

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

                @kuddel dein Zähler war schon auf 378.0333 und aktuell hast du einen Stand von 377.66441, dementsprechend ein device reset.
                Du musst SA stoppen, anschließend die Zeilen löschen.

                ,
                       "valueAtDeviceReset": 378.03337000000005,
                       "valueAtDeviceInit": 0,
                       "cumulativeValue": 377.66441000000003
                     }
                

                Danach SA wieder starten

                Edit
                Kannst du nicht im alias angeben, das auf 3 Stellen gerundet werden soll?

                1 Reply Last reply Reply Quote 0
                • K
                  Kuddel last edited by

                  @crunchip

                  Habe die Zeilen gelöscht und die SA Instanz gestartet. DIe Fehlermeldung ist schon einmal weg.

                  SA sagt mir jetzt aber folgendes:

                  d1d825ab-d6b0-4092-a120-758977aab042-grafik.png

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

                    @kuddel was für einen Zählerstand hat der shelly denn tatsächlich?

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      Kuddel @crunchip last edited by

                      @crunchip

                      5187b706-8d53-4e45-b765-97e067752233-grafik.png

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

                        @kuddel woher kommen denn deine Startwert in SA? Die stimmen ja gar nicht mit deinem shelly überein. Da müssen ebenfalls wh stehen und dem Stand deines shelly entsprechen

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          Kuddel @crunchip last edited by

                          @crunchip

                          Als ich den Shelly in Betrieb genommen habe, habe ich auch SA installiert.

                          Somit können die Werte nicht von einem anderen Gerät stammen.

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

                            @kuddel und wielange läuft das schon?
                            Hat sich dein shelly zurückgesetzt?
                            Stromlos bzw Firmware Update gemacht?

                            Da wäre es sinnvoller bei shelly den Datenpunkt Watt zu nehmen, anstatt den Zähler in wh, da sich Shelly's zurücksetzen bei Stromausfall bzw update

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              Kuddel @crunchip last edited by Kuddel

                              @crunchip

                              der Shelly läuft seit letztem Sommer und war über den Winter eingelagert.

                              Ich meine ich habe letzte Woche zudem ein Update installiert.

                              Also sollte SA eher den aktuellen Verbrauch in W messen?

                              EDIT: 84729645-e981-4d6f-9843-fa7ef8547343-grafik.png

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

                                @kuddel sagte in Hilfe bei SourceAnalytix:

                                Also sollte SA eher den aktuellen Verbrauch in W messen?

                                Ja

                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  Kuddel @crunchip last edited by

                                  @crunchip

                                  Alles klar. Vielen Dank für die Hilfe

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

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  832
                                  Online

                                  31.8k
                                  Users

                                  80.0k
                                  Topics

                                  1.3m
                                  Posts

                                  2
                                  15
                                  442
                                  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