Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Probleme bei Brother DCP mit Parser auslesen

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [gelöst] Probleme bei Brother DCP mit Parser auslesen

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

      @homoran & @sigi234

      FEEDBACK:
      Nachträglich betrachtet, war das Löschen der alten Regeln scheinbar die entscheidende Lösung (danke @Homoran). Blöd ist halt nur, dass man mind. 1 Regel drinnen haben muss, sonst kann man nicht speichern. Müsste man eine Dummyrule drinnen haben, die nix anstellt. Eventuell genügt auch nur ein Name, ich hab´s nicht probiert.

      So sieht es jetzt aus:
      44495b6c-75ac-4b68-a7aa-04ae8add4674-image.png

      Cyan[^>]+><dd>(\d+)
      enta[^>]+><dd>(\d+)
      ack[^>]+><dd>(\d+)
      llow[^>]+><dd>(\d+)
      

      15035130-cb33-44ae-862d-414c8a06fe16-image.png

      Danke im Speziellen dir Rainer und habe noch paar schöne Stunden im trockenen Garten 🌞 ☀ .
      LG und schönen Sonntag liebes Forum,
      mxa

      1 Reply Last reply Reply Quote 0
      • H
        holst4you last edited by

        Ich habe auch einen Brother Farblaser Drucker und wollte die Toner Füllstände über den Parser auslesen. Wenn ich aber die Einstellungen vom letzten Beitrag nehme, ließt er bei mir aus wie oft welcher Toner gewechselt wurde. Kann mir da einer vielleicht helfen?
        Lieben Gruß
        Carsten

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

          @holst4you sagte in [gelöst] Probleme bei Brother DCP mit Parser auslesen:

          Wenn ich aber die Einstellungen vom letzten Beitrag nehme, ließt er bei mir aus wie oft welcher Toner gewechselt wurde.

          hast du auch num=1 eingestellt?

          ansonsten braucht es den Quelltext aus dem Regeleditor sowie einen Screenshot was da als "Lösung" gefunden wird

          Homoran 1 Reply Last reply Reply Quote 0
          • H
            holst4you last edited by

            Hallo danke für deine schnelle Antwort. bei num habe ich einer 1 drin stehen.

            <?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head><meta http-equiv="Content-Script-Type" content="text/javascript" /><meta http-equiv="content-style-type" content="text/css" /><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
             <link rel="stylesheet" type="text/css" href="../common/css/common.css" /> 
             <link rel="stylesheet" type="text/css" href="../common/css/ews.css" /><title>Brother HL-3142CW series</title></head><body><div id="baseFrame"><div id="frameContainer"><div id="headerFrameContainerLeft"><div id="headerFrameContainerRight"><div id="headerFrameInner"><div id="headerFrame"><div id="modelName"><h1>HL-3142CW series</h1><div class="SetBox" id="SetBoxNoAuthRight"><div id="SetBoxNoAuthLeft"><a href="/admin/password.html">Please&#32;configure&#32;the&#32;password &gt;&gt;</a></div></div></div><div id="corporateLogo"><img src="/common/images/logo.gif" alt="Brother" /></div></div><div id="solutions"><div><span><a href="http://solutions.brother.com/cgi-bin/solutions.cgi?MDL=prn099&amp;LNG=de&amp;SRC=DEVICE">Brother<br />Solutions&#32;Center</a></span></div></div><div id="tabMenu"><ul><li><ul><li class="selected"><p>General</p></li></ul></li><li><ul><li><a href="/print/print.html">Print</a></li></ul></li><li><ul><li><a href="/admin/password.html">Administrator</a></li></ul></li><li><ul><li><a href="/net/net/net.html">Network</a></li></ul></li></ul></div></div></div></div><div id="mainFrameContainer"><div id="mainFrameTopLeft"><div id="mainFrameTopRight"><div id="mainFrameTopInner"><div id="subTabMenu">&nbsp;</div></div></div></div><div id="mainFrameInner"><div id="subMenu"><div><a href="/general/status.html">Status</a></div><div><a href="/general/reflesh.html" class="subPage">Auto&#32;Refresh&#32;Interval</a></div><div class="selected"><div class="top"><div class="bottom"><a href="/general/information.html?kind=item">Maintenance&#32;Information</a></div></div></div><div><a href="/general/lists.html">Lists/Reports</a></div><div><a href="/general/find.html">Find&#32;Device</a></div><div><a href="/general/contact.html">Contact&#32;&amp;&#32;Location</a></div><div><a href="/general/sleep.html">Sleep&#32;Time</a></div><div><a href="/general/powerdown.html">Auto&#32;Power&#32;Off</a></div><div><a href="/general/language.html">Language</a></div><div><a href="/general/panel.html">Panel</a></div></div><div id="rightFrameContainer"><div id="rightFrame"><div id="mainContent"><div id="pageTitle"><h2>Maintenance&#32;Information</h2></div><div id="pageContents"><form method="post" action="/etc/mnt_info.csv"><div><input type="hidden" id="pageid" name="pageid" value="3" /></div><div class="contentsGroup"><h3>Node&#32;Information</h3><dl class="items"><dt>Model&#32;Name</dt><dd>Brother HL-3142CW series</dd><dt>Serial&#32;no.</dt><dd>E74549M5J224718</dd><dt>Main&#32;Firmware&#32;Version</dt><dd>1.06</dd><dt>Sub1&#32;Firmware&#32;Version</dt><dd>1.02</dd><dt>Memory&#32;Size</dt><dd>64<span class="unit">MB</span></dd></dl></div><div class="contentsGroup"><h3>Device&#32;Status</h3><dl class="items"><dt>Page&#32;Counter</dt><dd>5496</dd><dt class="subhead"><span>Color</span></dt><dd>5144</dd><dt class="subhead"><span>B&amp;W</span></dt><dd>352</dd><dt>Image&#32;Count&nbsp;Total</dt><dd>16424</dd><dt class="subhead"><span>Cyan</span></dt><dd>3332</dd><dt class="subhead"><span>Magenta</span></dt><dd>3392</dd><dt class="subhead"><span>Yellow</span></dt><dd>4322</dd><dt class="subhead"><span>Black</span></dt><dd>5378</dd><dt>Drum&#32;Count</dt><dd></dd><dt class="subhead"><span>Cyan</span></dt><dd>5496</dd><dt class="subhead"><span>Magenta</span></dt><dd>5496</dd><dt class="subhead"><span>Yellow</span></dt><dd>5496</dd><dt class="subhead"><span>Black</span></dt><dd>5496</dd></dl></div><div class="contentsGroup"><h3>Remaining&#32;Life</h3><dl class="items"><dt>Drum&#32;Unit&#32;Cyan&#32;(C)*</dt><dd>9504<span class="unit">pages</span></dd><dt>(%&#32;of&#32;Life&#32;Remaining)</dt><dd>(64.00%)</dd><dt>Drum&#32;Unit&#32;Magenta&#32;(M)*</dt><dd>9504<span class="unit">pages</span></dd><dt>(%&#32;of&#32;Life&#32;Remaining)</dt><dd>(64.00%)</dd><dt>Drum&#32;Unit&#32;Yellow&#32;(Y)*</dt><dd>9504<span class="unit">pages</span></dd><dt>(%&#32;of&#32;Life&#32;Remaining)</dt><dd>(64.00%)</dd><dt>Drum&#32;Unit&#32;Black&#32;(BK)*</dt><dd>9504<span class="unit">pages</span></dd><dt>(%&#32;of&#32;Life&#32;Remaining)</dt><dd>(64.00%)</dd><dt>Belt&#32;Unit</dt><dd>40189<span class="unit">pages</span></dd><dt>(%&#32;of&#32;Life&#32;Remaining)</dt><dd>(81.00%)</dd><dt>Fuser&#32;Unit</dt><dd>44504<span class="unit">pages</span></dd><dt>(%&#32;of&#32;Life&#32;Remaining)</dt><dd>(90.00%)</dd><dt>Paper&#32;Feeding&#32;Kit&#32;1</dt><dd>44506<span class="unit">pages</span></dd><dt>(%&#32;of&#32;Life&#32;Remaining)</dt><dd>(90.00%)</dd><dt>Toner&nbsp;Cyan&#32;(C)**</dt><dd>(70.00%)</dd><dt>Toner&nbsp;Magenta&#32;(M)**</dt><dd>(70.00%)</dd><dt>Toner&nbsp;Yellow&#32;(Y)**</dt><dd>(70.00%)</dd><dt>Toner&nbsp;Black&#32;(BK)**</dt><dd>(10.00%)</dd></dl></div><div class="contentsGroup"><h3>Total&#32;Pages&#32;Printed</h3><dl class="items"><dt>A4/Letter</dt><dd>5464<span class="unit">pages</span></dd><dt>Legal/Folio</dt><dd>0<span class="unit">pages</span></dd><dt>B5/Executive</dt><dd>0<span class="unit">pages</span></dd><dt>Envelopes</dt><dd>0<span class="unit">pages</span></dd><dt>A5</dt><dd>1<span class="unit">pages</span></dd><dt>Others</dt><dd>31<span class="unit">pages</span></dd></dl></div><div class="contentsGroup"><h3>Total&#32;Pages&#32;Printed</h3><dl class="items"><dt>Plain/Thin/Recycled</dt><dd>5469<span class="unit">pages</span></dd><dt>Thick/Thicker/Bond</dt><dd>0<span class="unit">pages</span></dd><dt>Envelopes/Env.&#32;Thick/Env.&#32;Thin</dt><dd>0<span class="unit">pages</span></dd><dt>Label</dt><dd>0<span class="unit">pages</span></dd><dt>Hagaki</dt><dd>0<span class="unit">pages</span></dd><dt>Glossy</dt><dd>27<span class="unit">pages</span></dd></dl></div><div class="contentsGroup"><h3>Replace&#32;Count</h3><dl class="items"><dt>Toner&nbsp;Cyan&#32;(C)</dt><dd>4</dd><dt>Toner&nbsp;Magenta&#32;(M)</dt><dd>4</dd><dt>Toner&nbsp;Yellow&#32;(Y)</dt><dd>4</dd><dt>Toner&nbsp;Black&#32;(BK)</dt><dd>5</dd><dt>Drum&#32;Unit&#32;Cyan&#32;(C)</dt><dd>0</dd><dt>Drum&#32;Unit&#32;Magenta&#32;(M)</dt><dd>0</dd><dt>Drum&#32;Unit&#32;Yellow&#32;(Y)</dt><dd>0</dd><dt>Drum&#32;Unit&#32;Black&#32;(BK)</dt><dd>0</dd><dt>Belt&#32;Unit</dt><dd>0</dd><dt>Fuser&#32;Unit</dt><dd>0</dd><dt>Paper&#32;Feeding&#32;Kit&#32;1</dt><dd>0</dd><dt>Waste&#32;Toner&#32;Box</dt><dd>0</dd></dl></div><div class="contentsGroup"><dl class="items"><dt>Total&#32;Paper&#32;Jams</dt><dd>18</dd></dl><dl class="items"><dt>Jam&#32;Manual&#32;Feed</dt><dd>0</dd><dt>Jam&#32;Tray&#32;1</dt><dd>9</dd><dt>Jam&#32;Inside</dt><dd>4</dd><dt>Jam&#32;Rear</dt><dd>5</dd></dl></div><div class="contentsGroup"><h3>Error&#32;History(last&#32;10&#32;errors)</h3><table class="list errorHistory" summary="Error History"><tbody><tr><th>1</th><td>Trommel !</td><td>Page&nbsp;:&nbsp;5472</td></tr><tr><th>2</th><td>Trommel !</td><td>Page&nbsp;:&nbsp;5472</td></tr><tr><th>3</th><td>Farbeinstell.</td><td>Page&nbsp;:&nbsp;5448</td></tr><tr><th>4</th><td>Stau Zufuhr 1</td><td>Page&nbsp;:&nbsp;5389</td></tr><tr><th>5</th><td>Farbeinstell.</td><td>Page&nbsp;:&nbsp;5280</td></tr><tr><th>6</th><td>Stau Zufuhr 1</td><td>Page&nbsp;:&nbsp;5224</td></tr><tr><th>7</th><td>Stau hinten</td><td>Page&nbsp;:&nbsp;5213</td></tr><tr><th>8</th><td>Toner ersetzen (Y)</td><td>Page&nbsp;:&nbsp;4956</td></tr><tr><th>9</th><td>Wenig Toner :M</td><td>Page&nbsp;:&nbsp;4817</td></tr><tr><th>10</th><td>Fehler:Druck E1</td><td>Page&nbsp;:&nbsp;4716</td></tr></tbody></table></div><div class="contentsGroup"><p class="noteMessage">*Based&#32;on&#32;A4/Letter&#32;printing<br />**Remaining&#32;life&#32;will&#32;vary&#32;depending&#32;on&#32;the&#32;types&#32;of&#32;documents&#32;printed,&#32;their&#32;coverage&#32;and&#32;device&#32;usage.<br /></p></div><div class="contentsGroup"><p class="noteMessage">You&#32;can&#32;convert&#32;this&#32;Maintenance&#32;Information&#32;page&#32;to&#32;a&#32;CSV&#32;file&#32;format.<br />Click&#32;Submit&#32;to&#32;create&#32;the&#32;CSV&#32;file</p></div><div class="contentsButtons"><input type="submit"  value="Submit" /></div></form></div></div></div></div></div><div id="mainFrameBottomLeft"><div id="mainFrameBottomRight"><div id="mainFrameBottomInner"></div></div></div></div><div id="footerFrameContainer"><div id="copyright">Copyright(C) 2000-2013 Brother Industries, Ltd. All Rights Reserved.</div><div id="topBack"><a href="#">Top<img src="/common/images/ic_pt.gif" alt="Top" /></a></div></div></div></div></body></html>
            
            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Homoran last edited by Homoran

              @homoran sagte in [gelöst] Probleme bei Brother DCP mit Parser auslesen:

              sowie einen Screenshot was da als "Lösung" gefunden wird

              bitte nachreichen

              ääähm...
              welche regexes nutzt du denn?

              habe gerade getestet, da müsste eines der drei Werte bei rauskommen
              Screenshot_20220104-211110_Firefox.jpg

              was kommt bei dir bei cyan?

              1 Reply Last reply Reply Quote 0
              • H
                holst4you last edited by

                screen.jpg screen1.jpg screen_iobroker.jpg

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

                  @holst4you danke.
                  ja die 4 ist ok.

                  hast du mal eben den Wert der rauskommen sollte?

                  1 Reply Last reply Reply Quote 0
                  • H
                    holst4you last edited by

                    screen3.jpg

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

                      @holst4you sagte in [gelöst] Probleme bei Brother DCP mit Parser auslesen:

                      screen3.jpg

                      ok, dann suche ich mal danach.
                      bin aber schon im Bett und nur am Tablet.

                      1 Reply Last reply Reply Quote 0
                      • H
                        holst4you last edited by

                        Vielen Lieben Dank

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

                          @holst4you

                          ok, du hast andere Angaben
                          Cyan[^>]+><dd>\(([\d\.]+)

                          NUM=0

                          und entsprechend für die anderen Farben

                          1 Reply Last reply Reply Quote 0
                          • H
                            holst4you last edited by

                            Vielen Dank es funktioniert!
                            👍

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

                              @holst4you sagte in [gelöst] Probleme bei Brother DCP mit Parser auslesen:

                              Vielen Dank es funktioniert!
                              👍

                              Klar doch 😂

                              Viel Spaß

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

                              Support us

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

                              403
                              Online

                              31.7k
                              Users

                              79.8k
                              Topics

                              1.3m
                              Posts

                              4
                              54
                              2726
                              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