Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. Anker Adapter

    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

    Anker Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ronny130286 @UweRLP last edited by

      @uwerlp said in Anker Adapter:

      User name and/or user password empty - please check instance configuration of ankersolix2.0

      Hast du die Daten im Adapter neu eingegeben?

      Weil er sagt: User name and/or user password empty - please check instance configuration of ankersolix2.0

      UweRLP 1 Reply Last reply Reply Quote 0
      • UweRLP
        UweRLP @ronny130286 last edited by

        @ronny130286 Vermutlich zu viel LOG, entschuldigung 😊
        In dem Log sieht man von oben nach unten die Deinstallation, neue Installation und den Aufruf zur Eingabe der Daten.

        Die Meldung kam nach der neuen Installation des Adapters, war/ist für mich auch klar weil in dem Moment noch keine Daten eingegeben waren.
        Die Daten sind aber eingegeben und gespeichert.

        Ab Zeile 73 im letzten Poste https://forum.iobroker.net/post/1278840 , zweites Log.

        2025-06-20 07:24:30.135  - info: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 in version "2.1.2" started with pid 10484
        2025-06-20 07:24:31.464  - info: ankersolix2.0 (10484) starting. Version 2.1.2 in c:/iobroker/node_modules/iobroker.ankersolix2, node: v22.16.0, js-controller: 7.0.7
        2025-06-20 07:24:31.475  - error: ankersolix2.0 (10484) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
        2025-06-20 07:24:31.475  - error: ankersolix2.0 (10484) unhandled promise rejection: Cannot read properties of undefined (reading 'toUpperCase')
        2025-06-20 07:24:31.476  - error: ankersolix2.0 (10484) TypeError: Cannot read properties of undefined (reading 'toUpperCase')
            at new SolixApi (c:\iobroker\node_modules\iobroker.ankersolix2\build\api.js:116:36)
            at Ankersolix2.loginAPI (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:84:16)
            at Ankersolix2.onReady (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:75:33)
            at Ankersolix2.emit (node:events:518:28)
            at Ankersolix2._callReadyHandler (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7857:12)
            at Ankersolix2._initAdapter (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7840:12)
        2025-06-20 07:24:31.476  - error: ankersolix2.0 (10484) Cannot read properties of undefined (reading 'toUpperCase')
        

        Bin kein Programmierer deswegen nur leihenhaftes Verständnis.
        "This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch()."
        Könnte das bedeuten, dass was nicht Syncron läuft bzw. was versucht wird bevor was andere fertig ist?

        Deutet 'toUpperCase' nicht auf Groß-/Kleinschreibung hin wobei es zu Problemen kommt?

        R 1 Reply Last reply Reply Quote 0
        • R
          ronny130286 @UweRLP last edited by

          @UweRLP
          Das "toUpperCase" wird benötigt um der Ländercode immer groß zu schreiben, jegliche Kleinschreibung wird zur Großschreibung bspw. de => DE, en => EN und so weiter
          Deshalb wundert es mich, dass er damit nicht umgehen kann, weil das schon immer vorhanden war.

          Der einzige Unterschied momentan wäre, du nutzt Nodejs 22 und ich 20.

          Hast du mit anderen Adaptern auch Probleme?

          Thomas Braun Homoran UweRLP 3 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @ronny130286 last edited by

            @ronny130286 sagte in Anker Adapter:

            Der einzige Unterschied momentan wäre, du nutzt Nodejs 22 und ich 20.

            Hier läuft der Adapter mit nodejs 20, 22 und 24.

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

              @ronny130286 sagte in Anker Adapter:

              Der einzige Unterschied momentan wäre, du nutzt

              ...windows

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

                @homoran

                stimmt, dann war es nicht der einzige Unterschied.

                1 Reply Last reply Reply Quote 0
                • V
                  Volker3.0 @ronny130286 last edited by

                  @ronny130286
                  Danke für die Antwort!
                  Bis wann denkst du, kannst du dir die API mal anschauen? Ich mache den Kauf des Anker von deinem Adapter abhängig, da ich die Steuerung über den ioBroker benötige 🫣😉

                  Gruß Volker

                  1 Reply Last reply Reply Quote 1
                  • UweRLP
                    UweRLP @ronny130286 last edited by UweRLP

                    @ronny130286 sagte in Anker Adapter:

                    Der einzige Unterschied momentan wäre, du nutzt Nodejs 22 und ich 20.

                    Habe nun nochmal die Instance und den Adapter gelöscht. Dann Node auf Version 20.19.3 downgrade.
                    Bekomme den Adapter nicht mehr zum laufen, hier nochmals Protokoll mit Node 20.19.3

                    2025-06-24 08:34:32.468 - info: host.DESKTOP-77OGRTU iobroker add ankersolix2 --host DESKTOP-77OGRTU
                    2025-06-24 08:34:34.443 - info: host.DESKTOP-77OGRTU iobroker NPM version: 10.8.2
                    2025-06-24 08:34:34.444 - info: host.DESKTOP-77OGRTU iobroker Installing iobroker.ankersolix2@2.1.2... (System call)
                    2025-06-24 08:34:56.771 - info: host.DESKTOP-77OGRTU iobroker
                    added 1 package, and audited 2663 packages in 22s
                    2025-06-24 08:34:56.771 - info: host.DESKTOP-77OGRTU iobroker
                    328 packages are looking for funding
                    run `npm fund` for details
                    2025-06-24 08:34:56.910 - info: host.DESKTOP-77OGRTU iobroker
                    112 vulnerabilities (9 low, 39 moderate, 54 high, 10 critical)
                    To address issues that do not require attention, run:
                    2025-06-24 08:34:56.911 - info: host.DESKTOP-77OGRTU iobroker npm audit fix
                    To address all issues possible (including breaking changes), run:
                    npm audit fix --force
                    Some issues need review, and may require choosing
                    a different dependency.
                    Run `npm audit` for details.
                    2025-06-24 08:34:56.940 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU install adapter ankersolix2
                    2025-06-24 08:34:57.009 - info: host.DESKTOP-77OGRTU iobroker upload [12] ankersolix2.admin c:/iobroker/node_modules/iobroker.ankersolix2/admin/ankersolix2.png ankersolix2.png image/png
                    2025-06-24 08:34:57.014 - info: host.DESKTOP-77OGRTU iobroker upload [11] ankersolix2.admin c:/iobroker/node_modules/iobroker.ankersolix2/admin/i18n/de/translations.json i18n/de/translations.json application/json
                    2025-06-24 08:34:57.019 - info: host.DESKTOP-77OGRTU iobroker upload [10] ankersolix2.admin c:/iobroker/node_modules/iobroker.ankersolix2/admin/i18n/en/translations.json i18n/en/translations.json application/json
                    2025-06-24 08:34:57.023 - info: host.DESKTOP-77OGRTU iobroker upload [9] ankersolix2.admin c:/iobroker/node_modules/iobroker.ankersolix2/admin/i18n/es/translations.json i18n/es/translations.json application/json
                    2025-06-24 08:34:57.027 - info: host.DESKTOP-77OGRTU iobroker upload [8] ankersolix2.admin c:/iobroker/node_modules/iobroker.ankersolix2/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                    2025-06-24 08:34:57.031 - info: host.DESKTOP-77OGRTU iobroker upload [7] ankersolix2.admin c:/iobroker/node_modules/iobroker.ankersolix2/admin/i18n/it/translations.json i18n/it/translations.json application/json
                    2025-06-24 08:34:57.035 - info: host.DESKTOP-77OGRTU iobroker upload [6] ankersolix2.admin c:/iobroker/node_modules/iobroker.ankersolix2/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                    2025-06-24 08:34:57.039 - info: host.DESKTOP-77OGRTU iobroker upload [5] ankersolix2.admin c:/iobroker/node_modules/iobroker.ankersolix2/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                    2025-06-24 08:34:57.043 - info: host.DESKTOP-77OGRTU iobroker upload [4] ankersolix2.admin c:/iobroker/node_modules/iobroker.ankersolix2/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                    2025-06-24 08:34:57.052 - info: host.DESKTOP-77OGRTU iobroker upload [3] ankersolix2.admin c:/iobroker/node_modules/iobroker.ankersolix2/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                    2025-06-24 08:34:57.056 - info: host.DESKTOP-77OGRTU iobroker upload [2] ankersolix2.admin c:/iobroker/node_modules/iobroker.ankersolix2/admin/i18n/uk/translations.json i18n/uk/translations.json application/json
                    2025-06-24 08:34:57.059 - info: host.DESKTOP-77OGRTU iobroker upload [1] ankersolix2.admin c:/iobroker/node_modules/iobroker.ankersolix2/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                    2025-06-24 08:34:57.063 - info: host.DESKTOP-77OGRTU iobroker upload [0] ankersolix2.admin c:/iobroker/node_modules/iobroker.ankersolix2/admin/jsonConfig.json jsonConfig.json application/json
                    2025-06-24 08:34:57.150 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2 created/updated
                    2025-06-24 08:34:57.151 - info: host.DESKTOP-77OGRTU iobroker Updating objects from io-package.json for adapter "ankersolix2" with version "2.1.2"
                    2025-06-24 08:34:57.225 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU create instance ankersolix2
                    2025-06-24 08:34:57.230 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.alive created
                    2025-06-24 08:34:57.232 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.connected created
                    2025-06-24 08:34:57.235 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.compactMode created
                    2025-06-24 08:34:57.238 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.cpu created
                    2025-06-24 08:34:57.241 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.cputime created
                    2025-06-24 08:34:57.244 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.memHeapUsed created
                    2025-06-24 08:34:57.246 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.memHeapTotal created
                    2025-06-24 08:34:57.249 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.memRss created
                    2025-06-24 08:34:57.252 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.uptime created
                    2025-06-24 08:34:57.254 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.inputCount created
                    2025-06-24 08:34:57.257 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.outputCount created
                    2025-06-24 08:34:57.259 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.eventLoopLag created
                    2025-06-24 08:34:57.262 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.sigKill created
                    2025-06-24 08:34:57.265 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0.logLevel created
                    2025-06-24 08:34:57.267 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object ankersolix2.0.info.apiconnection created
                    2025-06-24 08:34:57.269 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU Set default value of ankersolix2.0.info.apiconnection: false
                    2025-06-24 08:34:57.274 - info: host.DESKTOP-77OGRTU iobroker host.DESKTOP-77OGRTU object system.adapter.ankersolix2.0 created
                    2025-06-24 08:34:58.334 - info: host.DESKTOP-77OGRTU iobroker exit 0
                    2025-06-24 08:35:00.625 - info: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 in version "2.1.2" started with pid 8744
                    2025-06-24 08:35:02.126 - info: ankersolix2.0 (8744) starting. Version 2.1.2 in c:/iobroker/node_modules/iobroker.ankersolix2, node: v20.19.3, js-controller: 7.0.7
                    2025-06-24 08:35:02.134 - error: ankersolix2.0 (8744) User name and/or user password empty - please check instance configuration of ankersolix2.0
                    2025-06-24 08:35:06.370 - info: homee.0 (5284) initialize 1 nodes
                    2025-06-24 08:35:35.057 - info: host.DESKTOP-77OGRTU stopInstance system.adapter.ankersolix2.0 (force=false, process=true)
                    2025-06-24 08:35:35.050 - info: ankersolix2.0 (8744) Got terminate signal TERMINATE_YOURSELF
                    2025-06-24 08:35:35.059 - info: host.DESKTOP-77OGRTU stopInstance system.adapter.ankersolix2.0 send kill signal
                    2025-06-24 08:35:35.050 - info: ankersolix2.0 (8744) terminating
                    2025-06-24 08:35:35.051 - info: ankersolix2.0 (8744) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                    2025-06-24 08:35:35.552 - info: ankersolix2.0 (8744) terminating
                    2025-06-24 08:35:35.644 - info: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                    2025-06-24 08:35:38.952 - info: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 in version "2.1.2" started with pid 9192
                    2025-06-24 08:35:40.231 - info: ankersolix2.0 (9192) starting. Version 2.1.2 in c:/iobroker/node_modules/iobroker.ankersolix2, node: v20.19.3, js-controller: 7.0.7
                    2025-06-24 08:35:40.242 - error: ankersolix2.0 (9192) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                    2025-06-24 08:35:40.242 - error: ankersolix2.0 (9192) unhandled promise rejection: Cannot read properties of undefined (reading 'toUpperCase')
                    2025-06-24 08:35:40.244 - error: ankersolix2.0 (9192) TypeError: Cannot read properties of undefined (reading 'toUpperCase')
                    at new SolixApi (c:\iobroker\node_modules\iobroker.ankersolix2\build\api.js:116:36)
                    at Ankersolix2.loginAPI (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:84:16)
                    at Ankersolix2.onReady (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:75:33)
                    at Ankersolix2.emit (node:events:524:28)
                    at Ankersolix2._callReadyHandler (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7857:12)
                    at Ankersolix2._initAdapter (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7840:12)
                    2025-06-24 08:35:40.244 - error: ankersolix2.0 (9192) Cannot read properties of undefined (reading 'toUpperCase')
                    2025-06-24 08:35:40.268 - info: ankersolix2.0 (9192) terminating
                    2025-06-24 08:35:40.269 - warn: ankersolix2.0 (9192) Terminated (UNCAUGHT_EXCEPTION): Without reason
                    2025-06-24 08:35:40.775 - info: ankersolix2.0 (9192) terminating
                    2025-06-24 08:35:40.866 - error: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                    2025-06-24 08:35:40.866 - info: host.DESKTOP-77OGRTU Restart adapter system.adapter.ankersolix2.0 because enabled
                    2025-06-24 08:36:00.977 - info: host.DESKTOP-77OGRTU "system.adapter.ankersolix2.0" disabled
                    2025-06-24 08:36:12.750 - error: ankersolix2.0 (7836) adapter disabled
                    2025-06-24 08:36:12.757 - warn: ankersolix2.0 (7836) Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason
                    2025-06-24 08:36:13.384 - error: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 terminated with code 3 (NO_ADAPTER_CONFIG_FOUND)
                    2025-06-24 08:36:13.385 - info: host.DESKTOP-77OGRTU Do not restart adapter system.adapter.ankersolix2.0 because disabled or deleted
                    2025-06-24 08:36:17.332 - info: host.DESKTOP-77OGRTU "system.adapter.ankersolix2.0" enabled
                    2025-06-24 08:36:17.855 - info: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 in version "2.1.2" started with pid 4040
                    2025-06-24 08:36:19.138 - info: ankersolix2.0 (4040) starting. Version 2.1.2 in c:/iobroker/node_modules/iobroker.ankersolix2, node: v20.19.3, js-controller: 7.0.7
                    2025-06-24 08:36:19.148 - error: ankersolix2.0 (4040) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                    2025-06-24 08:36:19.148 - error: ankersolix2.0 (4040) unhandled promise rejection: Cannot read properties of undefined (reading 'toUpperCase')
                    2025-06-24 08:36:19.149 - error: ankersolix2.0 (4040) TypeError: Cannot read properties of undefined (reading 'toUpperCase')
                    at new SolixApi (c:\iobroker\node_modules\iobroker.ankersolix2\build\api.js:116:36)
                    at Ankersolix2.loginAPI (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:84:16)
                    at Ankersolix2.onReady (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:75:33)
                    at Ankersolix2.emit (node:events:524:28)
                    at Ankersolix2._callReadyHandler (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7857:12)
                    at Ankersolix2._initAdapter (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7840:12)
                    2025-06-24 08:36:19.149 - error: ankersolix2.0 (4040) Cannot read properties of undefined (reading 'toUpperCase')
                    2025-06-24 08:36:19.152 - info: ankersolix2.0 (4040) terminating
                    2025-06-24 08:36:19.152 - warn: ankersolix2.0 (4040) Terminated (UNCAUGHT_EXCEPTION): Without reason
                    2025-06-24 08:36:19.666 - info: ankersolix2.0 (4040) terminating
                    2025-06-24 08:36:19.756 - error: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                    2025-06-24 08:36:19.756 - info: host.DESKTOP-77OGRTU Restart adapter system.adapter.ankersolix2.0 because enabled
                    2025-06-24 08:36:50.113 - info: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 in version "2.1.2" started with pid 4608
                    2025-06-24 08:36:51.397 - info: ankersolix2.0 (4608) starting. Version 2.1.2 in c:/iobroker/node_modules/iobroker.ankersolix2, node: v20.19.3, js-controller: 7.0.7
                    2025-06-24 08:36:51.407 - error: ankersolix2.0 (4608) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                    2025-06-24 08:36:51.408 - error: ankersolix2.0 (4608) unhandled promise rejection: Cannot read properties of undefined (reading 'toUpperCase')
                    2025-06-24 08:36:51.409 - error: ankersolix2.0 (4608) TypeError: Cannot read properties of undefined (reading 'toUpperCase')
                    at new SolixApi (c:\iobroker\node_modules\iobroker.ankersolix2\build\api.js:116:36)
                    at Ankersolix2.loginAPI (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:84:16)
                    at Ankersolix2.onReady (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:75:33)
                    at Ankersolix2.emit (node:events:524:28)
                    at Ankersolix2._callReadyHandler (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7857:12)
                    at Ankersolix2._initAdapter (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7840:12)
                    2025-06-24 08:36:51.409 - error: ankersolix2.0 (4608) Cannot read properties of undefined (reading 'toUpperCase')
                    2025-06-24 08:36:51.411 - info: ankersolix2.0 (4608) terminating
                    2025-06-24 08:36:51.412 - warn: ankersolix2.0 (4608) Terminated (UNCAUGHT_EXCEPTION): Without reason
                    2025-06-24 08:36:51.914 - info: ankersolix2.0 (4608) terminating
                    2025-06-24 08:36:52.012 - error: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                    2025-06-24 08:36:52.012 - info: host.DESKTOP-77OGRTU Restart adapter system.adapter.ankersolix2.0 because enabled
                    2025-06-24 08:36:52.012 - warn: host.DESKTOP-77OGRTU Do not restart adapter system.adapter.ankersolix2.0 because restart loop detected
                    2025-06-24 08:36:52.021 - info: notification-manager.0 (9232) Send notification "system.restartLoop" to "email.0"
                    2025-06-24 08:37:08.808 - info: host.DESKTOP-77OGRTU "system.adapter.ankersolix2.0" disabled
                    2025-06-24 08:37:30.221 - info: host.DESKTOP-77OGRTU "system.adapter.ankersolix2.0" enabled
                    2025-06-24 08:37:30.753 - info: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 in version "2.1.2" started with pid 10260
                    2025-06-24 08:37:32.013 - info: ankersolix2.0 (10260) starting. Version 2.1.2 in c:/iobroker/node_modules/iobroker.ankersolix2, node: v20.19.3, js-controller: 7.0.7
                    2025-06-24 08:37:32.024 - error: ankersolix2.0 (10260) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                    2025-06-24 08:37:32.024 - error: ankersolix2.0 (10260) unhandled promise rejection: Cannot read properties of undefined (reading 'toUpperCase')
                    2025-06-24 08:37:32.025 - error: ankersolix2.0 (10260) TypeError: Cannot read properties of undefined (reading 'toUpperCase')
                    at new SolixApi (c:\iobroker\node_modules\iobroker.ankersolix2\build\api.js:116:36)
                    at Ankersolix2.loginAPI (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:84:16)
                    at Ankersolix2.onReady (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:75:33)
                    at Ankersolix2.emit (node:events:524:28)
                    at Ankersolix2._callReadyHandler (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7857:12)
                    at Ankersolix2._initAdapter (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7840:12)
                    2025-06-24 08:37:32.025 - error: ankersolix2.0 (10260) Cannot read properties of undefined (reading 'toUpperCase')
                    2025-06-24 08:37:32.028 - info: ankersolix2.0 (10260) terminating
                    2025-06-24 08:37:32.028 - warn: ankersolix2.0 (10260) Terminated (UNCAUGHT_EXCEPTION): Without reason
                    2025-06-24 08:37:32.539 - info: ankersolix2.0 (10260) terminating
                    2025-06-24 08:37:32.618 - error: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                    2025-06-24 08:37:32.619 - info: host.DESKTOP-77OGRTU Restart adapter system.adapter.ankersolix2.0 because enabled
                    2025-06-24 08:37:43.350 - info: host.DESKTOP-77OGRTU "system.adapter.ankersolix2.0" disabled
                    2025-06-24 08:38:04.162 - error: ankersolix2.0 (12256) adapter disabled
                    2025-06-24 08:38:04.170 - warn: ankersolix2.0 (12256) Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason
                    2025-06-24 08:38:04.760 - error: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 terminated with code 3 (NO_ADAPTER_CONFIG_FOUND)
                    2025-06-24 08:38:04.760 - info: host.DESKTOP-77OGRTU Do not restart adapter system.adapter.ankersolix2.0 because disabled or deleted
                    2025-06-24 08:40:00.108 - info: host.DESKTOP-77OGRTU "system.adapter.ankersolix2.0" enabled
                    2025-06-24 08:40:00.644 - info: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 in version "2.1.2" started with pid 2652
                    2025-06-24 08:40:01.532 - debug: ankersolix2.0 (2652) Redis Objects: Use Redis connection: 127.0.0.1:9001
                    2025-06-24 08:40:01.564 - debug: ankersolix2.0 (2652) Objects client ready ... initialize now
                    2025-06-24 08:40:01.565 - debug: ankersolix2.0 (2652) Objects create System PubSub Client
                    2025-06-24 08:40:01.565 - debug: ankersolix2.0 (2652) Objects create User PubSub Client
                    2025-06-24 08:40:01.629 - debug: ankersolix2.0 (2652) Objects client initialize lua scripts
                    2025-06-24 08:40:01.635 - debug: ankersolix2.0 (2652) Objects connected to redis: 127.0.0.1:9001
                    2025-06-24 08:40:01.684 - debug: ankersolix2.0 (2652) Redis States: Use Redis connection: 127.0.0.1:9000
                    2025-06-24 08:40:01.708 - debug: ankersolix2.0 (2652) States create System PubSub Client
                    2025-06-24 08:40:01.708 - debug: ankersolix2.0 (2652) States create User PubSub Client
                    2025-06-24 08:40:01.757 - debug: ankersolix2.0 (2652) States connected to redis: 127.0.0.1:9000
                    2025-06-24 08:40:01.830 - info: ankersolix2.0 (2652) starting. Version 2.1.2 in c:/iobroker/node_modules/iobroker.ankersolix2, node: v20.19.3, js-controller: 7.0.7
                    2025-06-24 08:40:01.839 - error: ankersolix2.0 (2652) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                    2025-06-24 08:40:01.840 - error: ankersolix2.0 (2652) unhandled promise rejection: Cannot read properties of undefined (reading 'toUpperCase')
                    2025-06-24 08:40:01.841 - error: ankersolix2.0 (2652) TypeError: Cannot read properties of undefined (reading 'toUpperCase')
                    at new SolixApi (c:\iobroker\node_modules\iobroker.ankersolix2\build\api.js:116:36)
                    at Ankersolix2.loginAPI (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:84:16)
                    at Ankersolix2.onReady (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:75:33)
                    at Ankersolix2.emit (node:events:524:28)
                    at Ankersolix2._callReadyHandler (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7857:12)
                    at Ankersolix2._initAdapter (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7840:12)
                    2025-06-24 08:40:01.841 - error: ankersolix2.0 (2652) Cannot read properties of undefined (reading 'toUpperCase')
                    2025-06-24 08:40:01.843 - info: ankersolix2.0 (2652) terminating
                    2025-06-24 08:40:01.843 - warn: ankersolix2.0 (2652) Terminated (UNCAUGHT_EXCEPTION): Without reason
                    2025-06-24 08:40:02.350 - info: ankersolix2.0 (2652) terminating
                    2025-06-24 08:40:02.454 - error: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                    2025-06-24 08:40:02.455 - info: host.DESKTOP-77OGRTU Restart adapter system.adapter.ankersolix2.0 because enabled
                    2025-06-24 08:40:32.861 - info: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 in version "2.1.2" started with pid 5592
                    2025-06-24 08:40:33.852 - debug: ankersolix2.0 (5592) Redis Objects: Use Redis connection: 127.0.0.1:9001
                    2025-06-24 08:40:33.879 - debug: ankersolix2.0 (5592) Objects client ready ... initialize now
                    2025-06-24 08:40:33.880 - debug: ankersolix2.0 (5592) Objects create System PubSub Client
                    2025-06-24 08:40:33.881 - debug: ankersolix2.0 (5592) Objects create User PubSub Client
                    2025-06-24 08:40:33.936 - debug: ankersolix2.0 (5592) Objects client initialize lua scripts
                    2025-06-24 08:40:33.940 - debug: ankersolix2.0 (5592) Objects connected to redis: 127.0.0.1:9001
                    2025-06-24 08:40:33.978 - debug: ankersolix2.0 (5592) Redis States: Use Redis connection: 127.0.0.1:9000
                    2025-06-24 08:40:34.007 - debug: ankersolix2.0 (5592) States create System PubSub Client
                    2025-06-24 08:40:34.008 - debug: ankersolix2.0 (5592) States create User PubSub Client
                    2025-06-24 08:40:34.052 - debug: ankersolix2.0 (5592) States connected to redis: 127.0.0.1:9000
                    2025-06-24 08:40:34.127 - info: ankersolix2.0 (5592) starting. Version 2.1.2 in c:/iobroker/node_modules/iobroker.ankersolix2, node: v20.19.3, js-controller: 7.0.7
                    2025-06-24 08:40:34.137 - error: ankersolix2.0 (5592) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                    2025-06-24 08:40:34.137 - error: ankersolix2.0 (5592) unhandled promise rejection: Cannot read properties of undefined (reading 'toUpperCase')
                    2025-06-24 08:40:34.138 - error: ankersolix2.0 (5592) TypeError: Cannot read properties of undefined (reading 'toUpperCase')
                    at new SolixApi (c:\iobroker\node_modules\iobroker.ankersolix2\build\api.js:116:36)
                    at Ankersolix2.loginAPI (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:84:16)
                    at Ankersolix2.onReady (c:\iobroker\node_modules\iobroker.ankersolix2\build\main.js:75:33)
                    at Ankersolix2.emit (node:events:524:28)
                    at Ankersolix2._callReadyHandler (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7857:12)
                    at Ankersolix2._initAdapter (c:\iobroker\node_modules\@iobroker\js-controller-adapter\build\cjs\lib\adapter\adapter.js:7840:12)
                    2025-06-24 08:40:34.138 - error: ankersolix2.0 (5592) Cannot read properties of undefined (reading 'toUpperCase')
                    2025-06-24 08:40:34.172 - info: ankersolix2.0 (5592) terminating
                    2025-06-24 08:40:34.172 - warn: ankersolix2.0 (5592) Terminated (UNCAUGHT_EXCEPTION): Without reason
                    2025-06-24 08:40:34.679 - info: ankersolix2.0 (5592) terminating
                    2025-06-24 08:40:34.760 - error: host.DESKTOP-77OGRTU instance system.adapter.ankersolix2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                    2025-06-24 08:40:34.760 - info: host.DESKTOP-77OGRTU Restart adapter system.adapter.ankersolix2.0 because enabled
                    2025-06-24 08:40:34.760 - warn: host.DESKTOP-77OGRTU Do not restart adapter system.adapter.ankersolix2.0 because restart loop detected
                    
                    

                    Hast du mit anderen Adaptern auch Probleme?

                    Nein keine.

                    Ich habe auch die Version 2.1.1 vom Adapter getestet, läuft auch nicht.
                    Was mich verwundert, der Adapter lief ja schon mal hatte aber das Problem mit dem Login/Token. Nun bekomme ich noch nicht mal mehr den Adapter zum laufen, wird nicht grün.

                    @homoran sagte in Anker Adapter:

                    @ronny130286 sagte in Anker Adapter:

                    Der einzige Unterschied momentan wäre, du nutzt

                    ...windows

                    Ja, System läuft unter Windows 10 x64

                    Wenn keiner eine Idee hat gebe ich jetzt erst mal auf. Ich komme leider nicht weiter.
                    @ronny130286 Wenn dir noch was einfällt oder du was versuchen möchtes bitte bescheit geben. Aktuell ist der Adapter deinstalliert. Wenn du magst stelle ich dir auch gerne die Logindaten für den Gast Account per PM zur Verfügung.

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      ronny130286 @UweRLP last edited by ronny130286

                      @UweRLP

                      der Gast Account funktioniert aber, wenn du den in der App benutzt oder?
                      Also du hast ihn eingeladen und im Gast-Account die Einladung auch angenommen, richtig?

                      UweRLP 1 Reply Last reply Reply Quote 0
                      • UweRLP
                        UweRLP @ronny130286 last edited by UweRLP

                        @ronny130286 Der Gast Account funktioniert in der App. Habe der Einladung zugestimmt und konnte die Werte in der App darstellen. Den Gast Account habe ich dann wieder in der App abgemeldet und seidem nur noch für ioBroker verwendet.

                        Ups, sehe gerade das ich nicht gemeint war 😊

                        1 Reply Last reply Reply Quote 0
                        • R
                          ronny130286 last edited by ronny130286

                          @uwerlp
                          Alles gut, ich meinte schon dich... hab scheinbar aufs falsche Reply gedrückt.
                          Hast du irgendwelche speziellen Konfigurationen für den Windows Rechner/Server?

                          Weiterhin auf welches Ankerserver bist du unterwegs, hast du den im Adapter richtig konfiguriert?
                          ankerserver.PNG

                          UweRLP 1 Reply Last reply Reply Quote 0
                          • M
                            mabeca96 last edited by

                            Hallo,

                            erst einmal vielen Dank für den Adapter.
                            kann man den Adapter noch mit den SmartPlug von Anker verbinden, um diese zu steuern?

                            1 Reply Last reply Reply Quote 0
                            • UweRLP
                              UweRLP @ronny130286 last edited by

                              @ronny130286 sagte in Anker Adapter:

                              Hast du irgendwelche speziellen Konfigurationen für den Windows Rechner/Server?

                              Nichts was mir bekannt ist.

                              Weiterhin auf welches Ankerserver bist du unterwegs, hast du den im Adapter richtig konfiguriert?
                              ankerserver.PNG

                              Ja diese Einstellung nutze ich.

                              1 Reply Last reply Reply Quote 0
                              • V
                                Volker3.0 last edited by

                                Hallo,

                                was ist denn eurer Erfahrung nach im Adapter die minimalste Abfragezeit, wo der Account nicht gesperrt wird?
                                Gehen 20 Sekunden oder minimum 30 Sekunden?

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                936
                                Online

                                31.8k
                                Users

                                80.0k
                                Topics

                                1.3m
                                Posts

                                43
                                263
                                38101
                                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