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 goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • 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.
    • bahnuhr
      bahnuhr Forum Testing Most Active @bahnuhr last edited by

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

      @liv-in-sky
      Wenn ich den Befehl mal per putty eingebe, kommt:

      dieter@VM-iobroker:~$ sudo -u root /usr/bin/nmap -sP --dns-servers 192.168.243.1 192.168.243.0/24
      >>> /etc/sudoers.d/iobroker: Syntax-Fehler near line 24 <<<
      sudo: Syntax-Fehler in /etc/sudoers.d/iobroker bei der Zeile 24
      sudo: Keine gültige sudoers-Quelle gefunden, Programmende
      sudo: Regelwerks-Plugin konnte nicht initialisiert werden
      

      Und in Zeile 24 steht:
      iobroker ALL=(ALL) NOPASSWD: /usr/bin/nmap

      Ist es notwendig das System neu zu starten ?

      1 Reply Last reply Reply Quote 0
      • bahnuhr
        bahnuhr Forum Testing Most Active last edited by

        Wenn ich sowas als Benutzer oder root ausführe wird es korrekt ermittelt:

        dieter@VM-iobroker:~$ nmap -sP -R 192.168.243.0/24
        Starting Nmap 7.70 ( https://nmap.org ) at 2022-02-12 22:17 CET
        Nmap scan report for fritz.box (192.168.243.1)
        Host is up (0.00085s latency).
        Nmap scan report for Synology.fritz.box (192.168.243.5)
        Host is up (0.00056s latency).
        Nmap scan report for Synology-Lan2.fritz.box (192.168.243.6)
        Host is up (0.00051s latency).
        Nmap scan report for NUC-Proxmox.fritz.box (192.168.243.8)
        
        
        
        liv-in-sky 1 Reply Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @bahnuhr last edited by liv-in-sky

          @bahnuhr root muss sein - sonst kann die netzwerkkarte nicht richtig gelesen werden

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

            @liv-in-sky
            so ich bin weiter.
            Habe per nano die Datei sudoers.d/iobroker nochmal geändert.
            Jetzt kommt keine Fehlermeldung mehr.

            log wird angezeigt.
            Jetzt kämpfe ich noch mit der Darstellung.

            613c91cc-9293-4a1a-a4cc-27092f3dda6d-image.png

            Das sieht noch nicht schön aus.
            Dein Bild wie in #1, das wäre gut.

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

              @bahnuhr

              das ist schon mal ne gute nachricht

              welches bild #1meinst du ?

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

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

                Dein Bild wie in #1, das wäre gut.

                Das war einmal

                was ist denn jetzt nicht mehr akzeptabel?

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

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

                  welches bild #1meinst du ?

                  4dd2c323-38f6-48d5-b956-9eff099c0822-image.png

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

                  was ist denn jetzt nicht mehr akzeptabel?

                  Ich bekomme einen weißen Kasten vor der Tabelle dargestellt. Weiß noch nicht wo dieser herkommt.

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

                    @bahnuhr meinst du das ganze design - gibt es nicht mehr

                    oder meinst du die darstellung der 3er tabelle ?

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

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

                      Ich bekomme einen weißen Kasten vor der Tabelle dargestellt. Weiß noch nicht wo dieser herkommt.

                      ich dachte du wolltest deine Daten verschleiern

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

                        @homoran

                        achso - das dachte ich auch - da muss ein widget liegen

                        @bahnuhr
                        mach mal den z-index vom widget auf 100 oder so

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

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

                          ich dachte du wolltest deine Daten verschleiern

                          Naja, man sieht ja nicht wirklich was.

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

                          darstellung der 3er tabelle

                          das kann man bestimmt irgendwo einstellen.

                          Anmerkung:
                          Kasten hab ich jetzt auch weg. (war ein anderes widget, Schande ...)

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

                            @liv-in-sky

                            Vielleicht noch ein Verbesserungsvorschlag für das Script (nmap-neu-12.2.22-20.txt)
                            Zeile 5: // im html-teil des widgets wird dier daten punkt in geschweiften klammern angegeben z.B. {javascript.x.Tabellen@Liv.TestTabelleVIS.NMAPTabelleVIS}
                            Vielleicht könnte man den Text hinter javascript.x. auch manuell per Variable gestalten.
                            Dann könnten die DP dort liegen wo man sie will.
                            Ich musste den DP auch erweitern auf: ....NMAPTabelleVIS.HTMLTableVis
                            Ohne dieses HTMLTableVIS kam nichts.

                            Zeile 20: let pfadFuerBilder="/vis.0/main/img/ip_tabelle/"
                            Vielleicht den DP unter ...main... legen.
                            Wenn man iob app für android nutzt, dann müssen die Bilder bei einem Projekt "main" auch darunter liegen.
                            Ansonste werden diese nicht angezeigt.

                            Sonst:
                            absolut klasse, tolle Arbeit.
                            hätte ich nicht hinbekommen.

                            mfg
                            Dieter

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

                              @bahnuhr eigentlich schon - bin mir gerade nicht sicher, ob das in diesem neuen script noch funktioniert

                              du muss das widget verbreitern und im setting

                              Image 1.png

                              auf 3 einstellen - evtl auch noch let weite="750"; etwas vergrößern

                              wir können gerne morgen noch mehr einstellen

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

                                @bahnuhr

                                meinst du so:

                                Image 3.png

                                • du kannst die farben an deine vis angleichen
                                • die spalten höhe etwas kleine machen
                                • spalten, die du nicht brauchst ausblenden (z.b. die bilder)

                                die bilder können liegen, wo du sie haben willst, einfach den pfad angleichen im setting
                                es hat einen sinn, dass man keinen dp angibt, sonden nur einen einzigartigen namen für das script - alle css und jquery nutzen das in ihren namen, damit es niemals gleiche klassen geben kann, falls jemand noch ein script von mir in seinem vis-project hat - werde ich auch nicht ändern - die liegen gut unte javascript 🙂
                                mich wundet, dass deine einstellung (NMAPTabelleVIS.HTMLTableVis) so funktioniert - das ist kein datenpunkt, wie eben bechieben, sonden hat mehree aufgaben im scipt

                                bahnuhr 3 Replies Last reply Reply Quote 0
                                • bahnuhr
                                  bahnuhr Forum Testing Most Active @liv-in-sky last edited by

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

                                  (NMAPTabelleVIS.HTMLTableVis) so funktioniert - das ist kein datenpunkt

                                  bei mir schon:

                                  167b9b55-4766-48b6-9cec-10385338ebea-image.png

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

                                    @liv-in-sky

                                    ich hatte dies:
                                    {javascript.x.Tabellen@Liv.TestTabelleVIS.NMAPTabelleVIS}

                                    geändert in:
                                    {javascript.0.System.IP_Tabelle.TestTabelleVIS.NMAPTabelleVIS}

                                    Ich wollte dies halt logisch in mein System einordnen.

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

                                      @bahnuhr ist doof - man muss meine logic benutzen 🙂

                                      wollte alle scripte sonoff, shelly, zigbee in einem ordner haben - macht es einfacher beim support

                                      warum das mit dem punkt funktioniert wundert mich, weil jetzt die klassen punkte im namen haben - dachte, dass könnte probleme machen - aber wenn es funktioniert - dann gut

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

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

                                        @bahnuhr

                                        meinst du so:

                                        Image 3.png

                                        Welche Werte hast du denn dafür alles ändern müssen, damit dies so schön aussieht ?

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

                                          @bahnuhr

                                          Image 10.png

                                          und ganz oben

                                          Image 11.png

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

                                            @liv-in-sky

                                            Danke

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            968
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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