Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [Neuer Adapter] radar-trap

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Neuer Adapter] radar-trap

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

      Also bei mir tritt das VIS-Problem ja auch auf, nutze aber weder Docker noch Proxy. Die Routenerstellung funktioniert jedoch und der Feathers-Port ist verfügbar.

      carsten04 1 Reply Last reply Reply Quote 0
      • carsten04
        carsten04 Developer @oxident last edited by

        @oxident Du siehst dann im Admin unter Karten auch die eingegebenen Routen und die Hindernisse, richtig?

        O 1 Reply Last reply Reply Quote 0
        • O
          oxident @carsten04 last edited by

          @carsten04 Ja, soweit alles ok!

          carsten04 1 Reply Last reply Reply Quote 0
          • carsten04
            carsten04 Developer @oxident last edited by

            @oxident Kannst Du mal bitte bei offener Dev-Konsole die VIS-Runtime mit F5 aktualisieren und vorher ein map-Widget auf die view ziehen und die Ausgabe (also nach Aktualisierung mit F5) dann hier posten.

            O 1 Reply Last reply Reply Quote 0
            • O
              Oli @carsten04 last edited by

              @carsten04
              es wird immer kurioser, Routen kann ich jetzt anlegen, allerdings nur mit folgender Web Adapter Einstellungen
              3b339cb0-baf4-40c8-99db-c781683d9141-image.png

              Mit allen anderen Einstellungen funktioniert es nicht!!!!!

              Dann bekomme ich aber folgende Fehlermeldungen im VIS Editor

              VM2282:410 Uncaught (in promise) SyntaxError: Expected double-quoted property name in JSON at position 247968
                 at JSON.parse (<anonymous>)
                 at getTranslation (info.js:13:47)
              getTranslation @ info.js:13
              await in getTranslation (async)
              (anonym) @ info.js:6
              jquery-1.11.2.min.js:4          GET http://192.168.2.120:8082/vis/adapter/rssfeed/words.js 404 (Not Found)
              send @ jquery-1.11.2.min.js:4
              ajax @ jquery-1.11.2.min.js:4
              m.<computed> @ jquery-1.11.2.min.js:4
              (anonym) @ rssfeed.js:15
              index.js:83          GET http://192.168.2.120:8082/socket.io/?key=nokey&EIO=3&transport=polling&t=OOy4utq 404 (Not Found)
              i.create @ index.js:83
              i @ index.js:83
              o.request @ index.js:83
              o.doPoll @ index.js:83
              r.poll @ index.js:83
              r.doOpen @ index.js:83
              r.open @ index.js:83
              r.open @ index.js:83
              r @ index.js:83
              r @ index.js:83
              r.open.r.connect @ index.js:83
              r @ index.js:83
              r @ index.js:83
              r @ index.js:83
              init @ conn.js:266
              main @ vis.js:3649
              (anonym) @ vis.js:3935
              j @ jquery-1.11.2.min.js:2
              fireWith @ jquery-1.11.2.min.js:2
              ready @ jquery-1.11.2.min.js:2
              J @ jquery-1.11.2.min.js:2
              index.js:83          GET http://192.168.2.120:8082/socket.io/?key=nokey&EIO=3&transport=polling&t=OOy4xWa 404 (Not Found)
              i.create @ index.js:83
              i @ index.js:83
              o.request @ index.js:83
              o.doPoll @ index.js:83
              r.poll @ index.js:83
              r.doOpen @ index.js:83
              r.open @ index.js:83
              r.open @ index.js:83
              r @ index.js:83
              r @ index.js:83
              r.open.r.connect @ index.js:83
              r.open.r.connect @ index.js:83
              (anonym) @ conn.js:158
              setInterval (async)
              reconnect @ conn.js:156
              (anonym) @ conn.js:363
              r.emit @ index.js:83
              r.emit @ index.js:83
              r.emitAll @ index.js:83
              (anonym) @ index.js:83
              r.emit @ index.js:83
              r.onError @ index.js:83
              (anonym) @ index.js:83
              r.emit @ index.js:83
              r.onError @ index.js:83
              (anonym) @ index.js:83
              r.emit @ index.js:83
              i.onError @ index.js:83
              (anonym) @ index.js:83
              setTimeout (async)
              hasXDR.e.onreadystatechange @ index.js:83
              XMLHttpRequest.send (async)
              i.create @ index.js:83
              i @ index.js:83
              o.request @ index.js:83
              o.doPoll @ index.js:83
              r.poll @ index.js:83
              r.doOpen @ index.js:83
              r.open @ index.js:83
              r.open @ index.js:83
              r @ index.js:83
              r @ index.js:83
              r.open.r.connect @ index.js:83
              r @ index.js:83
              r @ index.js:83
              r @ index.js:83
              init @ conn.js:266
              main @ vis.js:3649
              (anonym) @ vis.js:3935
              j @ jquery-1.11.2.min.js:2
              fireWith @ jquery-1.11.2.min.js:2
              ready @ jquery-1.11.2.min.js:2
              J @ jquery-1.11.2.min.js:2
              index.js:83          GET http://192.168.2.120:8082/socket.io/?key=nokey&EIO=3&transport=polling&t=OOy4zyr 404 (Not Found)
              i.create @ index.js:83
              i @ index.js:83
              o.request @ index.js:83
              o.doPoll @ index.js:83
              r.poll @ index.js:83
              r.doOpen @ index.js:83
              r.open @ index.js:83
              r.open @ index.js:83
              r @ index.js:83
              r @ index.js:83
              r.open.r.connect @ index.js:83
              r.open.r.connect @ index.js:83
              (anonym) @ conn.js:158
              setInterval (async)
              reconnect @ conn.js:156
              (anonym) @ conn.js:363
              r.emit @ index.js:83
              r.emit @ index.js:83
              r.emitAll @ index.js:83
              (anonym) @ index.js:83
              r.emit @ index.js:83
              r.onError @ index.js:83
              (anonym) @ index.js:83
              r.emit @ index.js:83
              r.onError @ index.js:83
              (anonym) @ index.js:83
              r.emit @ index.js:83
              i.onError @ index.js:83
              (anonym) @ index.js:83
              setTimeout (async)
              hasXDR.e.onreadystatechange @ index.js:83
              XMLHttpRequest.send (async)
              i.create @ index.js:83
              i @ index.js:83
              o.request @ index.js:83
              o.doPoll @ index.js:83
              r.poll @ index.js:83
              r.doOpen @ index.js:83
              r.open @ index.js:83
              r.open @ index.js:83
              r @ index.js:83
              r @ index.js:83
              r.open.r.connect @ index.js:83
              r @ index.js:83
              r @ index.js:83
              r @ index.js:83
              init @ conn.js:266
              main @ vis.js:3649
              (anonym) @ vis.js:3935
              j @ jquery-1.11.2.min.js:2
              fireWith @ jquery-1.11.2.min.js:2
              ready @ jquery-1.11.2.min.js:2
              J @ jquery-1.11.2.min.js:2
              index.js:83          GET http://192.168.2.120:8082/socket.io/?key=nokey&EIO=3&transport=polling&t=OOy50P5 404 (Not Found)
              i.create @ index.js:83
              i @ index.js:83
              o.request @ index.js:83
              o.doPoll @ index.js:83
              r.poll @ index.js:83
              r.doOpen @ index.js:83
              r.open @ index.js:83
              r.open @ index.js:83
              r @ index.js:83
              r @ index.js:83
              r.open.r.connect @ index.js:83
              r.open.r.connect @ index.js:83
              (anonym) @ conn.js:158
              setInterval (async)
              reconnect @ conn.js:156
              (anonym) @ conn.js:363
              r.emit @ index.js:83
              r.emit @ index.js:83
              r.emitAll @ index.js:83
              (anonym) @ index.js:83
              r.emit @ index.js:83
              r.onError @ index.js:83
              (anonym) @ index.js:83
              r.emit @ index.js:83
              r.onError @ index.js:83
              (anonym) @ index.js:83
              r.emit @ index.js:83
              i.onError @ index.js:83
              (anonym) @ index.js:83
              setTimeout (async)
              hasXDR.e.onreadystatechange @ index.js:83
              XMLHttpRequest.send (async)
              i.create @ index.js:83
              i @ index.js:83
              o.request @ index.js:83
              o.doPoll @ index.js:83
              r.poll @ index.js:83
              r.doOpen @ index.js:83
              r.open @ index.js:83
              r.open @ index.js:83
              r @ index.js:83
              r @ index.js:83
              r.open.r.connect @ index.js:83
              r @ index.js:83
              r @ index.js:83
              r @ index.js:83
              init @ conn.js:266
              main @ vis.js:3649
              (anonym) @ vis.js:3935
              j @ jquery-1.11.2.min.js:2
              fireWith @ jquery-1.11.2.min.js:2
              ready @ jquery-1.11.2.min.js:2
              J @ jquery-1.11.2.min.js:2
              

              Mit dieser Web Adapter Einstellung, kann ich keine Routen speichern und bekomme unten angehängte Fehlermeldungen
              c6aafd63-f931-46fa-bcee-cfd3c461e4c2-image.png

              VM106:410 Uncaught (in promise) SyntaxError: Expected double-quoted property name in JSON at position 247968
                 at JSON.parse (<anonymous>)
                 at getTranslation (info.js:13:47)
              getTranslation @ info.js:13
              await in getTranslation (async)
              (anonym) @ info.js:6
              jquery-1.11.2.min.js:4          GET http://192.168.2.120:8082/vis/adapter/rssfeed/words.js 404 (Not Found)
              send @ jquery-1.11.2.min.js:4
              ajax @ jquery-1.11.2.min.js:4
              m.<computed> @ jquery-1.11.2.min.js:4
              (anonym) @ rssfeed.js:15
              vis-editor.css:1          GET http://192.168.2.120:8082/vis/icon/dimmer.png 404 (Not Found)
              visEditInspect.js:2276 Uncaught TypeError: Cannot read properties of undefined (reading 'widgets')
                 at HTMLDivElement.<anonymous> (visEditInspect.js:2276:46)
                 at Function.each (jquery-1.11.2.min.js:2:2975)
                 at m.fn.init.each (jquery-1.11.2.min.js:2:835)
                 at Object.inspectWidgets (visEditInspect.js:2269:49)
                 at vis.js:3630:29
                 at r.<anonymous> (conn.js:936:45)
                 at r.onack (index.js:83:1)
                 at r.onpacket (index.js:83:1)
                 at r.<anonymous> (index.js:83:1)
                 at r.emit (index.js:83:1)
                 at r.ondecoded (index.js:83:1)
                 at a.<anonymous> (index.js:83:1)
                 at r.emit (index.js:83:1)
                 at a.add (index.js:83:1)
                 at r.ondata (index.js:83:1)
                 at r.<anonymous> (index.js:83:1)
                 at r.emit (index.js:83:1)
                 at r.onPacket (index.js:83:1)
                 at r.<anonymous> (index.js:83:1)
                 at r.emit (index.js:83:1)
                 at r.onPacket (index.js:83:1)
                 at r.onData (index.js:83:1)
                 at ws.onmessage (index.js:83:1)
              (anonym) @ visEditInspect.js:2276
              each @ jquery-1.11.2.min.js:2
              each @ jquery-1.11.2.min.js:2
              inspectWidgets @ visEditInspect.js:2269
              (anonym) @ vis.js:3630
              (anonym) @ conn.js:936
              r.onack @ index.js:83
              r.onpacket @ index.js:83
              (anonym) @ index.js:83
              r.emit @ index.js:83
              r.ondecoded @ index.js:83
              (anonym) @ index.js:83
              r.emit @ index.js:83
              a.add @ index.js:83
              r.ondata @ index.js:83
              (anonym) @ index.js:83
              r.emit @ index.js:83
              r.onPacket @ index.js:83
              (anonym) @ index.js:83
              r.emit @ index.js:83
              r.onPacket @ index.js:83
              r.onData @ index.js:83
              ws.onmessage @ index.js:83
              

              carsten04 1 Reply Last reply Reply Quote 0
              • carsten04
                carsten04 Developer @Oli last edited by

                @oli Ich kümmere mich morgen darum, hab aber jetzt eine Idee woran es liegen könnte. Dein Token war ungültig, richtig?

                O 1 Reply Last reply Reply Quote 0
                • O
                  Oli @carsten04 last edited by

                  @carsten04
                  Ja, habe mir einen neuen geholt

                  carsten04 1 Reply Last reply Reply Quote 0
                  • carsten04
                    carsten04 Developer @Oli last edited by carsten04

                    @oli @oxident Es gibt eine aktualisierte v1.0 auf GitHub. Bitte noch einmal neu installieren und vorher die Instanz und den Adapter sauber löschen. Ich habe an der socket-Konfiguration für den Adapter noch ein paar Änderungen vorgenommen und hoffe, dass es auch mit der VIS v1.4.15 jetzt läuft.

                    O O 2 Replies Last reply Reply Quote 0
                    • O
                      Oli @carsten04 last edited by

                      @carsten04
                      erstmal vielen Dank für deine Arbeit, die du hier investierst.

                      Mit der neuen Version kann ich Routen anlegen, der Verbindungsfehler in der VIS ist weg, allerdings wir mir im Widget nichts angezeigt.
                      4b0f37df-07ef-4259-aee7-3795443e72ef-image.png

                      Fehlermeldungen aus der Konsole:

                      VM4404:410 Uncaught (in promise) SyntaxError: Expected double-quoted property name in JSON at position 247968
                          at JSON.parse (<anonymous>)
                          at getTranslation (info.js:13:47)
                      getTranslation @ info.js:13
                      await in getTranslation (async)
                      (anonym) @ info.js:6
                      jquery-1.11.2.min.js:4          GET http://192.168.2.120:8082/vis/adapter/rssfeed/words.js 404 (Not Found)
                      send @ jquery-1.11.2.min.js:4
                      ajax @ jquery-1.11.2.min.js:4
                      m.<computed> @ jquery-1.11.2.min.js:4
                      (anonym) @ rssfeed.js:15
                      radar-trap2.js:174 Uncaught TypeError: io is not a function
                          at radar-trap2.js:174:15
                          at SocketClient.findAnswer (socket.io.js:294:20)
                          at socket.onmessage (socket.io.js:202:22)
                      (anonym) @ radar-trap2.js:174
                      SocketClient.findAnswer @ socket.io.js:294
                      socket.onmessage @ socket.io.js:202
                      vis-editor.css:1          GET http://192.168.2.120:8082/vis/icon/dimmer.png 404 (Not Found)
                      radar-trap2.js:803 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'get')
                          at Object.initAsync (radar-trap2.js:803:20)
                          at radar-trap2.js:776:42
                          at sentryWrapped (helpers.ts:87:17)
                      initAsync @ radar-trap2.js:803
                      (anonym) @ radar-trap2.js:776
                      sentryWrapped @ helpers.ts:87
                      
                      1 Reply Last reply Reply Quote 0
                      • O
                        oxident @carsten04 last edited by

                        @carsten04 Sorry, bei mir sieht's leider ganz anders aus. Mit der neuen Version (nur installiert, keine Instanz angelegt) startet VIS überhaupt nicht mehr.
                        Habe dazu ein Issue angelegt...

                        https://github.com/Steiger04/ioBroker.radar-trap2/issues/1

                        O 1 Reply Last reply Reply Quote 0
                        • O
                          Oli @oxident last edited by

                          @oxident
                          welche Einstellungen hast du im Web Adapter?

                          O 1 Reply Last reply Reply Quote 0
                          • O
                            oxident @Oli last edited by

                            @oli Eigentlich ganz normal:
                            d74102e8-d0ec-4f23-b80a-2d7ea44ae856-image.png
                            d94649aa-6665-4afd-a798-f9358e0e5d8e-image.png

                            Version ist 5.4.3

                            O 1 Reply Last reply Reply Quote 0
                            • O
                              Oli @oxident last edited by

                              @oxident
                              versuche es mal, wenn bei "Reine Web-Sockets (iobroker.ws) verwenden" ein Haken drin ist, so funktioniert es bei mir

                              O 1 Reply Last reply Reply Quote 0
                              • O
                                oxident @Oli last edited by oxident

                                @oli Hmm, dann klappt leider bei mir der VIS-Editor nicht mehr (speichert nicht mehr) ... ist'ne andere Geschichte wofür ich extra eine zweite Web-Instanz aufgesetzt habe.

                                Vermutlich muss ich diese Baustelle dann erstmal klären bevor ich Deinen (wirklich tollen!) Adapter weiter testen kann. Aber danke für Deine Hilfestellung 😉

                                O 1 Reply Last reply Reply Quote 0
                                • O
                                  Oli @oxident last edited by

                                  @oxident
                                  ist nicht mein Adapter, sondern der von @carsten04 😉

                                  O 1 Reply Last reply Reply Quote 0
                                  • O
                                    oxident @Oli last edited by

                                    @oli Hoppla, natürlich. Trotzdem danke...

                                    carsten04 1 Reply Last reply Reply Quote 0
                                    • carsten04
                                      carsten04 Developer @oxident last edited by

                                      @oli Hast Du es auch mal ohne Haken bei ws mit der aktuellen Version versucht (also wirklich nichts angehakt im web-Adapter)?

                                      Die Fehler in Deinem Log bis Zeile 11 haben nichts mit meinem Adapter zu tun. Da ist noch was anderes nicht in Ordnung. Einmal musst Du den rssfeed-Adapter installiert haben und in der VIS kann bei den Widgets nicht word.js gefunden werden und an irgend einer anderen Stelle wirft er bei getTranslation einen Fehler. Das kommt auch von irgendwelchen VIS-Widgets die Du noch installiert hast.

                                      O 1 Reply Last reply Reply Quote 0
                                      • O
                                        Oli @carsten04 last edited by Oli

                                        @carsten04
                                        das mit der Zeile 11 im log weis ich, habe einfach alles kopiert

                                        Mit dieser Einstellung im Web Adapter kann ich alles speichern, also Routen und im VIS Editor, allerdings wird mir weder im VIS Editor noch in der Runtime eine Karte angezeigt
                                        eebc648b-88b8-473b-bc27-b94e66ea79fc-image.png

                                        Mit dieser Einstellung im Web Adapter wird mir die Karte richtig angezeigt, allerdings kann ich keine Routen mehr speichern und ich bekomme im VIS Editor einen Verbindungsfehler
                                        d1c184f5-bbf9-4171-8eed-c7b8f74d7dfe-image.png

                                        So langsam bin ich ratlos.

                                        carsten04 1 Reply Last reply Reply Quote 0
                                        • carsten04
                                          carsten04 Developer @Oli last edited by carsten04

                                          @oli
                                          1aa9cdb8-f9e5-4e6c-a610-eed4818e86f3-image.png

                                          Das obere Widget ist die Map und das Untere stellt eine Liste dar.

                                          Zur Web-Instanz Konfiguration:

                                          2f90ae03-2460-4a19-8ac5-1ae71bf872f6-image.png

                                          1. Reine Web-Sockets darf nicht verwendet werden. Der Adapter braucht zwingend socket.io.
                                          2. socket.io kann entweder integriert sein, oder eine eigene socketio-Instanz (entsprechender Adapter muss natürlich installiert sein). Keins darf auch nicht ausgewählt werden, denn ohne socket.io geht's halt nicht.
                                          3. Web-Sockets erzwingen geht auch, ist aber nicht erforderlich, da sonst das Polling bei socket.io nicht mehr funktioniert.
                                          4. Cache kann angewählt werden, ist aber auch nicht erforderlich.

                                          Was ist noch ein Bug: Bevor mit der VIS gearbeitet werden kann, braucht es zwingend eine radar-trap2 Instanz, erst dann funktioniert die VIS. Den Fehler fange ich die Tage noch ab.

                                          Ich bin bei mir jetzt alle Konstellationen durch und ich bekomme bei Einhaltung der Punkte 1) - 4) immer eine lauffähige Instanz und die VIS klappt absolut problemlos. Das Problem bei mir ist, dass ich die Konstellation von Dir nicht nachgestellt bekomme und die Fehlermeldungen bzgl. socket.io bei Beachtung der Punkte 1) - 4) bei mir nicht auftreten.

                                          O 1 Reply Last reply Reply Quote 0
                                          • O
                                            oxident @carsten04 last edited by

                                            @carsten04 said in [Neuer Adapter] radar-trap2:

                                            Was ist noch ein Bug: Bevor mit der VIS gearbeitet werden kann, braucht es zwingend eine radar-trap2 Instanz, erst dann funktioniert die VIS. Den Fehler fange ich die Tage noch ab.

                                            Prima, daran lag's bei mir. Zusammen mit Deinen Ausführungen bezgl. der Konstellation socket.io / ws klappt der Adapter jetzt und die VIS auch. Danke!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            690
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            26
                                            251
                                            26465
                                            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