Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter swiss-weather-api v0.1.x

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter swiss-weather-api v0.1.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      trasaonis @Al Bundy last edited by

      @Al-Bundy said in Test Adapter swiss-weather-api v0.1.x:
      ....

      Gibt es Probleme mit dem Adapter und der 12er Version?

      Hab das gleiche Problem seit dem Update. Adapter lässt dich nicht mehr starten.

      A 1 Reply Last reply Reply Quote 0
      • A
        Al Bundy @trasaonis last edited by

        @trasaonis
        Ich habe die Instanz und den Adapter deinstalliert und nochmals komplett neu installiert. Nun läuft es wieder.

        T 1 Reply Last reply Reply Quote 0
        • T
          trasaonis @Al Bundy last edited by

          @Al-Bundy
          Danke! Hat bei mir auch funktioniert. Bin leider erst jetzt dazugekommen Adapter und Instanz neu zu installieren. Läuft wieder!👍

          1 Reply Last reply Reply Quote 0
          • M
            M240-Swiss last edited by

            Hallo zusammen

            Als erstes: Ich bin noch Anfänger was iObroker angeht und falls der Beitrag hier nicht hingehört bitte verschieben.

            Ich konnte ioBroker auf einem Raspberry Pi 4 installieren und im Anschluss erste Adapter erfolgreich in Betrieb nehmen.
            Ich habe nun den swiss-weather Adapter installiert, Costumer-Key und - Secret eingegeben und auch die Koordinaten (innerhalb der Schweiz) eingetragen.
            Nun jedoch erscheinen mir im Log laufend Fehlermeldungen (siehe Spoiler unten)
            Hat mir dort jemand einen Tip? Besten Dank im Voraus und Gruss aus der Schweiz


            2020-07-22 21:00:01.447 - error: swiss-weather-api.0 (5701) uncaught exception: Cannot read property 'ttn' of undefined
            2020-07-22 21:00:01.448 - error: swiss-weather-api.0 (5701) TypeError: Cannot read property 'ttn' of undefined
            at IncomingMessage. (/opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:602:26)
            at IncomingMessage.emit (events.js:326:22)
            at endReadableNT (_stream_readable.js:1244:12)
            at processTicksAndRejections (internal/process/task_queues.js:80:21)
            2020-07-22 21:00:01.455 - error: swiss-weather-api.0 (5701) uncaught exception: Cannot read property '0' of undefined
            2020-07-22 21:00:01.459 - error: swiss-weather-api.0 (5701) TypeError: Cannot read property '0' of undefined
            at /opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:595:28
            at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3216:55
            at /opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93703
            at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
            at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49
            at processTicksAndRejections (internal/process/task_queues.js:93:5)
            2020-07-22 21:00:01.462 - info: swiss-weather-api.0 (5701) terminating
            2020-07-22 21:00:01.464 - info: swiss-weather-api.0 (5701) Terminated (NO_ERROR): Without reason
            2020-07-22 21:00:01.473 - error: swiss-weather-api.0 (5701) uncaught exception: Cannot read property 'smb3' of undefined
            2020-07-22 21:00:01.474 - error: swiss-weather-api.0 (5701) TypeError: Cannot read property 'smb3' of undefined
            at IncomingMessage. (/opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:1690:26)
            at IncomingMessage.emit (events.js:326:22)
            at endReadableNT (_stream_readable.js:1244:12)
            at processTicksAndRejections (internal/process/task_queues.js:80:21)
            2020-07-22 21:00:01.478 - error: swiss-weather-api.0 (5701) uncaught exception: Cannot read property 'toString' of undefined
            2020-07-22 21:00:01.479 - error: swiss-weather-api.0 (5701) TypeError: Cannot read property 'toString' of undefined
            at /opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:1664:34
            at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3216:55
            at /opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93703
            at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
            at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49
            at processTicksAndRejections (internal/process/task_queues.js:93:5)
            2020-07-22 21:00:01.481 - error: swiss-weather-api.0 (5701) uncaught exception: Cannot read property '0' of undefined
            2020-07-22 21:00:01.482 - error: swiss-weather-api.0 (5701) TypeError: Cannot read property '0' of undefined
            at /opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:1682:34
            at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3216:55
            at /opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93703
            at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
            at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49
            at processTicksAndRejections (internal/process/task_queues.js:93:5)
            2020-07-22 21:00:01.493 - error: swiss-weather-api.0 (5701) uncaught exception: Cannot convert undefined or null to object
            2020-07-22 21:00:01.494 - error: swiss-weather-api.0 (5701) TypeError: Cannot convert undefined or null to object
            at Function.keys ()
            at IncomingMessage. (/opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:1402:18)
            at IncomingMessage.emit (events.js:326:22)
            at endReadableNT (_stream_readable.js:1244:12)
            at processTicksAndRejections (internal/process/task_queues.js:80:21)
            2020-07-22 21:00:01.499 - error: swiss-weather-api.0 (5701) uncaught exception: Cannot read property 'ttn' of undefined
            2020-07-22 21:00:01.500 - error: swiss-weather-api.0 (5701) TypeError: Cannot read property 'ttn' of undefined
            at IncomingMessage. (/opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:191:26)
            at IncomingMessage.emit (events.js:326:22)
            at endReadableNT (_stream_readable.js:1244:12)
            at processTicksAndRejections (internal/process/task_queues.js:80:21)
            2020-07-22 21:00:01.505 - error: swiss-weather-api.0 (5701) uncaught exception: Cannot read property 'toString' of undefined
            2020-07-22 21:00:01.506 - error: swiss-weather-api.0 (5701) TypeError: Cannot read property 'toString' of undefined
            at /opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:1394:34
            at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3216:55
            at /opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93703
            at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
            at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49
            at processTicksAndRejections (internal/process/task_queues.js:93:5)
            2020-07-22 21:00:01.507 - error: swiss-weather-api.0 (5701) uncaught exception: Cannot read property 'toString' of undefined
            2020-07-22 21:00:01.508 - error: swiss-weather-api.0 (5701) TypeError: Cannot read property 'toString' of undefined
            at /opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:165:34
            at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3216:55
            at /opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93703
            at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
            at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49
            at processTicksAndRejections (internal/process/task_queues.js:93:5)
            2020-07-22 21:00:01.510 - error: swiss-weather-api.0 (5701) uncaught exception: Cannot read property 'date' of undefined
            2020-07-22 21:00:01.511 - error: swiss-weather-api.0 (5701) TypeError: Cannot read property 'date' of undefined
            at /opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:183:31
            at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3216:55
            at /opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93703
            at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
            at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49
            at processTicksAndRejections (internal/process/task_queues.js:93:5)
            2020-07-22 21:00:01.977 - info: host.raspberrypi instance system.adapter.swiss-weather-api.0 terminated with code 0 (NO_ERROR)

            S 1 Reply Last reply Reply Quote 0
            • S
              Slash12 @M240-Swiss last edited by Slash12

              @M240-Swiss:
              Ich bekomme das gleiche Problem und wäre auch sehr dankbar für einen Ratschlag. Ich habe V2.2 des Adapters installiert.
              Löschen der Instanz und anschliessende Neuinstallation des Adapters haben leider nichts bewirkt.


              swiss-weather-api.0 2020-07-23 12:34:02.024 error at process._tickCallback (internal/process/next_tick.js:68:7)
              swiss-weather-api.0 2020-07-23 12:34:02.024 error at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
              swiss-weather-api.0 2020-07-23 12:34:02.024 error at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
              swiss-weather-api.0 2020-07-23 12:34:02.024 error at (anonymous function).get (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93703)
              swiss-weather-api.0 2020-07-23 12:34:02.024 error at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3216:55)
              swiss-weather-api.0 2020-07-23 12:34:02.024 error at /opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:1682:34
              swiss-weather-api.0 2020-07-23 12:34:02.024 error (16834) TypeError: Cannot read property '0' of undefined
              swiss-weather-api.0 2020-07-23 12:34:02.023 error (16834) uncaught exception: Cannot read property '0' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.992 error at process._tickCallback (internal/process/next_tick.js:68:7)
              swiss-weather-api.0 2020-07-23 12:34:01.992 error at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
              swiss-weather-api.0 2020-07-23 12:34:01.992 error at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
              swiss-weather-api.0 2020-07-23 12:34:01.992 error at (anonymous function).get (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93703)
              swiss-weather-api.0 2020-07-23 12:34:01.992 error at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3216:55)
              swiss-weather-api.0 2020-07-23 12:34:01.992 error at /opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:1664:34
              swiss-weather-api.0 2020-07-23 12:34:01.992 error (16834) TypeError: Cannot read property 'toString' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.992 error (16834) uncaught exception: Cannot read property 'toString' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.991 error at process._tickCallback (internal/process/next_tick.js:68:7)
              swiss-weather-api.0 2020-07-23 12:34:01.991 error at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
              swiss-weather-api.0 2020-07-23 12:34:01.991 error at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
              swiss-weather-api.0 2020-07-23 12:34:01.991 error at (anonymous function).get (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93703)
              swiss-weather-api.0 2020-07-23 12:34:01.991 error at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3216:55)
              swiss-weather-api.0 2020-07-23 12:34:01.991 error at /opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:1394:34
              swiss-weather-api.0 2020-07-23 12:34:01.991 error (16834) TypeError: Cannot read property 'toString' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.990 error (16834) uncaught exception: Cannot read property 'toString' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.988 info (16834) Terminated (NO_ERROR): Without reason
              swiss-weather-api.0 2020-07-23 12:34:01.987 info (16834) terminating
              swiss-weather-api.0 2020-07-23 12:34:01.984 error at process._tickCallback (internal/process/next_tick.js:68:7)
              swiss-weather-api.0 2020-07-23 12:34:01.984 error at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
              swiss-weather-api.0 2020-07-23 12:34:01.984 error at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
              swiss-weather-api.0 2020-07-23 12:34:01.984 error at (anonymous function).get (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93703)
              swiss-weather-api.0 2020-07-23 12:34:01.984 error at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3216:55)
              swiss-weather-api.0 2020-07-23 12:34:01.984 error at /opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:595:28
              swiss-weather-api.0 2020-07-23 12:34:01.984 error (16834) TypeError: Cannot read property '0' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.984 error (16834) uncaught exception: Cannot read property '0' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.983 error at process._tickCallback (internal/process/next_tick.js:68:7)
              swiss-weather-api.0 2020-07-23 12:34:01.983 error at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
              swiss-weather-api.0 2020-07-23 12:34:01.983 error at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
              swiss-weather-api.0 2020-07-23 12:34:01.983 error at (anonymous function).get (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93703)
              swiss-weather-api.0 2020-07-23 12:34:01.983 error at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3216:55)
              swiss-weather-api.0 2020-07-23 12:34:01.983 error at /opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:183:31
              swiss-weather-api.0 2020-07-23 12:34:01.983 error (16834) TypeError: Cannot read property 'date' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.982 error (16834) uncaught exception: Cannot read property 'date' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.982 error at process._tickCallback (internal/process/next_tick.js:68:7)
              swiss-weather-api.0 2020-07-23 12:34:01.982 error at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
              swiss-weather-api.0 2020-07-23 12:34:01.982 error at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
              swiss-weather-api.0 2020-07-23 12:34:01.982 error at (anonymous function).get (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93703)
              swiss-weather-api.0 2020-07-23 12:34:01.982 error at adapterObjects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3216:55)
              swiss-weather-api.0 2020-07-23 12:34:01.982 error at /opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:165:34
              swiss-weather-api.0 2020-07-23 12:34:01.982 error (16834) TypeError: Cannot read property 'toString' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.978 error (16834) uncaught exception: Cannot read property 'toString' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.973 error at process._tickCallback (internal/process/next_tick.js:63:19)
              swiss-weather-api.0 2020-07-23 12:34:01.973 error at endReadableNT (_stream_readable.js:1143:12)
              swiss-weather-api.0 2020-07-23 12:34:01.973 error at IncomingMessage.emit (events.js:203:15)
              swiss-weather-api.0 2020-07-23 12:34:01.973 error at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:1690:26)
              swiss-weather-api.0 2020-07-23 12:34:01.973 error (16834) TypeError: Cannot read property 'smb3' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.973 error (16834) uncaught exception: Cannot read property 'smb3' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.965 error at process._tickCallback (internal/process/next_tick.js:63:19)
              swiss-weather-api.0 2020-07-23 12:34:01.965 error at endReadableNT (_stream_readable.js:1143:12)
              swiss-weather-api.0 2020-07-23 12:34:01.965 error at IncomingMessage.emit (events.js:203:15)
              swiss-weather-api.0 2020-07-23 12:34:01.965 error at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:1402:18)
              swiss-weather-api.0 2020-07-23 12:34:01.965 error at Function.keys (<anonymous>)
              swiss-weather-api.0 2020-07-23 12:34:01.965 error (16834) TypeError: Cannot convert undefined or null to object
              swiss-weather-api.0 2020-07-23 12:34:01.965 error (16834) uncaught exception: Cannot convert undefined or null to object
              swiss-weather-api.0 2020-07-23 12:34:01.961 error at process._tickCallback (internal/process/next_tick.js:63:19)
              swiss-weather-api.0 2020-07-23 12:34:01.961 error at endReadableNT (_stream_readable.js:1143:12)
              swiss-weather-api.0 2020-07-23 12:34:01.961 error at IncomingMessage.emit (events.js:203:15)
              swiss-weather-api.0 2020-07-23 12:34:01.961 error at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:602:26)
              swiss-weather-api.0 2020-07-23 12:34:01.961 error (16834) TypeError: Cannot read property 'ttn' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.960 error (16834) uncaught exception: Cannot read property 'ttn' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.952 error at process._tickCallback (internal/process/next_tick.js:63:19)
              swiss-weather-api.0 2020-07-23 12:34:01.952 error at endReadableNT (_stream_readable.js:1143:12)
              swiss-weather-api.0 2020-07-23 12:34:01.952 error at IncomingMessage.emit (events.js:203:15)
              swiss-weather-api.0 2020-07-23 12:34:01.952 error at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.swiss-weather-api/main.js:191:26)
              swiss-weather-api.0 2020-07-23 12:34:01.952 error (16834) TypeError: Cannot read property 'ttn' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.951 error (16834) uncaught exception: Cannot read property 'ttn' of undefined
              swiss-weather-api.0 2020-07-23 12:34:01.686 info (16834) Swiss-Weather-API: Start getWeatherInfos
              swiss-weather-api.0 2020-07-23 12:34:01.657 info (16834) starting. Version 0.2.2 in /opt/iobroker/node_modules/iobroker.swiss-weather-api, node: v10.17.0, js-controller: 3.1.6

              1 Reply Last reply Reply Quote 0
              • B
                baerengraben last edited by

                @M240-Swiss und @Slash12 :
                Diese Fehlermeldungen sind mir gestern auch aufgefallen.

                Gewisse Werte werden manchmal von SRF nicht geliefert (z.B. ttn). Das sollte eigentlich nicht vorkommen. In diesem Falle wirft der Adapter eine Exception und füllt den Wert nicht in das ioBroker-Objekt ab. Unschön ist die Exception. Ich muss wohl für eine nächste Version alle Werte überprüfen, bevor sie in die ioBroker-Objekte geschrieben werden. Dann würden diese Fehler nicht mehr auftauchen.

                Ich habe heute die dependencies aktualisiert und eine neue Version 0.2.3 erstellt. Könnt ihr bitte diese Version austesten? Bitte komplette reinstallation (löschen und neu installieren). Die neue Version sollte spätestens morgen im ioBroker (latest) erscheinen.

                Wenn etwas nicht gehen sollte, bitte den Adapter auf loglevel "debug" stellen und hier posten 🙂

                S M 2 Replies Last reply Reply Quote 0
                • S
                  Slash12 @baerengraben last edited by

                  @baerengraben
                  Vielen Dank für die schnelle Antwort. Ich habe es bei mir nun neu installiert und weiterhin den gleichen Fehler erhalten. Der Fehler lag aber bei mir, da ich beim Erzeugen meiner App dachte, dass ich eines der Meteo-Produkte wählen muss. Das hing dann in den Infos zur App immer auf "Pending". Nun habe ich auf "SRG-SSR-PUBLIC-API-V2" umgestellt und alles funktioniert bestens.

                  Vielen Dank.

                  1 Reply Last reply Reply Quote 0
                  • M
                    M240-Swiss @baerengraben last edited by

                    @baerengraben vielen Dank für deine Rückmeldung. Ich habe den Adapter nun nochmals installiert, jedoch zeigt es mir in ioBroker noch immer die Version 0.2.0 an. Kann ich dort irgendwie die neue Version wählen?

                    Auch werden mir dank @Slash12 Tip nun auch Werte in den Objekten angezeigt. Danke dafür

                    Gruss M240-Swiss

                    1 Reply Last reply Reply Quote 0
                    • B
                      baerengraben last edited by

                      @M240-Swiss
                      Wahrscheinlich hast du das "Stable"-Repo aktiv. Bisher war die neueste Version nur über das "Latest-Repo" installierbar. Ich habe aber heute die neueste Version 0.3.0 auch auf das "Stable"-Repo gepushed. Es wurde auch bereits verdankenswerterweise von @apollon77 übernommen. Die Version 0.3.0 sollte also ab morgen auch über das "Stable"-Repo verfügbar sein.

                      Ich werde den Tip von @Slash12 noch in die Dokumentation mit aufnehmen.

                      Hagbard Celine M 2 Replies Last reply Reply Quote 0
                      • Hagbard Celine
                        Hagbard Celine @baerengraben last edited by

                        @baerengraben mir ist auch ein Fehler aufgefallen, wenn ich den Adapter erneut installieren will bekomme ich folgende Fehlermeldung:

                        $ ./iobroker add swiss-weather-api --host brokerPI
                        NPM version: 6.14.4
                        npm install iobroker.swiss-weather-api@0.3.0 --loglevel error --prefix "/opt/iobroker" (System call)
                        node-pre-gyp
                        WARN Using request for node-pre-gyp https download
                        node-pre-gyp
                        http GET https://github.com/marudor/libxmljs2/releases/download/v0.26.0/node-v64-linux-arm-glibc.tar.gz
                        node-pre-gyp
                        http 404 https://github.com/marudor/libxmljs2/releases/download/v0.26.0/node-v64-linux-arm-glibc.tar.gznode-pre-gyp WARN Tried to download(404): https://github.com/marudor/libxmljs2/releases/download/v0.26.0/node-v64-linux-arm-glibc.tar.gz
                        node-pre-gyp WARN Pre-built binaries not found for libxmljs2@0.26.0 and node@10.21.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) node-pre-gyp http 404 status code downloading tarball https://github.com/marudor/libxmljs2/releases/download/v0.26.0/node-v64-linux-arm-glibc.tar.gz
                        In file included from ../src/libxmljs.h:5, from ../src/libxmljs.cc:7:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^
                        In file included from ../../nan/nan.h:54, from ../src/libxmljs.h:5, from ../src/libxmljs.cc:7:../src/libxmljs.cc: At global scope:/home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void ()(v8::Localv8::Object)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)

                        1 Reply Last reply Reply Quote 0
                        • M
                          M240-Swiss @baerengraben last edited by M240-Swiss

                          @baerengraben Nach kurzer ioBroker Pause habe ich nun weiter gemacht 🙂 Ich konnte auf die Version 0.3.1 updaten, es werden auch alle Datenpunkte angezeigt.
                          Nach dem Update erscheint mir nun jedoch jeweils im Log untenstehende Meldung. Was kann das bedeuten?
                          Besten Dank und Gruss

                          host.raspberrypi 2020-08-14 10:38:00.007 warn instance system.adapter.swiss-weather-api.0 already running with pid 2174

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            M240-Swiss @M240-Swiss last edited by M240-Swiss

                            Hallo zusammen
                            Obwohl die oben stehende Fehlermeldung im Log noch erscheint, scheint soweit alles zu funktionieren 🙂

                            Gibt es zu den jeweiligen Datenpunkte/Objekten irgendwo genauere Erläuterungen?
                            z.B wenn ich im 24hForecast schaue sind bei mir dort nur die "hour0" bis "hour7" aufgeführt.
                            Bedeuten die dort drin enthaltenen Werte (z.B. Temp) die Vorhersage von jetzt (hour0) bis in 7 Stunden?

                            Gruss und Danke

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              M240-Swiss @M240-Swiss last edited by

                              Hi zusammen

                              Hat jemand die 24h Vorhersage erfolgreich in Verwendung? Mir werden leider nur 7h angezeigt.

                              Und was kann ich gegen untenstehende Fehlermeldung unternehmen? 😳
                              „ instance system.adapter.swiss-weather-api.0 already running with pid 20094 „
                              Erscheint jede Stunde im Log

                              Besten Dank und Gruss

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                solarimpulse @M240-Swiss last edited by

                                @m240-swiss

                                Hallo
                                Ich habe ein Mail von developer.srgssr.ch erhalten. Siehe unten. Ändert sich dadurch etwas beim Benutzen des Adapters?

                                Danke und Gruss

                                Hi,

                                We are glad to inform you that we have published new APIs in our API portal. Please find the details below:

                                1. “SRF Weather API” (https://developer.srgssr.ch/apis/srf-weather)
                                2. “STXT Accessibility API” (https://developer.srgssr.ch/apis/stxt-accessibility/docs)

                                The “SRF Weather API” is strongly aligned with SRF Apple APP, SRF Google APP and SRF website.

                                We also would like to announce that we are decommissioning below two APIs:

                                1. “Weather-API (non-commercial)”

                                2. “Weather-API (commercial use)”

                                As a result, we will not allow any new registrations for above two APIs as per today. Existing apps using them will continue to work until the end of September 2021. This gives you ample time to change to the new SRF Weather API.

                                We strongly recommend existing app owners to migrate to “SRF Weather API Freemium” (or commercial packages respectively). For our “commercial use” customer, in case you need help, we could offer you a 15 min exchange slot to resolve queries. However, we think that the documentation of the new SRF Weather API is easy to understand:

                                B 1 Reply Last reply Reply Quote 0
                                • B
                                  baerengraben @solarimpulse last edited by baerengraben

                                  Hi @solarimpulse

                                  Ja, es kommt hier eine Änderung auf uns zu. Die SRG schaltet das bisherige API ab und installiert anstelle dessen ein neues API "SRF Weather API".

                                  Ich bin aktuell dabei den Adapter entsprechend umzuschreiben:
                                  https://github.com/baerengraben/ioBroker.swiss-weather-api/issues/35

                                  Es gibt, soweit ich bisher gesehen habe, zwei grosse Veränderungen:

                                  • Im Abo-Modell "Freemium" können neu nur noch 6x pro Tag Wetter-Daten abgefragt werden. Wenn man mehr möchte, kostet es.
                                  • Dafür werden mehr Wetter-Informationen zur Verfügung gestellt und diese sind wohl dann auch synchron mit den Wetter-Informationen auf SRF bzw. den SRF-Android und SRF-Apple Apps.
                                  • Neu werden auch Nacht-Icons zur Verfügung gestellt.

                                  Der aktuelle ioBroker Adapter wird so noch bis spätestens Ende September laufen.
                                  Sobald ich soweit bin (wird wohl noch 3-4 Wochen dauern) werde ich einen aktualisieren Adapter fürs Testing freigeben.

                                  baerengraben created this issue in baerengraben/ioBroker.swiss-weather-api

                                  closed API will be deprecated in 3 Months => New API https://developer.srgssr.ch/apis/srf-weather #35

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    baerengraben @baerengraben last edited by

                                    Seit heute sind es nicht mehr 6 Anfragen sonder 50 Anfragen pro Tag, die mit einem Freemium Abo möglich sein werden. Damit kann das Wetter alle halbe Stunde abgefragt werden (war bisher auch die Standard-Einstellung des Adapters). 👍

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      baerengraben last edited by baerengraben

                                      Hallo zusammen
                                      Ich habe heute den Adapter in der Version 0.9.0 auf npmjs https://www.npmjs.com/package/iobroker.swiss-weather-api released.
                                      Nun wird das neue API SRF Weater anstelle des alten APIs verwendet.
                                      Das neue API bietet deutlich mehr Datenpunkte und es werden jetzt auch Nacht-Icons zur Verfügung gestellt.
                                      Wer Lust hat, bitte testen! 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        baerengraben last edited by

                                        Seit heute ist Version 0.9.1 fürs Testen freigegeben. Happy testing 🙂

                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          bitstorm66 @baerengraben last edited by

                                          @baerengraben Sieht alles wunderbar aus und läuft. Aber ich vermisse die aktuelle Temperatur. Ist die nicht mehr verfügbar?

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            baerengraben @bitstorm66 last edited by

                                            @bitstorm66 Die aktuelle Temperatur (bzw. der aktuellste Datensatz inkl. aktuelle Temperatur) wird jede Stunde in das Objekt "swiss-weather-api.0.forecast.current_hour" geschrieben. Dieses Objekt wird aktuell beim ersten Start des Adapters noch nicht erstellt, sondern erst bei Anbruch der neuen Stunde. Ich hatte noch keine Zeit das auch beim Start einzubauen. Kommt aber noch (siehe https://github.com/baerengraben/ioBroker.swiss-weather-api/issues/42) 🙂

                                            baerengraben created this issue in baerengraben/ioBroker.swiss-weather-api

                                            closed show current hour as object #42

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            786
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter test weather
                                            17
                                            91
                                            8830
                                            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