Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter SNMP Drucker, Synology, QNAP etc auslesen

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Adapter SNMP Drucker, Synology, QNAP etc auslesen

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kuerfra @Homoran last edited by

      @homoran sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

      Parser-editorfenster

      Ist es das ?

      {
      "_id": "parser.0.Lexmark_BK",
      "common": {
      "name": "Lexmark_BK",
      "write": false,
      "read": true,
      "unit": "%",
      "type": "number",
      "role": "value"
      },
      "native": {
      "link": "http://192.168.178.60/cgi-bin/dynamic/printer/PrinterStatus.html",
      "regex": "\(BK\)\\<\/dt><dd>\(([0-9.]*)%\)",
      "interval": "",
      "factor": 1,
      "item": 0,
      "offset": 0,
      "substitute": "",
      "substituteOld": false,
      "comma": false
      },
      "type": "state",
      "from": "system.adapter.admin.0",
      "user": "system.user.admin",
      "ts": 1641486274809,
      "acl": {
      "object": 1636,
      "state": 1636,
      "owner": "system.user.admin",
      "ownerGroup": "system.group.administrator"
      }
      }

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

        @kuerfra sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

        Ist es das ?

        wenn das im Fenster steht 🙂

        aber das ist ein JSON, das geht viel leichter per Blockly

        EDIT:
        nein, dass ist ein Datenpunkt unter Objekten.

        Ich meinte unter Instanzen, Parser-Konfiguration, die Regel und dort rechts auf den Bleistift
        und was dann unten im großen Fenster steht

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

          @homoran sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

          @kuerfra sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

          Ist es das ?

          wenn das im Fenster steht 🙂

          aber das ist ein JSON, das geht viel leichter per Blockly

          EDIT:
          nein, dass ist ein Datenpunkt unter Objekten.

          Ich meinte unter Instanzen, Parser-Konfiguration, die Regel und dort rechts auf den Bleistift
          und was dann unten im großen Fenster steht

          html>
          <head>
          <meta content="text/html; charset=UTF-8" http-equiv="content-type">
          <meta HTTP-EQUIV="refresh" CONTENT="120; url=/cgi-bin/dynamic/printer/PrinterStatus.html">
          <title>Printer Status</title>
          <base target="_self">
          <LINK REL="stylesheet" HREF="/cgi-bin/dynamic/printer/configStyle.css" TYPE="text/css">
          </head>
          <body>
          <!-- Device Status Title-->
          
          <h3>Gerätestatus - <a href="/" TARGET="_top"><sub><b>Aktualisieren</b></sub></a></h3>
          
          
          
          <!-- More Details Link -->
          <table><tr> 
             <td> <font face="Arial" size="4" color="#0066CC"></font><font face="Arial" size="2">
              <a href="/cgi-bin/dynamic/printer/SuppliesStatus.html"><font color="#0040CC" size="2" face="Arial"><B>Weitere Details</B></font></a><font face="Arial" size="5" color="#FFFFFF">&nbsp;</font></font>
            </td></tr>
          </table>
          
          
          <hr class="status_hr"/>
          
          <!-- Panel and Toner Level -->
          <table class="status_table">
          	<tr>
          		<th colspan="4">&nbsp;</th>
          	</tr>
          
          
          
          	<!-- Toner Level -->
          
          	<tr>
          		<td colspan="4">
          		<B>Kassettenstatus:</B>
          		</td>
          	</tr>
          
          
          	<TABLE width=650 borerColor=#000000 border=0>
          <tr>
          <td><table width="80%" height="25" border=0><tr>
          <TD WIDTH="30%" COLSPAN=2 nowrap><B>Cyan Kassette</B></TD>
          </tr>
          <TR>
          <TD width="25%">
          <TABLE borderColor=#000000 cellSpacing=0 width="160" height="23" border=1>
          <TBODY>
          <TR>
          <TD width="30%" bgColor=#00ffff title=30%>&nbsp;</TD>
          <TD width="70%" bgColor=#ffffff title=30%>&nbsp;</TD>
          </TBODY>
          </TABLE></TD>
          </tr>
          </table></td>
          <td><table width="80%" height="25" border=0><tr>
          <TD WIDTH="30%" COLSPAN=2 nowrap><B>Magenta Kassette</B></TD>
          </tr>
          <TR>
          <TD width="25%">
          <TABLE borderColor=#000000 cellSpacing=0 width="160" height="23" border=1>
          <TBODY>
          <TR>
          <TD width="90%" bgColor=#ff00ff title=90%>&nbsp;</TD>
          <TD width="10%" bgColor=#ffffff title=90%>&nbsp;</TD>
          </TBODY>
          </TABLE></TD>
          </tr>
          </table></td>
          <td><table width="80%" height="25" border=0><tr>
          <TD WIDTH="30%" COLSPAN=2 nowrap><B>Gelbe Kassette</B></TD>
          </tr>
          <TR>
          <TD width="25%">
          <TABLE borderColor=#000000 cellSpacing=0 width="160" height="23" border=1>
          <TBODY>
          <TR>
          <TD width="100%" bgColor=#ffff00 title=100%>&nbsp;</TD>
          </TBODY>
          </TABLE>
          </TD>
          </tr>
          </table></td>
          <td><table width="80%" height="25" border=0><tr>
          <TD WIDTH="30%" COLSPAN=2 nowrap><B>Schwarze Kassette</B></TD>
          </tr>
          <TR>
          <TD width="25%">
          <TABLE borderColor=#000000 cellSpacing=0 width="160" height="23" border=1>
          <TBODY>
          <TR>
          <TD width="90%" bgColor=#000000 title=90%>&nbsp;</TD>
          <TD width="10%" bgColor=#ffffff title=90%>&nbsp;</TD>
          </TBODY>
          </TABLE></TD>
          </tr>
          </table></td>
          </tr>
          </TABLE>
                    
          
          </table>
          
          <hr class="status_hr">
          <table class="status_table">
          	<tr>
          		<th colspan="5">&nbsp;</th>
          	</tr>
          
          	<tr>
          	<td width="23%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Papierfach:</B></P> </TD>
          	<td width="20%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Status:</B></P> </TD>
          	<td width="15%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Kapazität:</B></P></TD>
          	<td width="15%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Format:</B></P></TD>
          	<td width="25%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Typ:</B></TD>
          	</tr>
          
          	<TR>
            <TD><P style="margin-left:5">Fach 1</P></TD>
           <td width="30%"><P style="margin-left:5"><table width="50%" bgcolor="#009900" style="padding: .75pt" height="1"><tr><td><b>OK</b></TD></TR></TABLE></P></TD>
          <TD><P style="margin-left:5">250</P></TD>
            <TD><P style="margin-left:5">A4</P></TD>
            <TD><P style="margin-left:5">Normalpapier</P></TD>
          </TR>
          
          
          
          </table>
          
          <hr class="status_hr"/>
          
          <table class="status_table">
          
          	<tr>
          		<td width="23%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Papierablage:</B></P></TD>
          		<td width="20%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Status:</B></P> </TD>
          		<td width="15%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Kapazität:</B></P></TD>
          		<td width="15%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B></B></P></TD>
          		<td width="25%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B></B></P></TD>
          	</tr>
          	<TR>
            <TD><P style="margin-left:5">Standardablage</P></TD>
           <td width="30%"><P style="margin-left:5"><table width="50%" bgcolor="#009900" style="padding: .75pt" height="1"><tr><td><b>OK</b></TD></TR></TABLE></P></TD>
          <TD><P style="margin-left:5">125</P></TD>
            <TD><P style="margin-left:5"></P></TD>
            <TD><P style="margin-left:5"></P></TD>
          </TR>
          
          </table>
          
          <hr class="status_hr">
          <table class="status_table">
          	<tr>
          		<th colspan="2">&nbsp;</th>
          	</tr>
          	<TR>
          <TD width="15%"><B>Gerätetyp:</B></TD><TD width="60%">Farblaser</TD>
          </TR><TR>
          <TD><B>Geschwindigkeit:</B></TD><TD>Bis zu 25 Seiten/Minute</TD>
          </TR>
          </table>
          
          
          
          </body>
          </html>
          

          MOD-Edit: Code in code-tags gesetzt!

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

            @kuerfra Danke, das sieht besser aus.

            Was genau möchtest du finden?

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

              @homoran sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

              @kuerfra Danke, das sieht besser aus.

              Was genau möchtest du finden?

              Ich wollte die Farbfüllmenge wissen, das war die Frage.

              Homoran 2 Replies Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @kuerfra last edited by Homoran

                @kuerfra sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

                Ich wollte die Farbfüllmenge wissen, das war die Frage.

                die steht da aber nicht drin.
                Tonerstatus.png

                da ist nur ne Grafik

                EDIT: da ist was, ich versuche es

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

                  @kuerfra sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

                  @homoran sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

                  @kuerfra Danke, das sieht besser aus.

                  Was genau möchtest du finden?

                  Ich wollte die Farbfüllmenge wissen, das war die Frage.

                  versuch mal das für Cyan:
                  "(\d+)%"\sbgColor=#00f

                  K 2 Replies Last reply Reply Quote 0
                  • K
                    kuerfra @Homoran last edited by

                    @homoran sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

                    "(\d+)%"\sbgColor=#00f

                    TOP läuft Astrein

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

                      @kuerfra dann das hier für magenta:
                      "(\d+)%"\sbgColor=#ff0

                      das für gelb:
                      "(\d+)%"\sbgColor=#ffff0

                      bei schwarz
                      "(\d+)%"\sbgColor=#000

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

                        @homoran Woran erkenn ich die Farbe für die anderen 3 Töne ?

                        Homoran 2 Replies Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @kuerfra last edited by

                          @kuerfra ruhig - ich brauch dafür auch ein paar Sekunden Zeit 🙂

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

                            @kuerfra und?
                            passt's?

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

                              @homoran sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

                              @kuerfra und?
                              passt's?

                              Im Moment will er noch nicht speichern und schliessen....

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

                                @kuerfra sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

                                Im Moment will er noch nicht speichern und schliessen....

                                dann ist irgendwo noch eine leere Regel oder sonst ein Fehler

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

                                  @homoran bei Yellow will er nicht

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

                                    @kuerfra sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

                                    bei Yellow will er nicht

                                    zeigen!

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

                                      @homoran sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

                                      @kuerfra sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

                                      bei Yellow will er nicht

                                      zeigen!

                                      <html>
                                      <head>
                                      <meta content="text/html; charset=UTF-8" http-equiv="content-type">
                                      <meta HTTP-EQUIV="refresh" CONTENT="120; url=/cgi-bin/dynamic/printer/PrinterStatus.html">
                                      <title>Printer Status</title>
                                      <base target="_self">
                                      <LINK REL="stylesheet" HREF="/cgi-bin/dynamic/printer/configStyle.css" TYPE="text/css">
                                      </head>
                                      <body>
                                      <!-- Device Status Title-->
                                      
                                      <h3>Gerätestatus - <a href="/" TARGET="_top"><sub><b>Aktualisieren</b></sub></a></h3>
                                      
                                      
                                      
                                      <!-- More Details Link -->
                                      <table><tr> 
                                         <td> <font face="Arial" size="4" color="#0066CC"></font><font face="Arial" size="2">
                                          <a href="/cgi-bin/dynamic/printer/SuppliesStatus.html"><font color="#0040CC" size="2" face="Arial"><B>Weitere Details</B></font></a><font face="Arial" size="5" color="#FFFFFF">&nbsp;</font></font>
                                        </td></tr>
                                      </table>
                                      
                                      
                                      <hr class="status_hr"/>
                                      
                                      <!-- Panel and Toner Level -->
                                      <table class="status_table">
                                      	<tr>
                                      		<th colspan="4">&nbsp;</th>
                                      	</tr>
                                      
                                      
                                      
                                      	<!-- Toner Level -->
                                      
                                      	<tr>
                                      		<td colspan="4">
                                      		<B>Kassettenstatus:</B>
                                      		</td>
                                      	</tr>
                                      
                                      
                                      	<TABLE width=650 borerColor=#000000 border=0>
                                      <tr>
                                      <td><table width="80%" height="25" border=0><tr>
                                      <TD WIDTH="30%" COLSPAN=2 nowrap><B>Cyan Kassette</B></TD>
                                      </tr>
                                      <TR>
                                      <TD width="25%">
                                      <TABLE borderColor=#000000 cellSpacing=0 width="160" height="23" border=1>
                                      <TBODY>
                                      <TR>
                                      <TD width="30%" bgColor=#00ffff title=30%>&nbsp;</TD>
                                      <TD width="70%" bgColor=#ffffff title=30%>&nbsp;</TD>
                                      </TBODY>
                                      </TABLE></TD>
                                      </tr>
                                      </table></td>
                                      <td><table width="80%" height="25" border=0><tr>
                                      <TD WIDTH="30%" COLSPAN=2 nowrap><B>Magenta Kassette</B></TD>
                                      </tr>
                                      <TR>
                                      <TD width="25%">
                                      <TABLE borderColor=#000000 cellSpacing=0 width="160" height="23" border=1>
                                      <TBODY>
                                      <TR>
                                      <TD width="90%" bgColor=#ff00ff title=90%>&nbsp;</TD>
                                      <TD width="10%" bgColor=#ffffff title=90%>&nbsp;</TD>
                                      </TBODY>
                                      </TABLE></TD>
                                      </tr>
                                      </table></td>
                                      <td><table width="80%" height="25" border=0><tr>
                                      <TD WIDTH="30%" COLSPAN=2 nowrap><B>Gelbe Kassette</B></TD>
                                      </tr>
                                      <TR>
                                      <TD width="25%">
                                      <TABLE borderColor=#000000 cellSpacing=0 width="160" height="23" border=1>
                                      <TBODY>
                                      <TR>
                                      <TD width="100%" bgColor=#ffff00 title=100%>&nbsp;</TD>
                                      </TBODY>
                                      </TABLE>
                                      </TD>
                                      </tr>
                                      </table></td>
                                      <td><table width="80%" height="25" border=0><tr>
                                      <TD WIDTH="30%" COLSPAN=2 nowrap><B>Schwarze Kassette</B></TD>
                                      </tr>
                                      <TR>
                                      <TD width="25%">
                                      <TABLE borderColor=#000000 cellSpacing=0 width="160" height="23" border=1>
                                      <TBODY>
                                      <TR>
                                      <TD width="90%" bgColor=#000000 title=90%>&nbsp;</TD>
                                      <TD width="10%" bgColor=#ffffff title=90%>&nbsp;</TD>
                                      </TBODY>
                                      </TABLE></TD>
                                      </tr>
                                      </table></td>
                                      </tr>
                                      </TABLE>
                                                
                                      
                                      </table>
                                      
                                      <hr class="status_hr">
                                      <table class="status_table">
                                      	<tr>
                                      		<th colspan="5">&nbsp;</th>
                                      	</tr>
                                      
                                      	<tr>
                                      	<td width="23%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Papierfach:</B></P> </TD>
                                      	<td width="20%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Status:</B></P> </TD>
                                      	<td width="15%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Kapazität:</B></P></TD>
                                      	<td width="15%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Format:</B></P></TD>
                                      	<td width="25%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Typ:</B></TD>
                                      	</tr>
                                      
                                      	<TR>
                                        <TD><P style="margin-left:5">Fach 1</P></TD>
                                       <td width="30%"><P style="margin-left:5"><table width="50%" bgcolor="#009900" style="padding: .75pt" height="1"><tr><td><b>OK</b></TD></TR></TABLE></P></TD>
                                      <TD><P style="margin-left:5">250</P></TD>
                                        <TD><P style="margin-left:5">A4</P></TD>
                                        <TD><P style="margin-left:5">Normalpapier</P></TD>
                                      </TR>
                                      
                                      
                                      
                                      </table>
                                      
                                      <hr class="status_hr"/>
                                      
                                      <table class="status_table">
                                      
                                      	<tr>
                                      		<td width="23%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Papierablage:</B></P></TD>
                                      		<td width="20%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Status:</B></P> </TD>
                                      		<td width="15%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B>Kapazität:</B></P></TD>
                                      		<td width="15%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B></B></P></TD>
                                      		<td width="25%"><P align="left" style="margin-top: 5; margin-bottom: 5"><B></B></P></TD>
                                      	</tr>
                                      	<TR>
                                        <TD><P style="margin-left:5">Standardablage</P></TD>
                                       <td width="30%"><P style="margin-left:5"><table width="50%" bgcolor="#009900" style="padding: .75pt" height="1"><tr><td><b>OK</b></TD></TR></TABLE></P></TD>
                                      <TD><P style="margin-left:5">125</P></TD>
                                        <TD><P style="margin-left:5"></P></TD>
                                        <TD><P style="margin-left:5"></P></TD>
                                      </TR>
                                      
                                      </table>
                                      
                                      <hr class="status_hr">
                                      <table class="status_table">
                                      	<tr>
                                      		<th colspan="2">&nbsp;</th>
                                      	</tr>
                                      	<TR>
                                      <TD width="15%"><B>Gerätetyp:</B></TD><TD width="60%">Farblaser</TD>
                                      </TR><TR>
                                      <TD><B>Geschwindigkeit:</B></TD><TD>Bis zu 25 Seiten/Minute</TD>
                                      </TR>
                                      </table>
                                      
                                      
                                      
                                      </body>
                                      </html>
                                      

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

                                        @kuerfra nein!
                                        diesmal Screenshot vom Parser-Editor

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

                                          @homoran sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

                                          @kuerfra nein!
                                          diesmal Screenshot vom Parser-Editor

                                          Dieses: ?

                                          "_id": "parser.0.Lexmark_Y",
                                            "common": {
                                              "name": "Lexmark_Y",
                                              "write": false,
                                              "read": true,
                                              "unit": "%",
                                              "type": "number",
                                              "role": "value"
                                            },
                                            "native": {
                                              "link": "http://192.168.178.60/cgi-bin/dynamic/printer/PrinterStatus.html",
                                              "regex": "\\(Y\\)\\*\\*<\\/dt><dd>\\(([0-9.]*)%\\)",
                                              "interval": "",
                                              "factor": 1,
                                              "item": 0,
                                              "offset": 0,
                                              "substitute": "",
                                              "substituteOld": false,
                                              "comma": false
                                            },
                                            "type": "state",
                                            "from": "system.adapter.admin.0",
                                            "user": "system.user.admin",
                                            "ts": 1641486274837,
                                            "acl": {
                                              "object": 1636,
                                              "state": 1636,
                                              "owner": "system.user.admin",
                                              "ownerGroup": "system.group.administrator"
                                            }
                                          }
                                          

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

                                            @kuerfra sagte in Adapter SNMP Drucker, Synology, QNAP etc auslesen:

                                            Dieses

                                            Nein, einen Screenshot 🖼 des Editors der Regel für Gelb

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            749
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            snmp
                                            85
                                            365
                                            65000
                                            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