Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [gelöst] Aktuelle Abfahrtszeiten Straßenbahn-Haltestelle einlesen ?!?

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Aktuelle Abfahrtszeiten Straßenbahn-Haltestelle einlesen ?!?

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

      @Ritschy2000:

      habe folgendes gemacht:

      im Bereich Adapter über:

      "installiere aus eigener URL" : https://github.com/kiliankoe/dvbjs installiert: `
      Das ist unnötig, da das NPM-Modul, das in der JS-Konfiguration neu eingetragen wird, automatisch installiert wird.
      @Ritschy2000:

      javascript.0 script.js.Straßenbahn.dvbs: Cannot find module 'bluebird' `
      Welche node-Version ? Auf Konsole prüfen mit node -v .

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

        ahhh, okay. war mir nicht bekannt, dass es durch den Eintrag mit installiert wird…

        Node Version ist 4.7.0

        welche Version wird empfohlen??

        1 Reply Last reply Reply Quote 0
        • paul53
          paul53 last edited by

          Version 4.7.0 sollte o.k. sein. Existiert bei Dir das Verzeichnis ?
          > ioBroker\node_modules\iobroker.javascript\node_modules\dvbjs\node_modules\bluebird
          Ich würde einen zweiten Versuch wagen: dvbjs aus der Konfig löschen und Adapter neu starten (speichern) und anschließend wieder dvbjs eintragen. Vielleicht wird das Modul 'bluebird' dann installiert ?

          Oder installiere 'bluebird' manuell

          npm install --save bluebird
          
          1 Reply Last reply Reply Quote 0
          • R
            Ritschy2000 last edited by

            geht leider immer noch nicht…

            bluebird war im Verzeichnis nicht vorhanden, habe es jetzt installiert:

            /opt/iobroker/node_modules/dvbjs/node_modules# ls

            bluebird proj4 request request-promise

            /opt/iobroker/node_modules/dvbjs/node_modules/bluebird# ls

            changelog.md js LICENSE package.json README.md

            sollte alles vorhanden sein. Reboot habe ich auch gemacht...

            Fehlermeldung bleibt: 😞

            javascript.0 script.js.dvbjs.dvbs: Cannot find module 'bluebird' at Module._compile (module.js:409:26), at Object.Module._extensions..js (module.js:416:10), at Module.load (module.js:343:32), at Function.Module._load (module.js:300:12), at Module.require (module.js:353:17), at require (internal/module.js:12:17), at Object. (/opt/iobroker/node_modules/iobroker.javascript/node_modules/dvbjs/index.js:6:14), at Module._compile (module.js:409:26), at Object.Module._extensions..js (module.js:416:10), at Module.load (module.js:343:32), at Function.Module._load (module.js:300:12), at Module.require (module.js:353:17), at require (internal/module.js:12:17), at sandbox.require (/opt/iobroker/node_modules/iobroker.javascript/javascript.js:748:32), at script.js.dvbjs.dvbs:1:11

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

              Jetzt habe ich es doch noch hinbekommen:

              unter opt/iobroker/node_modules/iobroker.javascript/node_modules/dvbjs/node_modules/

              Bluebird installiert, jetzt läuft es…

              VIELEN VIELEN DANK!

              Gruß

              1 Reply Last reply Reply Quote 0
              • paul53
                paul53 last edited by paul53

                @Ritschy2000:

                Jetzt habe ich es doch noch hinbekommen:

                Es freut mich, das zu lesen 😄

                Dann markiere bitte noch das Thema als gelöst (im ersten Beitrag).

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

                  erledigt. 🙂

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

                    hallo ich würde gerne so etwas mit dem VBN Haltestellenfahrplan umsetzen.

                    Kann mir jemand eine Möglichkeit nennen?

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

                      Hallo habe grad versucht das um zusetzen… Leider bleiben mir um Script die Zeiten für Abfahrten auf 00:00 stehen woran kann das liegen einer ne idee.

                      Liebe Grüße aus Dresden

                      1 Reply Last reply Reply Quote 0
                      • S
                        stubennatter last edited by

                        Hallo,

                        geht scheinbar nicht mehr oder?
                        Weil bekomme eine Fehlermeldung wenn ich per eigen URL installieren möchte:

                        Fertig mit Fehler: (node:13094) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this. at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15) at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14)

                        Gruß Micha

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        919
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        6
                        17
                        2754
                        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