Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Fronius 2.0.x

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter Fronius 2.0.x

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

      @mcm57 Danke auch für deinen Support. Denn ohne das wissen für das Release geht es ja auch nicht...

      1 Reply Last reply Reply Quote 1
      • da_Woody
        da_Woody @mcm1957 last edited by

        @mcm57 sagte in Test Adapter Fronius 2.0.x:

        auf einem Testsyste,m und nicht in eienr produktiven Umgebung

        noe.png
        mut kann man nicht kaufen! priest.gif

        1 Reply Last reply Reply Quote 0
        • Negalein
          Negalein Global Moderator @mcm1957 last edited by

          @mcm57 sagte in Test Adapter Fronius 2.0.x:

          Die Release 2.0.0 sollte ab moregn im Lates ausgeliefert werden.

          ich war mutig und es läuft auf dem produktiv System 😁

          Der Fronius ist ein Symo Hybrid 24

          mMn ist alles da. 🙂


          c12ddf28-51df-4ebe-ad71-0a3ea6031802-image.png
          bc48d18e-6319-443b-9109-2a09a6c4c33a-image.png
          2ccb764a-a205-425a-a192-21833b16c94c-image.png
          f57bfaaf-7e17-42b8-b90f-b80796c4b65d-image.png
          69513e7f-3e3f-45ea-a48a-6b9ab10b1df7-image.png
          004183d0-eda2-40ec-92e2-102ba3a09d02-image.png
          8b548bfa-9e9a-430e-9997-732f84a99ccf-image.png
          de5d3db6-0b85-4e46-99c4-ab32d5769a10-image.png

          da_Woody 1 Reply Last reply Reply Quote 0
          • da_Woody
            da_Woody @Negalein last edited by

            @negalein sagte in Test Adapter Fronius 2.0.x:

            ich war mutig und es läuft auf dem produktiv System

            peitsche.gif
            im latest ist bei mir noch nüx! prost.gif

            mcm1957 1 Reply Last reply Reply Quote 0
            • mcm1957
              mcm1957 @da_Woody last edited by

              @da_woody
              Wär auch überraschend da lates nur 2x täglich aktualisisert wird.
              Entweder hat @Negalein Github installiert oder eine alte Version vom Latest 🙂

              Negalein da_Woody 2 Replies Last reply Reply Quote 1
              • Negalein
                Negalein Global Moderator @mcm1957 last edited by

                @mcm57 sagte in Test Adapter Fronius 2.0.x:

                Entweder hat @Negalein Github installiert oder eine alte Version vom Latest

                Github 😉

                1 Reply Last reply Reply Quote 0
                • da_Woody
                  da_Woody @mcm1957 last edited by

                  @mcm57 kenn doch mein negerlein... rofl.gif

                  mcm1957 1 Reply Last reply Reply Quote 1
                  • mcm1957
                    mcm1957 @da_Woody last edited by mcm1957

                    Aber einen Vorteil hat die Unterhaltung hier:
                    Die Release ist jetzt wirklich auf Github und npm. (Ich hatte nämlich vergessen das Deploy wieder freizugeben :-.( )

                    Also ab Morgen gibts die 2.0.1 (ident zu 2.0.0 nur eben auch auf npm ...)

                    da_Woody 1 Reply Last reply Reply Quote 2
                    • da_Woody
                      da_Woody @mcm1957 last edited by

                      @mcm57 heute ist das gestern von morgen...
                      so what. highfive.gif

                      1 Reply Last reply Reply Quote 0
                      • D
                        diwoma last edited by

                        Hi, Ich hatte jetzt ein Problem mit dem Adapter.
                        Ich habe eine neue Software auf den Fronius aufgespielt und danach den Fronius restartet. Dadurch hat der Adapter natürlich seine Verbindung verloren, aber nicht wieder gefunden:

                        2023-06-06 08:55:12.079 - error: fronius.0 (26028) uncaught exception: Cannot convert undefined or null to object
                        2023-06-06 08:55:12.079 - error: fronius.0 (26028) TypeError: Cannot convert undefined or null to object
                        at hasOwnProperty ()
                        at createStates (/opt/iobroker/node_modules/iobroker.fronius/lib/devObjects.js:474:41)
                        at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.fronius/lib/devObjects.js:127:17)
                        at listOnTimeout (node:internal/timers:561:11)
                        at processTimers (node:internal/timers:502:7)
                        2023-06-06 08:55:12.079 - error: fronius.0 (26028) Cannot convert undefined or null to object
                        2023-06-06 08:55:12.136 - debug: fronius.0 (26028) API Objekt E_Day is null, no object created!
                        2023-06-06 08:55:12.136 - debug: fronius.0 (26028) API Objekt E_Year is null, no object created!
                        2023-06-06 08:55:12.137 - debug: fronius.0 (26028) API Objekt P_Akku is null, no object created!
                        2023-06-06 08:55:12.137 - debug: fronius.0 (26028) API Objekt rel_SelfConsumption is null, no object created!
                        2023-06-06 08:55:12.137 - debug: fronius.0 (26028) API Objekt E_Day is null, no object created!
                        2023-06-06 08:55:12.137 - debug: fronius.0 (26028) API Objekt E_Year is null, no object created!
                        2023-06-06 08:55:12.582 - info: fronius.0 (26028) terminating
                        2023-06-06 08:55:12.582 - warn: fronius.0 (26028) Terminated (UNCAUGHT_EXCEPTION): Without reason
                        2023-06-06 08:55:13.098 - error: host.ioBroker-dev instance system.adapter.fronius.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                        2023-06-06 08:55:13.098 - info: host.ioBroker-dev Restart adapter system.adapter.fronius.0 because enabled
                        2023-06-06 08:55:13.098 - warn: host.ioBroker-dev Do not restart adapter system.adapter.fronius.0 because restart loop detected
                        2023-06-06 09:15:21.207 - info: host.ioBroker-dev "system.adapter.fronius.0" disabled
                        2023-06-06 09:15:23.102 - info: host.ioBroker-dev "system.adapter.fronius.0" enabled
                        2023-06-06 09:15:23.119 - info: host.ioBroker-dev instance system.adapter.fronius.0 started with pid 26043
                        

                        Ein Restart des Adapters hat ihn wieder auf Linie gebracht.
                        Allerdings sollte dieser Zustand irgendwie abgefangen werden.

                        mcm1957 nkleber 2 Replies Last reply Reply Quote 0
                        • mcm1957
                          mcm1957 @diwoma last edited by mcm1957

                          @diwoma
                          @nkleber

                          Ich möcht nkleber nicht vorgreifen, aber ich würde bitten hier 2 Dinge zu checken bzw. zu unterscheiden:

                          a) Wenn der Adapter eine unterbrochene Verbindung nicht mehr aufbauen kann, dann sollte das analysiert werden und wenn möglich behoben werden.

                          Ich würde dich daher bitte - sofern es nicht allzuviel Mühe macht - deinen Fronius gelengtlich neu zu starten umd ein Reboot wie es nach dem Firmwarupdate erfolgt ist zu simulieren. Dabei wäre das Ziel festzustellen, ob sich der Adapter neu verbindet oder einen Restart braucht. Ev. wäre es auch sinnvoll VORHER den Adapter mit aktiviertem Debug Log zu starten um möglichst vile INfos mitzuloggen.

                          b) Wenn es bei a) keine Probleme gibt, dann muss man schaun ob man erkennen kann, warum es bei einem FW Update Probleme gab / gibt. Wieviel Aufwand hier angebracht ist muss nkleber entscheiden, da wahrscheinlich FW Updates eher selten erfolgen.

                          In jedem Fall erscheint es mir sinnvoll ein issue zu eröffnen und möglichst alle verfügbaren Daten, insbesonder vollständige Logs, dort abzulegen.

                          McM

                          Nachtrag:

                          2023-06-06 08:55:12.079 - error: fronius.0 (26028) uncaught exception: Cannot convert undefined or null to object
                          2023-06-06 08:55:12.079 - error: fronius.0 (26028) TypeError: Cannot convert undefined or null to object
                          at hasOwnProperty ()
                          at createStates (/opt/iobroker/node_modules/iobroker.fronius/lib/devObjects.js:474:41)
                          at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.fronius/lib/devObjects.js:127:17)
                          at listOnTimeout (node:internal/timers:561:11)
                          at processTimers (node:internal/timers:502:7)
                          

                          Das sollte jedenfalls abgefangen werden. Danke f.d. Info.

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            c1olli @mcm1957 last edited by

                            Ich habe den Adaper auf ein Testsystem aufgesetzt und er läuft soweit einwandfrei.
                            In den nächsten Tagen muss ich dann mal gegenchecken welche Datenpunkte sich verschoben haben.

                            mcm1957 1 Reply Last reply Reply Quote 0
                            • mcm1957
                              mcm1957 @c1olli last edited by mcm1957

                              @c1olli
                              Wenn du das explizit checkst, könntest du die Liste bitte hier bitte posten?
                              Wär ev. eine Hilfe für nkleber oder ich könnts ins Readme eintragen.

                              Sorry, normalerweise sollte das vom dev zum user gehen. Aber der Adapter ist einige Zeit verstaubt, wurde parallel aufgepäppelt und jetzt gemerged. IOch bin schon froh, dass er technisch offensichtlich keine großen neuen Probleme aufreisst. DANKE an @nkleber für die sehr gute Arbeit.

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                c1olli @mcm1957 last edited by

                                @mcm57
                                Nee ist kein Thema, ich werd in den nächsten Tagen mal schauen.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  diwoma last edited by diwoma

                                  @nkleber
                                  Hi ich habe jetzt einen Restart provoziert, ohne update davor und habe folgendes Log:

                                  2023-06-07 05:30:24.134 - info: host.ioBroker-dev stopInstance system.adapter.fronius.0 (force=false, process=true)
                                  2023-06-07 05:30:24.137 - info: fronius.0 (26043) Got terminate signal TERMINATE_YOURSELF
                                  2023-06-07 05:30:24.181 - info: host.ioBroker-dev stopInstance system.adapter.fronius.0 send kill signal
                                  2023-06-07 05:30:24.638 - info: fronius.0 (26043) terminating
                                  2023-06-07 05:30:24.639 - info: fronius.0 (26043) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  2023-06-07 05:30:24.833 - debug: fronius.0 (26043) GetArchiveData has thrown following error: AxiosError: Request failed with status code 404
                                  2023-06-07 05:30:25.159 - info: host.ioBroker-dev instance system.adapter.fronius.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                  2023-06-07 05:30:27.198 - info: host.ioBroker-dev instance system.adapter.fronius.0 started with pid 26922
                                  2023-06-07 05:30:27.525 - debug: fronius.0 (26922) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                  2023-06-07 05:30:27.538 - debug: fronius.0 (26922) Objects client ready ... initialize now
                                  2023-06-07 05:30:27.539 - debug: fronius.0 (26922) Objects create System PubSub Client
                                  2023-06-07 05:30:27.539 - debug: fronius.0 (26922) Objects create User PubSub Client
                                  2023-06-07 05:30:27.544 - debug: fronius.0 (26922) Objects client initialize lua scripts
                                  2023-06-07 05:30:27.546 - debug: fronius.0 (26922) Objects connected to redis: 127.0.0.1:9001
                                  2023-06-07 05:30:27.552 - debug: fronius.0 (26922) Redis States: Use Redis connection: 127.0.0.1:9000
                                  2023-06-07 05:30:27.555 - debug: fronius.0 (26922) States create System PubSub Client
                                  2023-06-07 05:30:27.556 - debug: fronius.0 (26922) States create User PubSub Client
                                  2023-06-07 05:30:27.602 - debug: fronius.0 (26922) States connected to redis: 127.0.0.1:9000
                                  2023-06-07 05:30:27.662 - info: fronius.0 (26922) starting. Version 2.0.1 in /opt/iobroker/node_modules/iobroker.fronius, node: v16.19.0, js-controller: 4.0.24
                                  2023-06-07 05:30:28.690 - debug: fronius.0 (26922) requestType https:// is not working! Now trying with http://
                                  2023-06-07 05:30:28.717 - debug: fronius.0 (26922) getLoggerInfo: v1/GetLoggerInfo.cgi request is not supported.
                                  2023-06-07 05:30:28.747 - debug: fronius.0 (26922) GetArchiveData has thrown following error: AxiosError: Request failed with status code 404
                                  2023-06-07 05:30:28.784 - debug: fronius.0 (26922) Object {} does not have a property UAC, therefore no State was created
                                  ..........
                                  2023-06-07 05:30:50.167 - debug: fronius.0 (26922) Property YEAR_ENERGY is null. No object created!
                                  2023-06-07 05:30:58.704 - debug: fronius.0 (26922) Object creation will be done for 0 times
                                  2023-06-07 05:30:58.895 - error: fronius.0 (26922) uncaught exception: Cannot convert undefined or null to object
                                  2023-06-07 05:30:58.896 - error: fronius.0 (26922) TypeError: Cannot convert undefined or null to object
                                  at hasOwnProperty ()
                                  at fillDataObject (/opt/iobroker/node_modules/iobroker.fronius/main.js:1145:41)
                                  at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.fronius/main.js:1195:13)
                                  at listOnTimeout (node:internal/timers:561:11)
                                  at processTimers (node:internal/timers:502:7)
                                  2023-06-07 05:30:58.896 - error: fronius.0 (26922) Cannot convert undefined or null to object
                                  2023-06-07 05:30:58.896 - error: fronius.0 (26922) uncaught exception: Cannot convert undefined or null to object
                                  2023-06-07 05:30:58.896 - error: fronius.0 (26922) TypeError: Cannot convert undefined or null to object
                                  at hasOwnProperty ()
                                  at fillDataObject (/opt/iobroker/node_modules/iobroker.fronius/main.js:1145:41)
                                  at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.fronius/main.js:1195:13)
                                  at listOnTimeout (node:internal/timers:561:11)
                                  at processTimers (node:internal/timers:502:7)
                                  2023-06-07 05:30:58.896 - error: fronius.0 (26922) Cannot convert undefined or null to object
                                  2023-06-07 05:30:59.403 - info: fronius.0 (26922) terminating
                                  2023-06-07 05:30:59.404 - warn: fronius.0 (26922) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                  2023-06-07 05:30:59.918 - error: host.ioBroker-dev instance system.adapter.fronius.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                  2023-06-07 05:30:59.918 - info: host.ioBroker-dev Restart adapter system.adapter.fronius.0 because enabled
                                  2023-06-07 05:31:29.934 - info: host.ioBroker-dev instance system.adapter.fronius.0 started with pid 26937
                                  2023-06-07 05:31:30.234 - debug: fronius.0 (26937) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                  2023-06-07 05:31:30.248 - debug: fronius.0 (26937) Objects client ready ... initialize now
                                  2023-06-07 05:31:30.249 - debug: fronius.0 (26937) Objects create System PubSub Client
                                  2023-06-07 05:31:30.249 - debug: fronius.0 (26937) Objects create User PubSub Client
                                  2023-06-07 05:31:30.254 - debug: fronius.0 (26937) Objects client initialize lua scripts
                                  2023-06-07 05:31:30.256 - debug: fronius.0 (26937) Objects connected to redis: 127.0.0.1:9001
                                  2023-06-07 05:31:30.262 - debug: fronius.0 (26937) Redis States: Use Redis connection: 127.0.0.1:9000
                                  2023-06-07 05:31:30.264 - debug: fronius.0 (26937) States create System PubSub Client
                                  2023-06-07 05:31:30.265 - debug: fronius.0 (26937) States create User PubSub Client
                                  2023-06-07 05:31:30.314 - debug: fronius.0 (26937) States connected to redis: 127.0.0.1:9000
                                  2023-06-07 05:31:30.366 - info: fronius.0 (26937) starting. Version 2.0.1 in /opt/iobroker/node_modules/iobroker.fronius, node: v16.19.0, js-controller: 4.0.24
                                  2023-06-07 05:31:31.391 - debug: fronius.0 (26937) requestType https:// is not working! Now trying with http://
                                  2023-06-07 05:31:31.411 - debug: fronius.0 (26937) getLoggerInfo: v1/GetLoggerInfo.cgi request is not supported.
                                  2023-06-07 05:31:31.422 - debug: fronius.0 (26937) GetArchiveData has thrown following error: AxiosError: Request failed with status code 404
                                  2023-06-07 05:31:31.429 - debug: fronius.0 (26937) Object {} does not have a property Enable, therefore no State was created
                                  2023-06-07 05:31:31.484 - debug: fronius.0 (26937) Property P_Akku is null. No object created!
                                  2023-06-07 05:31:31.484 - debug: fronius.0 (26937) Property E_Day is null. No object created!
                                  2023-06-07 05:31:31.484 - debug: fronius.0 (26937) Property E_Year is null. No object created!
                                  2023-06-07 05:31:31.484 - debug: fronius.0 (26937) Property rel_SelfConsumption is null. No object created!
                                  ...
                                  {"ErrorCode":1240,"InverterState":"Sleeping","StatusCode":13},"IAC":{"Unit":"A","Value":0},"IDC":{"Unit":"A","Value":0},"IDC_2":{"Unit":"A","Value":0},"IDC_3":{"Unit":"A","Value":null},"IDC_4":{"Unit":"A","Value":null},"PAC":{"Unit":"W","Value":0},"SAC":{"Unit":"VA","Value":0},"TOTAL_ENERGY":{"Unit":"Wh","Value":6044085.741666666},"UAC":{"Unit":"V","Value":0.027594637125730515},"UDC":{"Unit":"V","Value":146.51486206054688},"UDC_2":{"Unit":"V","Value":152.09059143066406},"UDC_3":{"Unit":"V","Value":null},"UDC_4":{"Unit":"V","Value":null},"YEAR_ENERGY":{"Unit":"Wh","Value":null}} does not have a property IAC_L1, therefore no State was created
                                  ........
                                  2023-06-07 05:31:31.858 - debug: fronius.0 (26937) Object {} does not have a property T_AMBIENT, therefore no State was created
                                  2023-06-07 05:31:32.432 - error: fronius.0 (26937) uncaught exception: Cannot convert undefined or null to object
                                  2023-06-07 05:31:32.432 - error: fronius.0 (26937) TypeError: Cannot convert undefined or null to object
                                  at hasOwnProperty ()
                                  at createStates (/opt/iobroker/node_modules/iobroker.fronius/lib/devObjects.js:474:41)
                                  at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.fronius/lib/devObjects.js:127:17)
                                  at listOnTimeout (node:internal/timers:561:11)
                                  at processTimers (node:internal/timers:502:7)
                                  2023-06-07 05:31:32.432 - error: fronius.0 (26937) Cannot convert undefined or null to object
                                  2023-06-07 05:31:32.484 - debug: fronius.0 (26937) API Objekt E_Day is null, no object created!
                                  2023-06-07 05:31:32.485 - debug: fronius.0 (26937) API Objekt E_Year is null, no object created!
                                  2023-06-07 05:31:32.485 - debug: fronius.0 (26937) API Objekt P_Akku is null, no object created!
                                  2023-06-07 05:31:32.485 - debug: fronius.0 (26937) API Objekt rel_SelfConsumption is null, no object created!
                                  2023-06-07 05:31:32.485 - debug: fronius.0 (26937) API Objekt E_Day is null, no object created!
                                  2023-06-07 05:31:32.485 - debug: fronius.0 (26937) API Objekt E_Year is null, no object created!
                                  2023-06-07 05:31:32.746 - debug: fronius.0 (26937) Property UAC_L1 is null. No object created!
                                  2023-06-07 05:31:32.746 - debug: fronius.0 (26937) Property UAC_L2 is null. No object created!
                                  2023-06-07 05:31:32.746 - debug: fronius.0 (26937) Property UAC_L3 is null. No object created!
                                  2023-06-07 05:31:32.822 - debug: fronius.0 (26937) Property DAY_ENERGY is null. No object created!
                                  2023-06-07 05:31:32.823 - debug: fronius.0 (26937) Property IDC_3 is null. No object created!
                                  2023-06-07 05:31:32.823 - debug: fronius.0 (26937) Property IDC_4 is null. No object created!
                                  2023-06-07 05:31:32.823 - debug: fronius.0 (26937) Property UDC_3 is null. No object created!
                                  2023-06-07 05:31:32.823 - debug: fronius.0 (26937) Property UDC_4 is null. No object created!
                                  2023-06-07 05:31:32.823 - debug: fronius.0 (26937) Property YEAR_ENERGY is null. No object created!
                                  2023-06-07 05:31:32.933 - info: fronius.0 (26937) terminating
                                  2023-06-07 05:31:32.934 - warn: fronius.0 (26937) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                  2023-06-07 05:31:33.447 - error: host.ioBroker-dev instance system.adapter.fronius.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                  2023-06-07 05:31:33.447 - info: host.ioBroker-dev Restart adapter system.adapter.fronius.0 because enabled
                                  2023-06-07 05:32:03.464 - info: host.ioBroker-dev instance system.adapter.fronius.0 started with pid 26952
                                  2023-06-07 05:32:03.766 - debug: fronius.0 (26952) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                  2023-06-07 05:32:03.780 - debug: fronius.0 (26952) Objects client ready ... initialize now
                                  2023-06-07 05:32:03.781 - debug: fronius.0 (26952) Objects create System PubSub Client
                                  2023-06-07 05:32:03.781 - debug: fronius.0 (26952) Objects create User PubSub Client
                                  2023-06-07 05:32:03.786 - debug: fronius.0 (26952) Objects client initialize lua scripts
                                  2023-06-07 05:32:03.788 - debug: fronius.0 (26952) Objects connected to redis: 127.0.0.1:9001
                                  2023-06-07 05:32:03.794 - debug: fronius.0 (26952) Redis States: Use Redis connection: 127.0.0.1:9000
                                  2023-06-07 05:32:03.796 - debug: fronius.0 (26952) States create System PubSub Client
                                  2023-06-07 05:32:03.796 - debug: fronius.0 (26952) States create User PubSub Client
                                  2023-06-07 05:32:03.841 - debug: fronius.0 (26952) States connected to redis: 127.0.0.1:9000
                                  2023-06-07 05:32:03.892 - info: fronius.0 (26952) starting. Version 2.0.1 in /opt/iobroker/node_modules/iobroker.fronius, node: v16.19.0, js-controller: 4.0.24
                                  2023-06-07 05:32:04.918 - debug: fronius.0 (26952) requestType https:// is not working! Now trying with http://
                                  2023-06-07 05:32:05.920 - error: fronius.0 (26952) IP is not a Fronius inverter
                                  2023-06-07 05:32:16.198 - debug: fronius.0 (26952) checkArchiveStatus has thrown following error: Error: connect EHOSTUNREACH 192.168.1.102:80
                                  2023-06-07 05:32:16.198 - debug: fronius.0 (26952) checkStatus has thrown following error: Error: connect EHOSTUNREACH 192.168.1.102:80
                                  2023-06-07 05:32:16.199 - debug: fronius.0 (26952) getLoggerInfo has thrown following error: Error: connect EHOSTUNREACH 192.168.1.102:80
                                  2023-06-07 05:32:16.199 - debug: fronius.0 (26952) checkStatus has thrown following error: Error: connect EHOSTUNREACH 192.168.1.102:80
                                  2023-06-07 05:32:28.997 - debug: fronius.0 (26952) checkStatus has thrown following error: Error: connect EHOSTUNREACH 192.168.1.102:80
                                  2023-06-07 05:32:38.981 - debug: fronius.0 (26952) checkStatus has thrown following error: Error: connect EHOSTUNREACH 192.168.1.102:80
                                  2023-06-07 05:32:48.997 - debug: fronius.0 (26952) checkStatus has thrown following error: Error: connect EHOSTUNREACH 192.168.1.102:80
                                  2023-06-07 05:32:58.981 - debug: fronius.0 (26952) checkStatus has thrown following error: Error: connect EHOSTUNREACH 192.168.1.102:80
                                  2023-06-07 05:33:08.996 - debug: fronius.0 (26952) checkStatus has thrown following error: Error: connect EHOSTUNREACH 192.168.1.102:80
                                  2023-06-07 05:33:15.932 - debug: fronius.0 (26952) checkStatus has thrown following error: Error: connect ECONNREFUSED 192.168.1.102:80
                                  2023-06-07 05:33:25.933 - debug: fronius.0 (26952) checkStatus has thrown following error: Error: connect ECONNREFUSED 192.168.1.102:80
                                  2023-06-07 05:33:35.934 - debug: fronius.0 (26952) checkStatus has thrown following error: Error: connect ECONNREFUSED 192.168.1.102:80
                                  
                                  2023-06-07 05:33:51.993 - debug: fronius.0 (26952) Object {"IAC_L1":{"Unit":"A","Value":0},"IAC_L2":{"Unit":"A","Value":0},"IAC_L3":{"Unit":"A","Value":0},"UAC_L1":{"Unit":"V","Value":null},"UAC_L2":{"Unit":"V","Value":null},"UAC_L3":{"Unit":"V","Value":null}} does not have a property UAC, therefore no State was created
                                  ...
                                  2023-06-07 05:33:53.069 - debug: fronius.0 (26952) Property YEAR_ENERGY is null. No object created!
                                  2023-06-07 05:33:53.129 - error: fronius.0 (26952) uncaught exception: Cannot convert undefined or null to object
                                  2023-06-07 05:33:53.129 - error: fronius.0 (26952) TypeError: Cannot convert undefined or null to object
                                  at hasOwnProperty ()
                                  at createStates (/opt/iobroker/node_modules/iobroker.fronius/lib/devObjects.js:474:41)
                                  at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.fronius/lib/devObjects.js:127:17)
                                  at listOnTimeout (node:internal/timers:561:11)
                                  at processTimers (node:internal/timers:502:7)
                                  2023-06-07 05:33:53.129 - error: fronius.0 (26952) Cannot convert undefined or null to object
                                  2023-06-07 05:33:53.208 - debug: fronius.0 (26952) API Objekt E_Day is null, no object created!
                                  2023-06-07 05:33:53.208 - debug: fronius.0 (26952) API Objekt E_Year is null, no object created!
                                  2023-06-07 05:33:53.209 - debug: fronius.0 (26952) API Objekt P_Akku is null, no object created!
                                  2023-06-07 05:33:53.209 - debug: fronius.0 (26952) API Objekt rel_SelfConsumption is null, no object created!
                                  2023-06-07 05:33:53.209 - debug: fronius.0 (26952) API Objekt E_Day is null, no object created!
                                  2023-06-07 05:33:53.209 - debug: fronius.0 (26952) API Objekt E_Year is null, no object created!
                                  2023-06-07 05:33:53.630 - info: fronius.0 (26952) terminating
                                  2023-06-07 05:33:53.630 - warn: fronius.0 (26952) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                  2023-06-07 05:33:54.146 - error: host.ioBroker-dev instance system.adapter.fronius.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                  2023-06-07 05:33:54.146 - info: host.ioBroker-dev Restart adapter system.adapter.fronius.0 because enabled
                                  2023-06-07 05:33:54.146 - warn: host.ioBroker-dev Do not restart adapter system.adapter.fronius.0 because restart loop detected
                                  

                                  Zur Erklärung:
                                  Für ein sauberes Protokoll habe ich zuerst das Log gelöscht und einen Restart des Adapters durchgeführt.
                                  Dann die Anlage runter gefahren und wieder gestartet.
                                  Am Ende ist der Adapter rot:
                                  069de71f-987c-4c90-8e36-69440c831f47-grafik.png

                                  D Homoran 2 Replies Last reply Reply Quote 0
                                  • D
                                    diwoma @diwoma last edited by diwoma

                                    @diwoma @nkleber
                                    Dazu noch etwas zum Verhalten des Restart-Prozesses:
                                    Das IP-Interface ist relativ schnell da, aber der Inverter selbst ist längere Zeit (mind. 30 sek) im Zustand angehalten.
                                    Das könnte dazu führen, dass einige der Abfragen beantwortet werden, aber die Abfragen die den Inverter selbst betrifft, eventuell nicht korrekt zurückkommen. was dann zur

                                    uncaught exception: Cannot convert undefined or null to object
                                    

                                    führen könnte. Vielleicht könntest Du im Debug noch die Abfrage mitloggen, damit man erkennen kann, welche Abfrage es ist.

                                    mcm1957 1 Reply Last reply Reply Quote 0
                                    • mcm1957
                                      mcm1957 @diwoma last edited by

                                      @diwoma
                                      Danke für die ausgezeichnete Dokumentation des Problems.
                                      Ich hab ein issue erstellt (https://github.com/iobroker-community-adapters/ioBroker.fronius/issues/313) und auf die Info hier verwiesen.

                                      mcm1957 created this issue in iobroker-community-adapters/ioBroker.fronius

                                      closed "uncaught exception: Cannot convert undefined or null to object" at fronius restart #313

                                      C 1 Reply Last reply Reply Quote 1
                                      • C
                                        c1olli @mcm1957 last edited by c1olli

                                        Anbei die Gegenüberstellung der beiden Adapter in ioBroker.
                                        Darstellung mit einem Inverter und einem String.
                                        Beim 1.xx Adapter fällt auf, dass viele Punkte doppelt sind. Daher fällt der 2.xx etwas schlanker aus.
                                        Fronius.xlsx

                                        nkleber 1 Reply Last reply Reply Quote 0
                                        • nkleber
                                          nkleber @c1olli last edited by

                                          @c1olli Kann es sein dass du bei der V1.xx schon die Version 1.1.6 oder gar die 1.2.0 drauf hattest? Die offizielle Version ohne Github war die 1.1.3 und da müsste die Struktur eigentlich noch etwas anders aussehen...

                                          C 1 Reply Last reply Reply Quote 0
                                          • C
                                            c1olli @nkleber last edited by c1olli

                                            @nkleber
                                            ich schau nochmal nach - vielleicht hab ich da was verbogen.
                                            Edit:
                                            Jepp da hatte ich wohl was ausprobiert.
                                            Jetzt sollte es aber stimmen
                                            Fronius.xlsx

                                            Im oberen Beitrag habe ich auch die aktuelle Tabelle angehängt

                                            D nkleber 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            890
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            25
                                            164
                                            14447
                                            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