Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. IP Devices im Netzwerk - HTML Tabelle vis, Iqontrol

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    IP Devices im Netzwerk - HTML Tabelle vis, Iqontrol

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @Latzi last edited by

      @Latzi sorry - einfach auskommentieren - im ersten post geändert

      1 Reply Last reply Reply Quote 1
      • sigi234
        sigi234 Forum Testing Most Active @liv-in-sky last edited by sigi234

        @liv-in-sky

        Screenshot (1641).png

        VPN1 und VPN2 sind in der FB Ungenutzte Verbindungen. Werden aber als aktiv angezeigt.

        Screenshot (1642).png

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

          @sigi234
          Was steht bei dir in Zeile 197?

          Durch die ganzen Konfigurationsmöglichkeiten sind die Zeilennummern nicht mehr vergkeichbar

          sigi234 1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @Homoran last edited by Homoran

            @Homoran sagte in IP Devices im Netzwerk - HTML Tabelle vis, Iqontrol:

            Was steht bei dir in Zeile 197?

            if(myArr.length>2) {

            liv-in-sky 3 Replies Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @sigi234 last edited by

              @sigi234 keine daten - bei mir läuft es - auf windows - im moment keine ahnung - der nmap befehl bringt etwas falsches

              1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @sigi234 last edited by liv-in-sky

                @sigi234 evtl hab ich was - ich such mal

                1 Reply Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @sigi234 last edited by

                  @sigi234

                  es ist eine neue version im ersten post -

                  • es gibt dort eine neue variable "const onlyWinEthernetIF" dort musst du deine schnittstelle eintragen

                  diese bekommst du in dem du ein cmd fenster öffnest und den befehl " nmap --iflist" eingibst - da kommt dann gleich in den oberen zeilen die schnittstelle, die "up" (also verbunden) ist

                  damit konnte ich den fehler abfangen - der kam bei mir aquch nach einer weile

                  sigi234 1 Reply Last reply Reply Quote 0
                  • sigi234
                    sigi234 Forum Testing Most Active @liv-in-sky last edited by

                    @liv-in-sky sagte in IP Devices im Netzwerk - HTML Tabelle vis, Iqontrol:

                    @sigi234

                    es ist eine neue version im ersten post -

                    • es gibt dort eine neue variable "const onlyWinEthernetIF" dort musst du deine schnittstelle eintragen

                    diese bekommst du in dem du ein cmd fenster öffnest und den befehl " nmap --iflist" eingibst - da kommt dann gleich in den oberen zeilen die schnittstelle, die "up" (also verbunden) ist

                    damit konnte ich den fehler abfangen - der kam bei mir aquch nach einer weile

                    Das schaut Gut aus. 👍

                    liv-in-sky 1 Reply Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky @sigi234 last edited by

                      @sigi234 klasse - dann beobachten wir mal

                      sigi234 1 Reply Last reply Reply Quote 0
                      • sigi234
                        sigi234 Forum Testing Most Active @liv-in-sky last edited by

                        @liv-in-sky sagte in IP Devices im Netzwerk - HTML Tabelle vis, Iqontrol:

                        @sigi234 klasse - dann beobachten wir mal

                        19:59:46.825	info	javascript.0 (11120) script.js.Listen.Fritz_IP8: registered 0 subscriptions and 1 schedule
                        20:00:01.826	warn	javascript.0 (11120) script.js.Listen.Fritz_IP8: no Array
                        20:01:15.118	warn	javascript.0 (11120) script.js.Listen.Fritz_IP8: no Data
                        
                        liv-in-sky 1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @sigi234 last edited by

                          @sigi234 no data komm bei mir auch ab und zu - no array solle nicht zu oft hintereinander kommen - nmap hat manchmal aussetzer - auch bei linux

                          Homoran Glasfaser sigi234 3 Replies Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @liv-in-sky last edited by

                            @liv-in-sky ich habe jetzt das Script auf das produktive System umgezogen.

                            Da waren noch keine Datenpunkte angelegt.
                            In der Anleitung steht nichts 😉
                            Trotzdem den einen angelegt: 0_userdata.0.Tabellen.IPDevices
                            Die Tabelle erschien - aber ab dem zweiten Lauf wurde eine Zeile angemeckert:
                            if (!myObjOld.toString().includes(myObj[i][1])) { varhelp1=myObj[i][0].trim() ; varhelp2=myObj[i][1]; varhelp3="true";

                            also nach myObjOld gesucht und etwas gefunden - 0_userdata.0.Tabellen.IPDeviceERROR
                            Also angelegt.

                            Beide Datenpunkte existieren in der Testumgebung und sind gefüllt - hier jetzt nicht

                            Dafür unter javascript:
                            nmap_Feld.png

                            Auch das wird anscheinend in der angemeckerten Zeile referenziert.
                            Was bitte ist das????

                            liv-in-sky 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @liv-in-sky last edited by

                              @liv-in-sky sagte in IP Devices im Netzwerk - HTML Tabelle vis, Iqontrol:

                              no array

                              Habe ich schon beim ersten Scriptstart - Warn mit " no array" gehabt ,

                              habe dann " sudo -u root " enfernt und dann lief es

                              1.JPG

                              liv-in-sky Homoran 2 Replies Last reply Reply Quote 1
                              • liv-in-sky
                                liv-in-sky @Glasfaser last edited by

                                @Glasfaser dann musst du die anweisung in der anleitung lesen - sichwort sudoers file

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

                                  @Glasfaser sagte in IP Devices im Netzwerk - HTML Tabelle vis, Iqontrol:

                                  habe dann " sudo -u root " enfernt und dann lief es

                                  hattest du vorher nmap den sudoers hinzugefügt?
                                  ich glaube das fehlt auch noch in der Anleitung

                                  liv-in-sky Glasfaser 2 Replies Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @Homoran last edited by

                                    @Homoran steht im ersten post

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

                                      @Homoran

                                      Nein garnichts geändert ... nur auf der Synology den nmap nachinstalliert

                                      liv-in-sky 1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @liv-in-sky last edited by

                                        @liv-in-sky Was?
                                        das mit den sudoers habe ich jetzt gefunden (hatte den Link übersehen)

                                        Was bitte ist ein Typ "Feld"

                                        liv-in-sky 1 Reply Last reply Reply Quote 0
                                        • liv-in-sky
                                          liv-in-sky @Glasfaser last edited by

                                          @Glasfaser hatte schon mal jmd mit synology problemen - auf jeden fall muss das sudoers file angeglichen werden, ohne root bekommst du nicht alle clients angezeigt

                                          1 Reply Last reply Reply Quote 0
                                          • liv-in-sky
                                            liv-in-sky @Homoran last edited by

                                            @Homoran ein array

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            840
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript template
                                            26
                                            493
                                            73356
                                            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