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

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    IP Devices im Netzwerk - HTML Tabelle vis, Iqontrol

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      luft-post last edited by

      Ok habe jetzt das Aktuelle Script in Betrieb.

      //@liv-in-sky Januar 2020 9.3-20:15
      

      auch hier ist die Fehlermeldung ähnlich

      18:42:34.945	info	javascript.0 (27161) Start javascript script.js.14_Tabelle_Netzwerk
      18:42:35.049	info	javascript.0 (27161) script.js.14_Tabelle_Netzwerk: registered 1 subscription and 1 schedule
      18:42:49.403	warn	javascript.0 (27161) at script.js.14_Tabelle_Netzwerk:379:22
      18:42:49.404	warn	javascript.0 (27161) at writeHTML (script.js.14_Tabelle_Netzwerk:262:1)
      18:42:49.418	error	javascript.0 (27161) script.js.14_Tabelle_Netzwerk: TypeError: Cannot read property 'replace' of undefined
      18:42:49.419	error	javascript.0 (27161) at script.js.14_Tabelle_Netzwerk:390:21
      18:42:49.419	error	javascript.0 (27161) at writeHTML (script.js.14_Tabelle_Netzwerk:262:1)
      

      hier Zeilen aus den Skript

      if (mysortiereClient==2){ 
                 myObj.sort(function (alpha, beta) {
                  //   if (parseFloat(beta[1].replace(/.+\.(.+)$/,"$1")) > parseFloat(alpha[1].replace(/.+\.(.+)$/,"$1")))
                   if ((parseFloat(beta[1].replace(/.+\.(.+)$/,"$1")))+(parseFloat(beta[1].replace(/.+\.(.+)\..+$/,"$1"))*1000) > (parseFloat(alpha[1].replace(/.+\.(.+)$/,"$1")))+(parseFloat(alpha[1].replace(/.+\.(.+)\..+$/,"$1"))*1000))
                         return -1;
                     if ((parseFloat(alpha[1].replace(/.+\.(.+)$/,"$1")))+(parseFloat(alpha[1].replace(/.+\.(.+)\..+$/,"$1"))*1000) > (parseFloat(beta[1].replace(/.+\.(.+)$/,"$1")))+(parseFloat(beta[1].replace(/.+\.(.+)\..+$/,"$1"))*1000))
                         return 1;
                  return 0;
                 });  
                 }
          var1="scanned in" //nur scanned seconds
         var3="true"
         var2=myTimeScanArr[0].replace(/.+ (\d+\.\d+.+$)/,"$1");//log(var2)
         let help=[var1,var2,var3]
       
        if (mysortiereClient==1) help=["xxxx"+var1,var2,var3]
        myObj.push(help)
      /*if (!rootcount)*/  setState(dpPrefix+"Tabellen.IPDevices.Device_Collection", myObjOld)
      ///////////////////////////log("myObject ------- "+myObj.length.toString()+"---- ")
       // setState("0_userdata.0.Tabellen.IPDeviceERROR", myObj.toString())   // zur fehlersuche
              for(var i=0;i<myObj.length;i++) {            // hier eigene schleife definieren und den wert counter++ nicht vergessen  !!!
       
                counter++;                                       // SEHR WICHTIG - MUSS IN JEDER SCHLEIFE INTEGRIERT SEIN
              //  log(myObj[i][0].toString())
                val0=myObj[i][0].replace("for","").trim()
                val0=val0.replace("."+domainName,"")
                val0=val0.replace(/[(,)]/g,"")
                val1=myObj[i][1]
                val1=val1.replace(/[(,)]/g,"")
       
            //  log(val0+" --- "myDeviceNamesNew[].ip)
       
      for (var index in myDeviceNames) {                   //ersetze mit aliasnamen
                                    //log(index)
                                     if ((val1.trim()).match(index.trim()) && val1.trim().length == index.trim().length) {val0=myDeviceNames[index];
                                                                                                                          
                                     //log(val0+" - "+index)
                                       } } 
      let helperIP=""
      let helperlink=""
      
      L liv-in-sky 2 Replies Last reply Reply Quote 0
      • L
        luft-post @luft-post last edited by

        Zeile 390 ist hier die 29

        Meine IP Setting:

        let mySchedule=" */15 * * * * ";                       //jede minute  -  nicht unter eine minute gehen -besser 3 oder 5 minuten nutzen !!!
        const domainName="fritz.box";                  // domainname in der fritzbox definiert
        const ipbereich="192.168.2.0/24";           //  gilt nicht für windows
        const dnsServer="192.168.2.1"               // gilt nicht für windows
        let mysortiereClient=1;        
        

        Verwenden tu ich ein PI4 mit Buster.
        Und hier die Ausgabe von nmap:
        ipliste.JPG

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

          @luft-post das ist wieder eine seltsame version - die ist von 2020 - aber ich denke , es gibt da eh ein anderes thema

          ist es möglich mit anydesk bei dir drauf zu gehen - wäre einfacher und wahrscheinlich schneller

          L 1 Reply Last reply Reply Quote 0
          • L
            luft-post @liv-in-sky last edited by

            @liv-in-sky
            Anydesk bekomme ich hier gerade nicht installiert, hätte Skype im Angebot bittet aber keine Übernahme der Steuerung 😐
            Mit der Version hast du recht würde gerade versuchen die aktuellste zu übernehmen (Hätte gedacht, dass ich es gemacht habe...)
            Anydesk könnten wir heute Abend oder Morgen versuchen wenn ich wieder einen Freien Rechner zur Verfügung habe.

            dank und gruß
            Matthias

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

              @luft-post anydesk wäre schon gut

              was ist den heute abend - bei mir ist schon abend 🙂

              1 Reply Last reply Reply Quote 0
              • L
                luft-post last edited by

                so ab 22Uhr, wenn ich Feierabend habe...

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

                  @luft-post sorry - das ist zu spät

                  gibt es eine andere möglichkeit - oder evtl. wochenende

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    luft-post @liv-in-sky last edited by

                    @liv-in-sky

                    hier jetzt die Fehlermeldung von der Januar 2021 13.3-19:00 version

                    9:08:45.211	info	javascript.0 (27161) Stop script script.js.15-Tabelle_Netzwerk
                    19:08:52.189	info	javascript.0 (27161) Start javascript script.js.15-Tabelle_Netzwerk
                    19:08:52.263	info	javascript.0 (27161) script.js.15-Tabelle_Netzwerk: registered 1 subscription and 1 schedule
                    19:09:04.480	warn	javascript.0 (27161) at script.js.15-Tabelle_Netzwerk:378:22
                    19:09:04.480	warn	javascript.0 (27161) at writeHTML (script.js.15-Tabelle_Netzwerk:261:1)
                    19:09:04.494	error	javascript.0 (27161) script.js.15-Tabelle_Netzwerk: TypeError: Cannot read property 'replace' of undefined
                    19:09:04.495	error	javascript.0 (27161) at script.js.15-Tabelle_Netzwerk:389:21
                    19:09:04.495	error	javascript.0 (27161) at writeHTML (script.js.15-Tabelle_Netzwerk:261:1)
                    
                    L 1 Reply Last reply Reply Quote 0
                    • L
                      luft-post @luft-post last edited by

                      @luft-post
                      wieder die selbe stelle.

                      19:14:08.262	info	javascript.0 (27161) script.js.15-Tabelle_Netzwerk: for Google-Home.fritz.box
                      19:14:08.262	info	javascript.0 (27161) script.js.15-Tabelle_Netzwerk: for D797424.fritz.box
                      19:14:08.262	info	javascript.0 (27161) script.js.15-Tabelle_Netzwerk: for Chromecast-Ultra.fritz.box
                      19:14:08.263	info	javascript.0 (27161) script.js.15-Tabelle_Netzwerk: for Galaxy-S9Plus.fritz.box
                      19:14:08.263	info	javascript.0 (27161) script.js.15-Tabelle_Netzwerk: 192.168.2.251
                      19:14:08.263	info	javascript.0 (27161) script.js.15-Tabelle_Netzwerk: for iobroker.fritz.box
                      19:14:08.264	info	javascript.0 (27161) script.js.15-Tabelle_Netzwerk: f
                      19:14:08.267	error	javascript.0 (27161) script.js.15-Tabelle_Netzwerk: TypeError: Cannot read property 'replace' of undefined
                      19:14:08.267	error	javascript.0 (27161) at script.js.15-Tabelle_Netzwerk:389:21
                      19:14:08.267	error	javascript.0 (27161) at writeHTML (script.js.15-Tabelle_Netzwerk:261:1)
                      

                      mit log

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

                        @luft-post

                        da verennt sich der regex, der die daten aufbereitet - die ip und das f sehen seltsam aus - du kannst ja mal den consolen befehl nochmal machen und die ausgabe nach dem galaxys9 zeigen - was da ankommt

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          luft-post @liv-in-sky last edited by

                          @liv-in-sky
                          ipliste2.JPG

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

                            @luft-post wenn du zuhause bist, ist es möglich die 2.251 mal vom netz zu nehmen und das script dann laufen zu lassen

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              luft-post @liv-in-sky last edited by

                              @liv-in-sky
                              ich bin gerade auf der suche nach der 2.251
                              Habe gerade keine Idee was es ist, meine Fritzbox zeigt mir das gerät nicht an

                              L liv-in-sky 2 Replies Last reply Reply Quote 0
                              • L
                                luft-post @luft-post last edited by

                                Antworten auf ein ping tut es auch nicht

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

                                  @luft-post irgendwas "chinesisches" - evtl mit fester ip, wenn du es nicht in fritzbox siehst

                                  shenzen - evtl etwas "billiges"

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

                                    @liv-in-sky
                                    Gibt es da schon eine Lösung für den "no Array" Fehler?

                                    15:15:00.119	warn	javascript.0 (812) script.js.common.Tabellen.IpDevices: no Array
                                    

                                    Mit dem kämpfe ich auch zur Zeit.

                                    Verwende dieses script

                                    //@liv-in-sky Januar 2021 13.3-19:00
                                    

                                    Die Konsole sagt

                                    root@ServerRubensstr:/opt/iobroker# nmap -sPR --dns-servers 192.168.3.1 192.168.3.0/24
                                    WARNING: -sR is now an alias for -sV and activates version detection as well as RPC scan.
                                    Starting Nmap 7.70 ( https://nmap.org ) at 2021-09-13 15:24 CEST
                                    Nmap scan report for fritz.box (192.168.3.1)
                                    Host is up (0.0016s latency).
                                    MAC Address: 3C:A6:2F:76:D1:25 (AVM Audiovisuelles Marketing und Computersysteme GmbH)
                                    Nmap scan report for Repeater-OG.fritz.box (192.168.3.3)
                                    Host is up (0.00095s latency).
                                    MAC Address: 32:3A:FD:86:FF:CC (Unknown)
                                    Nmap scan report for Repeater-EG.fritz.box (192.168.3.5)
                                    Host is up (0.0012s latency).
                                    MAC Address: 22:A6:2F:75:C0:BF (Unknown)
                                    Nmap scan report for DoorBird.fritz.box (192.168.3.6)
                                    Host is up (0.00089s latency).
                                    MAC Address: 1C:CA:E3:71:D6:3E (Ieee Registration Authority)
                                    Nmap scan report for 192.168.3.12
                                    Host is up (0.00061s latency).
                                    MAC Address: 54:53:ED:B5:AE:77 (Sony)
                                    Nmap scan report for PhoneSchlafziOG1.fritz.box (192.168.3.21)
                                    Host is up (0.010s latency).
                                    MAC Address: C8:38:70:D0:AB:F5 (Samsung Electronics)
                                    Nmap scan report for TabletEGKueche.fritz.box (192.168.3.25)
                                    Host is up (0.042s latency).
                                    MAC Address: D4:AE:05:3F:34:3D (Samsung Electronics)
                                    Nmap scan report for Tablet-Halle.fritz.box (192.168.3.26)
                                    Host is up (0.077s latency).
                                    MAC Address: 08:78:08:7E:1F:14 (Samsung Electronics)
                                    Nmap scan report for MusikStreamKueche.fritz.box (192.168.3.32)
                                    Host is up (0.096s latency).
                                    MAC Address: 74:DA:38:88:4D:BB (Edimax Technology)
                                    Nmap scan report for MusikStreamBadOG1.fritz.box (192.168.3.33)
                                    Host is up (0.098s latency).
                                    MAC Address: 74:DA:38:88:4D:B1 (Edimax Technology)
                                    Nmap scan report for CCU.fritz.box (192.168.3.44)
                                    Host is up (-0.12s latency).
                                    MAC Address: B8:27:EB:A4:B9:06 (Raspberry Pi Foundation)
                                    Nmap scan report for HM-Gateway-CCU2.fritz.box (192.168.3.45)
                                    Host is up (-0.12s latency).
                                    MAC Address: 00:1A:22:06:08:9C (eQ-3 Entwicklung GmbH)
                                    Nmap scan report for HM-LANGateway.fritz.box (192.168.3.47)
                                    Host is up (-0.12s latency).
                                    MAC Address: 00:1A:22:04:2A:39 (eQ-3 Entwicklung GmbH)
                                    Nmap scan report for SonoffSchlafMusik.fritz.box (192.168.3.51)
                                    Host is up (0.058s latency).
                                    MAC Address: BC:DD:C2:0F:95:1B (Espressif)
                                    Nmap scan report for shellyswitch25-RollSchlafziOG1.fritz.box (192.168.3.60)
                                    Host is up (0.010s latency).
                                    MAC Address: 24:62:AB:00:83:6C (Espressif)
                                    Nmap scan report for shellyswitch25-RollDachfenster.fritz.box (192.168.3.61)
                                    Host is up (-0.057s latency).
                                    MAC Address: 80:7D:3A:74:58:9F (Espressif)
                                    Nmap scan report for shellyswitch25-RollMoniUnten.fritz.box (192.168.3.62)
                                    Host is up (0.030s latency).
                                    MAC Address: 80:7D:3A:74:4E:6A (Espressif)
                                    Nmap scan report for shellyswitch25-RollFlurOG1Klein.fritz.box (192.168.3.63)
                                    Host is up (0.030s latency).
                                    MAC Address: 84:F3:EB:E6:6D:FF (Espressif)
                                    Nmap scan report for shellyswitch25-RollBadOG1.fritz.box (192.168.3.64)
                                    Host is up (0.015s latency).
                                    MAC Address: 80:7D:3A:74:4F:B0 (Espressif)
                                    Nmap scan report for shellyswitch25-E663F3.fritz.box (192.168.3.65)
                                    Host is up (0.018s latency).
                                    MAC Address: 84:F3:EB:E6:63:F3 (Espressif)
                                    Nmap scan report for shelly1-LichtBueroGross.fritz.box (192.168.3.66)
                                    Host is up (0.023s latency).
                                    MAC Address: 3C:71:BF:22:BE:7B (Espressif)
                                    Nmap scan report for shellyswitch25-RollTerry.fritz.box (192.168.3.67)
                                    Host is up (0.0057s latency).
                                    MAC Address: 24:62:AB:00:7C:00 (Espressif)
                                    Nmap scan report for shellyswitch25-RollBuero.fritz.box (192.168.3.68)
                                    Host is up (0.042s latency).
                                    MAC Address: DC:4F:22:5D:B6:52 (Espressif)
                                    Nmap scan report for shelly1-BueroMusik.fritz.box (192.168.3.69)
                                    Host is up (0.036s latency).
                                    MAC Address: 98:F4:AB:B8:B5:D1 (Espressif)
                                    Nmap scan report for shelly1-Kellertreppe.fritz.box (192.168.3.70)
                                    Host is up (0.075s latency).
                                    MAC Address: CC:50:E3:1D:98:39 (Espressif)
                                    Nmap scan report for shelly1-RaeumchenEG.fritz.box (192.168.3.71)
                                    Host is up (0.024s latency).
                                    MAC Address: CC:50:E3:1D:9C:EE (Espressif)
                                    Nmap scan report for shelly1-SchlafzimmerOG1Flur.fritz.box (192.168.3.72)
                                    Host is up (0.083s latency).
                                    MAC Address: CC:50:E3:1D:9F:99 (Espressif)
                                    Nmap scan report for shellyswitch-BadOG1.fritz.box (192.168.3.73)
                                    Host is up (0.072s latency).
                                    MAC Address: CC:50:E3:13:51:18 (Espressif)
                                    Nmap scan report for shelly1-22F653.fritz.box (192.168.3.74)
                                    Host is up (0.094s latency).
                                    MAC Address: 3C:71:BF:22:F6:53 (Espressif)
                                    Nmap scan report for shelly1-227C1F.fritz.box (192.168.3.75)
                                    Host is up (0.11s latency).
                                    MAC Address: 3C:71:BF:22:7C:1F (Espressif)
                                    Nmap scan report for shelly1-944C06.fritz.box (192.168.3.77)
                                    Host is up (0.091s latency).
                                    MAC Address: BC:DD:C2:94:4C:06 (Espressif)
                                    Nmap scan report for shelly1-55EBDA.fritz.box (192.168.3.78)
                                    Host is up (0.12s latency).
                                    MAC Address: B4:E6:2D:55:EB:DA (Espressif)
                                    Nmap scan report for shellyswitch-5A3EB3.fritz.box (192.168.3.79)
                                    Host is up (0.12s latency).
                                    MAC Address: B4:E6:2D:5A:3E:B3 (Espressif)
                                    Nmap scan report for shelly1-55EE37.fritz.box (192.168.3.80)
                                    Host is up (0.010s latency).
                                    MAC Address: B4:E6:2D:55:EE:37 (Espressif)
                                    Nmap scan report for shellyswitch-55BE4F.fritz.box (192.168.3.81)
                                    Host is up (0.12s latency).
                                    MAC Address: B4:E6:2D:55:BE:4F (Espressif)
                                    Nmap scan report for shelly1-55E049.fritz.box (192.168.3.82)
                                    Host is up (-0.17s latency).
                                    MAC Address: B4:E6:2D:55:E0:49 (Espressif)
                                    Nmap scan report for shelly1-2C0B82.fritz.box (192.168.3.83)
                                    Host is up (-0.054s latency).
                                    MAC Address: 3C:71:BF:2C:0B:82 (Espressif)
                                    Nmap scan report for shellyswitch-55A389.fritz.box (192.168.3.84)
                                    Host is up (-0.17s latency).
                                    MAC Address: CC:50:E3:55:A3:89 (Espressif)
                                    Nmap scan report for shelly1-GastWC.fritz.box (192.168.3.85)
                                    Host is up (0.12s latency).
                                    MAC Address: BC:DD:C2:94:4B:FC (Espressif)
                                    Nmap scan report for shelly1-StudioLichtDecke.fritz.box (192.168.3.86)
                                    Host is up (-0.10s latency).
                                    MAC Address: E8:DB:84:D7:1F:E9 (Espressif)
                                    Nmap scan report for shelly1-246831.fritz.box (192.168.3.87)
                                    Host is up (0.010s latency).
                                    MAC Address: EC:FA:BC:24:68:31 (Espressif)
                                    Nmap scan report for shelly1-59DB1E.fritz.box (192.168.3.88)
                                    Host is up (-0.055s latency).
                                    MAC Address: B4:E6:2D:59:DB:1E (Espressif)
                                    Nmap scan report for shelly1-LichtNachtFlurOG2.fritz.box (192.168.3.89)
                                    Host is up (-0.098s latency).
                                    MAC Address: 3C:71:BF:2C:8B:36 (Espressif)
                                    Nmap scan report for shelly1-22F8DB.fritz.box (192.168.3.90)
                                    Host is up (-0.053s latency).
                                    MAC Address: 3C:71:BF:22:F8:DB (Espressif)
                                    Nmap scan report for shellyswitch25-RollEssziKlein.fritz.box (192.168.3.91)
                                    Host is up (-0.053s latency).
                                    MAC Address: E0:98:06:8C:F7:71 (Espressif)
                                    Nmap scan report for shellyswitch25-RollKuecheWigaRe.fritz.box (192.168.3.92)
                                    Host is up (-0.053s latency).
                                    MAC Address: DC:4F:22:5D:BE:F7 (Espressif)
                                    Nmap scan report for shelly1-TasterLichtKuecheTradfriTuer.fritz.box (192.168.3.93)
                                    Host is up (0.010s latency).
                                    MAC Address: 98:F4:AB:B8:B5:96 (Espressif)
                                    Nmap scan report for shellyix3-TasterStudioTuer.fritz.box (192.168.3.94)
                                    Host is up (-0.086s latency).
                                    MAC Address: 10:52:1C:F1:D4:1E (Espressif)
                                    Nmap scan report for shelly1-LaderreglerHalle.fritz.box (192.168.3.95)
                                    Host is up (0.010s latency).
                                    MAC Address: 98:F4:AB:B9:5A:24 (Espressif)
                                    Nmap scan report for shellyswitch25-RollWigaMitte.fritz.box (192.168.3.96)
                                    Host is up (0.12s latency).
                                    MAC Address: 80:7D:3A:74:4B:6F (Espressif)
                                    Nmap scan report for shellyswitch25-RollWigaMitteLi.fritz.box (192.168.3.97)
                                    Host is up (0.11s latency).
                                    MAC Address: 80:7D:3A:74:4B:D6 (Espressif)
                                    Nmap scan report for shellyswitch25-RolladenHalle.fritz.box (192.168.3.98)
                                    Host is up (0.11s latency).
                                    MAC Address: 84:F3:EB:E5:E4:BB (Espressif)
                                    Nmap scan report for shellyswitch25-RollWigaLi.fritz.box (192.168.3.99)
                                    Host is up (0.11s latency).
                                    MAC Address: 80:7D:3A:74:4F:B4 (Espressif)
                                    Nmap scan report for shellyswitch25-RollEingang.fritz.box (192.168.3.100)
                                    Host is up (-0.059s latency).
                                    MAC Address: 80:7D:3A:74:50:D2 (Espressif)
                                    Nmap scan report for shelly1-LichtKuecheDecke.fritz.box (192.168.3.102)
                                    Host is up (0.10s latency).
                                    MAC Address: 3C:71:BF:2C:83:A9 (Espressif)
                                    Nmap scan report for shelly1-LichtKuecheEssenDecke.fritz.box (192.168.3.103)
                                    Host is up (-0.057s latency).
                                    MAC Address: B4:E6:2D:59:DA:7E (Espressif)
                                    Nmap scan report for shelly1-LichtKuecheEssenWand.fritz.box (192.168.3.104)
                                    Host is up (-0.053s latency).
                                    MAC Address: B4:E6:2D:59:DF:CD (Espressif)
                                    Nmap scan report for shelly1-LichtKuecheFenster.fritz.box (192.168.3.105)
                                    Host is up (-0.053s latency).
                                    MAC Address: BC:DD:C2:94:22:E5 (Espressif)
                                    Nmap scan report for shelly1-59D729.fritz.box (192.168.3.106)
                                    Host is up (-0.053s latency).
                                    MAC Address: B4:E6:2D:59:D7:29 (Espressif)
                                    Nmap scan report for shellyswitch25-RollEssZiGross.fritz.box (192.168.3.107)
                                    Host is up (-0.053s latency).
                                    MAC Address: 80:7D:3A:74:57:41 (Espressif)
                                    Nmap scan report for shelly1-LichtGartenHinten.fritz.box (192.168.3.108)
                                    Host is up (0.11s latency).
                                    MAC Address: 98:F4:AB:B8:B5:68 (Espressif)
                                    Nmap scan report for shelly1-LichtGartenRechts.fritz.box (192.168.3.109)
                                    Host is up (0.11s latency).
                                    MAC Address: 98:F4:AB:B9:62:32 (Espressif)
                                    Nmap scan report for CamKueche.fritz.box (192.168.3.110)
                                    Host is up (0.0011s latency).
                                    MAC Address: E0:62:90:61:43:1E (Jinan Jovision Science & Technology)
                                    Nmap scan report for Cam-Garten.fritz.box (192.168.3.111)
                                    Host is up (0.0012s latency).
                                    MAC Address: EC:71:DB:80:E1:3D (Shenzhen Baichuan Digital Technology)
                                    Nmap scan report for CamOG2.fritz.box (192.168.3.112)
                                    Host is up (0.00047s latency).
                                    MAC Address: E0:62:90:56:29:11 (Jinan Jovision Science & Technology)
                                    Nmap scan report for CamFront.fritz.box (192.168.3.113)
                                    Host is up (0.0011s latency).
                                    MAC Address: 18:68:CB:76:39:96 (Hangzhou Hikvision Digital Technology)
                                    Nmap scan report for CamHalle.fritz.box (192.168.3.118)
                                    Host is up (0.00048s latency).
                                    MAC Address: E0:62:90:F5:FC:DB (Jinan Jovision Science & Technology)
                                    Nmap scan report for shelly1-SteckdoseGarten.fritz.box (192.168.3.121)
                                    Host is up (-0.076s latency).
                                    MAC Address: EC:FA:BC:24:63:E6 (Espressif)
                                    Nmap scan report for shelly1-SteckdoseTerasseEG.fritz.box (192.168.3.122)
                                    Host is up (0.010s latency).
                                    MAC Address: 98:F4:AB:B8:B5:76 (Espressif)
                                    Nmap scan report for shelly1-55EBE5.fritz.box (192.168.3.123)
                                    Host is up (-0.17s latency).
                                    MAC Address: B4:E6:2D:55:EB:E5 (Espressif)
                                    Nmap scan report for shellyswitch25-RolladenTerryTuer.fritz.box (192.168.3.124)
                                    Host is up (0.024s latency).
                                    MAC Address: EC:FA:BC:C4:BD:F6 (Espressif)
                                    Nmap scan report for shellyswitch25-RollFlurOG1Gross.fritz.box (192.168.3.125)
                                    Host is up (0.10s latency).
                                    MAC Address: DC:4F:22:76:FA:32 (Espressif)
                                    Nmap scan report for shellyix3-TasterLichtKuecheEssplatz.fritz.box (192.168.3.126)
                                    Host is up (0.10s latency).
                                    MAC Address: A4:CF:12:F4:73:72 (Espressif)
                                    Nmap scan report for shellyix3-TasterLichtKuecheArbeitsplatte.fritz.box (192.168.3.127)
                                    Host is up (0.11s latency).
                                    MAC Address: A4:CF:12:F4:75:46 (Espressif)
                                    Nmap scan report for shellyix3-TasterLichtKuecheTuer.fritz.box (192.168.3.128)
                                    Host is up (0.010s latency).
                                    MAC Address: A4:CF:12:F4:6D:C2 (Espressif)
                                    Nmap scan report for shellyix3-TasterKellerVerteilung.fritz.box (192.168.3.129)
                                    Host is up (0.19s latency).
                                    MAC Address: 10:52:1C:F2:CB:22 (Espressif)
                                    Nmap scan report for shelly1-LichtStudioSchrank.fritz.box (192.168.3.130)
                                    Host is up (-0.071s latency).
                                    MAC Address: E8:DB:84:D7:21:32 (Espressif)
                                    Nmap scan report for shelly1-LichtGastNacht.fritz.box (192.168.3.132)
                                    Host is up (0.010s latency).
                                    MAC Address: E8:DB:84:D7:22:30 (Espressif)
                                    Nmap scan report for shelly1-LichtNachtFlurEG.fritz.box (192.168.3.133)
                                    Host is up (0.010s latency).
                                    MAC Address: E8:DB:84:D7:1A:46 (Espressif)
                                    Nmap scan report for shellyix3-8CAAB5439505.fritz.box (192.168.3.134)
                                    Host is up (0.010s latency).
                                    MAC Address: 8C:AA:B5:43:95:05 (Espressif)
                                    Nmap scan report for shellyswitch25-LichtBadOG2.fritz.box (192.168.3.135)
                                    Host is up (0.010s latency).
                                    MAC Address: EC:FA:BC:C4:7F:29 (Espressif)
                                    Nmap scan report for shellyix3-TasterBadOG1Waschtisch.fritz.box (192.168.3.136)
                                    Host is up (0.010s latency).
                                    MAC Address: 8C:AA:B5:43:23:DE (Espressif)
                                    Nmap scan report for shelly1-KuecheFloaltMitte.fritz.box (192.168.3.137)
                                    Host is up (0.010s latency).
                                    MAC Address: E8:DB:84:D7:1F:97 (Espressif)
                                    Nmap scan report for shellyswitch25-RollKuecheRechts.fritz.box (192.168.3.138)
                                    Host is up (0.010s latency).
                                    MAC Address: 3C:61:05:E5:4B:8E (Unknown)
                                    Nmap scan report for shelly1-LichtGarage.fritz.box (192.168.3.139)
                                    Host is up (0.010s latency).
                                    MAC Address: E8:DB:84:A1:B8:79 (Espressif)
                                    Nmap scan report for 192.168.3.149
                                    Host is up (0.00079s latency).
                                    MAC Address: E0:62:90:50:7A:29 (Jinan Jovision Science & Technology)
                                    Nmap scan report for 192.168.3.199
                                    Host is up (0.21s latency).
                                    MAC Address: E0:D0:83:12:35:37 (Samsung Electronics)
                                    Nmap scan report for 192.168.3.200
                                    Host is up (0.00042s latency).
                                    MAC Address: 02:11:32:2A:D0:8C (Unknown)
                                    Nmap scan report for 192.168.3.201
                                    Host is up (0.00032s latency).
                                    MAC Address: 02:11:32:2A:D0:8C (Unknown)
                                    Nmap scan report for shelly1-E8DB84D71429.fritz.box (192.168.3.204)
                                    Host is up (-0.086s latency).
                                    MAC Address: E8:DB:84:D7:14:29 (Espressif)
                                    Nmap scan report for SonMusikEssZi.fritz.box (192.168.3.205)
                                    Host is up (-0.080s latency).
                                    MAC Address: EC:FA:BC:06:45:DF (Espressif)
                                    Nmap scan report for Netgear-8PortPOE.fritz.box (192.168.3.206)
                                    Host is up (0.0028s latency).
                                    MAC Address: B0:B9:8A:68:33:DF (Netgear)
                                    Nmap scan report for 192.168.3.207
                                    Host is up (0.00015s latency).
                                    MAC Address: 02:11:32:2A:D0:8C (Unknown)
                                    Nmap scan report for 192.168.3.208
                                    Host is up (0.00037s latency).
                                    MAC Address: 02:11:32:2A:D0:8C (Unknown)
                                    Nmap scan report for Netgear-16Port.fritz.box (192.168.3.209)
                                    Host is up (0.011s latency).
                                    MAC Address: C0:FF:D4:C5:C0:69 (Netgear)
                                    Nmap scan report for shellyix3-TasterWohziTuer.fritz.box (192.168.3.210)
                                    Host is up (0.00039s latency).
                                    MAC Address: 02:11:32:2A:D0:8C (Unknown)
                                    Nmap scan report for 192.168.3.211
                                    Host is up (0.00042s latency).
                                    MAC Address: 02:11:32:2A:D0:8C (Unknown)
                                    Nmap scan report for shellyswitch25-RollKuecheLinks.fritz.box (192.168.3.212)
                                    Host is up (0.13s latency).
                                    MAC Address: E8:DB:84:D7:1F:4D (Espressif)
                                    Nmap scan report for Netgear-5Port.fritz.box (192.168.3.213)
                                    Host is up (0.00063s latency).
                                    MAC Address: 02:11:32:2A:D0:8C (Unknown)
                                    Nmap scan report for 192.168.3.214
                                    Host is up (-0.14s latency).
                                    MAC Address: 02:11:32:2A:D0:8C (Unknown)
                                    Nmap scan report for 192.168.3.215
                                    Host is up (-0.14s latency).
                                    MAC Address: 02:11:32:2A:D0:8C (Unknown)
                                    Nmap scan report for SonoffBadOG1.fritz.box (192.168.3.216)
                                    Host is up (-0.057s latency).
                                    MAC Address: 60:01:94:8E:50:98 (Espressif)
                                    Nmap scan report for SonKueMusik.fritz.box (192.168.3.217)
                                    Host is up (-0.082s latency).
                                    MAC Address: 2C:3A:E8:44:64:DF (Espressif)
                                    Nmap scan report for 192.168.3.218
                                    Host is up (-0.14s latency).
                                    MAC Address: 02:11:32:2A:D0:8C (Unknown)
                                    Nmap scan report for shelly1-E098069529BF.fritz.box (192.168.3.220)
                                    Host is up (0.12s latency).
                                    MAC Address: E0:98:06:95:29:BF (Espressif)
                                    Nmap scan report for Cam-Kiosk.fritz.box (192.168.3.221)
                                    Host is up (0.00070s latency).
                                    MAC Address: E0:62:90:D4:E2:EE (Jinan Jovision Science & Technology)
                                    Nmap scan report for 192.168.3.222
                                    Host is up (0.00049s latency).
                                    MAC Address: 02:11:32:2A:D0:8C (Unknown)
                                    Nmap scan report for esp32-arduino.fritz.box (192.168.3.224)
                                    Host is up (0.12s latency).
                                    MAC Address: F0:08:D1:D2:CF:C4 (Espressif)
                                    Nmap scan report for 192.168.3.228
                                    Host is up (0.51s latency).
                                    MAC Address: 3C:A6:2F:76:D1:25 (AVM Audiovisuelles Marketing und Computersysteme GmbH)
                                    Nmap scan report for 192.168.3.229
                                    Host is up (0.28s latency).
                                    MAC Address: 3C:A6:2F:76:D1:25 (AVM Audiovisuelles Marketing und Computersysteme GmbH)
                                    Nmap scan report for 192.168.3.230
                                    Host is up (0.35s latency).
                                    MAC Address: 3C:A6:2F:76:D1:25 (AVM Audiovisuelles Marketing und Computersysteme GmbH)
                                    Nmap scan report for Synology.fritz.box (192.168.3.23)
                                    Host is up.
                                    Nmap done: 256 IP addresses (112 hosts up) scanned in 6.35 seconds
                                    root@ServerRubensstr:/opt/iobroker# 
                                    

                                    System: Synology, ioB im Docker, Admin 4.2.2, Adapter aktuell
                                    Platform: linux
                                    os: linux
                                    RAM: 7.7 GB
                                    System uptime: 3 T. 18:45:36
                                    Node.js: v12.20.0
                                    NPM: 6.14.8
                                    adapters count: 359
                                    Uptime: 01:40:55
                                    Active instances: 33

                                    Danke im Voraus für einen Hinweis

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

                                      @zahnheinrich

                                      der "fehler" sollte eingentlich nur ab und zu kommen - aus irgendeinem grund kommt dann von nmap nix zurück

                                      kommt der bei dir immer ?

                                      war eigentlich nur, wenn das schedule zu "schnell" war - standard ist 15 min

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

                                        @liv-in-sky
                                        der schedule steht auf 15 Min.
                                        Die Meldungen kommen öfter, ok, jedesmal, wenn ich das skript neu starte...

                                        javascript.0	2021-09-13 15:45:00.518	warn	(812) script.js.common.Tabellen.IpDevices: no Array
                                        javascript.0	2021-09-13 15:39:56.570	warn	(812) script.js.common.Tabellen.IpDevices: no Array
                                        javascript.0	2021-09-13 15:30:00.569	warn	(812) script.js.common.Tabellen.IpDevices: no Array
                                        javascript.0	2021-09-13 15:21:40.638	warn	(812) script.js.common.Tabellen.IpDevices: no Array
                                        javascript.0	2021-09-13 15:15:00.119	warn	(812) script.js.common.Tabellen.IpDevices: no Array
                                        javascript.0	2021-09-13 15:13:08.645	warn	(812) script.js.common.Tabellen.IpDevices: no Array
                                        javascript.0	2021-09-13 15:12:22.717	warn	(812) script.js.common.Tabellen.IpDevices: no Array
                                        javascript.0	2021-09-13 15:11:19.795	warn	(812) script.js.common.Tabellen.IpDevices: no Array
                                        javascript.0	2021-09-13 14:52:26.738	warn	(812) script.js.common.Tabellen.IpDevices: no Array
                                        

                                        Was mir ausserdem auffält:
                                        In der Tabelle sind Geräte aufgelistet, die schon länger ausser Betrieb sind und auch nicht mehr in der FB auftauchen.
                                        Wo kommen die her?
                                        Kann ich das irgendwie abfangen?

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

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

                                          wenn ich das skript neu starte...

                                          • da ist es normal !

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

                                          Kann ich das irgendwie abfangen?

                                          die sind in einer eigenen datenbank - die kannst du löschen - das script muss sich ja merken, welches gerät da war - um es bei nicht erreichen als "offline" zu kennzeichnen - wenn das gerät dann für immer verschwindet, kann das script das nicht herausfinden und läßt es für immer auf "offline"

                                          suche die javascript instanz (meistens 0) und lösche den ganzen datenpunkt (im beispiel bei mir javascript.2 - da ich 3 instanzen habe)

                                          Image 1.png



                                          DANN SCRIPT NEUSTARTEN !!



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

                                            @liv-in-sky
                                            Ja ok, die DeviceCollection hatte ich nicht mehr auf dem Schirm.
                                            Hatte dein skript vor längerer Zeit mal angeschaut, aber nicht fehlerfrei zum Laufen bekommen. Daher die alte Liste.
                                            Hatte mich echt gewundert...

                                            Der Fehler kommt regelmässig alle 15Min., die Tabelle wird nicht geschrieben...

                                            liv-in-sky 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            954
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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