Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Einbindung von Geräten
    5. Brother Drucker

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Brother Drucker

    This topic has been deleted. Only users with topic management privileges can see it.
    • Axel Koeneke
      Axel Koeneke @sigi234 last edited by

      @sigi234 sagte in Brother Drucker:

      @homoran sagte in Brother Drucker:

      @codierknecht sagte in Brother Drucker:

      Interessanter wäre der Tonerstand (in %).

      ach was!

      @sigi234 sagte in Brother Drucker:

      Wie bekomme ich da die Werte von den Toner raus?

      Mit dem Parser Adapter bekomme ich sie ja, sollte aber ja mit dem SNMP Adapter auch gehen?

      Screenshot (5464).png Screenshot (5465).png

      Hallo @sigi234 ,
      leider hat mein MFC eine andere Adresse für den Status:
      311357ba-a3fb-4e88-b276-04fd605a6b7a-image.png
      Ich habe versucht das mittels Parser zu nutzen, aber da kommt leider nichts.
      Hast du eine Idee?
      VG
      Axel

      MartinP sigi234 Homoran 3 Replies Last reply Reply Quote 0
      • MartinP
        MartinP @Axel Koeneke last edited by

        Hier einige MIBs meines Canon MB5455 Tintenstrahl MUFU

          echo schreibe Infos in Datei
          date +'%d-%m-%Y %H:%M:%S GedruckteSeiten/Black/Cyan/Magenta/Yellow' >>/mnt/data/Martin/Logs/CanonLog.log
          snmpwalk -v1 -c public 192.168.2.124 1.3.6.1.2.1.43.10.2.1.4.1.1 >>/mnt/data/Martin/Logs/CanonLog.log
          snmpwalk -v1 -c public 192.168.2.124 1.3.6.1.2.1.43.11.1.1.9   >>/mnt/data/Martin/Logs/CanonLog.log
        

        Integriert ist der Drucker in Iobroker noch nicht ... Löse das Skript gelegentlich manuell auf meinem Linux-PC aus, um etwas die Übersicht zu halten. Trage da manuell auch noch weitere Ereignisse in die Protokolldatei ein, z. B. Kartuschenwechsel und Gewicht der Kartusche beim Einsetzen und beim Herausnehmen ...

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

          @axel-koeneke
          Welche URL hast du eingetragen?

          Axel Koeneke 1 Reply Last reply Reply Quote 0
          • Axel Koeneke
            Axel Koeneke @sigi234 last edited by

            @sigi234 https://192.168.178.77/home/status.html

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

              @axel-koeneke sagte in Brother Drucker:

              @sigi234 https://192.168.178.77/home/status.html

              Lass mal das s weg. http

              1 Reply Last reply Reply Quote 0
              • Axel Koeneke
                Axel Koeneke last edited by

                @sigi234 Funzt leider nicht. Dann muss ich mich mit den -3 beim SNMP Adapter zufrieden geben...
                VG
                Axel

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

                  @axel-koeneke sagte in Brother Drucker:

                  Ich habe versucht das mittels Parser zu nutzen, aber da kommt leider nichts.

                  gar nichts?
                  keinerlei Text im Editorfeld?

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

                    @homoran Nö,
                    b7c20f96-2b8f-49a9-bf8e-df2082b1cba4-image.png

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

                      @axel-koeneke nein! nicht das.

                      Parser Adapter - Konfiguration - Editor

                      Dass kein brauchbares Ergebnis kommt ist eine Sache.
                      Das wird aber an den Einstellungen liegen

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

                        @axel-koeneke Bitte zeige was du hier

                        Screenshot_20230703-173330_Firefox.jpg

                        eingegeben hast, und was im Editor (Bleistift)
                        Screenshot_20230703-173407_Firefox.jpg
                        zu sehen ist

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

                          @axel-koeneke sagte in Brother Drucker:

                          @sigi234 Funzt leider nicht. Dann muss ich mich mit den -3 beim SNMP Adapter zufrieden geben...
                          VG
                          Axel

                          Denke die URL ist falsch.

                          Teste die mal im Browser:

                          http://192.168.178.77/general/information.html?kind=item

                          Axel Koeneke 1 Reply Last reply Reply Quote 0
                          • Axel Koeneke
                            Axel Koeneke @sigi234 last edited by

                            @sigi234 sagte in Brother Drucker:

                            @axel-koeneke sagte in Brother Drucker:

                            @sigi234 Funzt leider nicht. Dann muss ich mich mit den -3 beim SNMP Adapter zufrieden geben...
                            VG
                            Axel

                            Denke die URL ist falsch.

                            Teste die mal im Browser:

                            http://192.168.178.77/general/information.html?kind=item

                            Hallo Sigi, der URL funktioniert leider nicht
                            Dann kommt folgendes: "Bitte anmelden
                            Um auf diese Seite zuzugreifen, ist eine Anmeldung erforderlich. Melden Sie sich an."

                            Wenn ich mit http://192.168.178.77/home/status.html aufrufe, bekomme ich Werte, nur mit dem Parser komme ich nicht weiter.

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

                              @homoran sagte in Brother Drucker:

                              @axel-koeneke Bitte zeige was du hier

                              Screenshot_20230703-173330_Firefox.jpg

                              eingegeben hast, und was im Editor (Bleistift)
                              Screenshot_20230703-173407_Firefox.jpg
                              zu sehen ist

                              Wie Sigi es gemacht hat:
                              (M)**</dt><dd>(([0-9.]*)%)
                              Ergebnis:

                              <link rel="stylesheet" type="text/css" href="../common/css/mobile_ews.css" />
                              <script type="text/javascript" src="../common/js/cookie.js"></script>
                              <script type="text/javascript" src="../common/js/language.js"></script>
                              <script type="text/javascript" src="../common/js/lcddisplay.js"></script>
                              <title>Brother MFC-J6940DW</title><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" /></head><body><div id="headerFrame"><div id="menuButton" layout="pc" onclick="toggleMenu();"><img src="/common/images/menu_icon.gif" alt="Menu"></div><div id="modelName" layout="pc">MFC-J6940DW</div><div id="corporateLogo" layout="pc"><img src="/common/images/logo.gif" alt="Brother" /></div></div></div><div id="Menu" layout="pc"><div id="navigationContainer"><div id="navMenu"><div id="LayoutButton"><img id="PCButton" layout="pc" src="/common/images/chevron_left.gif" onclick="changeLayout('user_layout','mobile');"></img><img id="MobileButton" layout="pc" src="/common/images/pin.gif" onclick="changeLayout('user_layout','pc');"></img></div><hr><div id="httpmessage">You must redirect to a secure HTTPS page in order to log in.<br /><br />If a security certification warning appears, follow the connection instructions to accept the certificate.</div><div class="links"><a href="https://update.brother.co.jp/device/redirect.aspx?redirecttype=6&country=w&lang=en&device=MFC-J6940DW&alias=aqfr" target="_blank">More Information</a></div><div id="ChangeToHTTPSButton"><input type="button" onclick="redirech_to_https()" value="Open Secure Login" /></div><hr><div id="menu_tree_root"><div class="menuLv1"><a href="#" onclick="expandMenu('home_sub');">Home</a><div id="home_sub" class="open"><div class="menuLv2 selected"><a href="../home/status.html">Status</a></div><div class="menuLv2"><a href="/home/reflesh.html" class="subMenu">Auto&#32;Refresh&#32;Interval</a></div></div></div><hr></div></div></div></div><div id="Page" layout="pc"><div id="rightFrameContainer"><div id="rightFrame"><div id="mainContent"><div id="pageTitle"><h2>Status</h2></div><div id="pageContents"><form method="post" action="/home/status.html"><div><input type="hidden" id="pageid" name="pageid" value="1" /></div><div class="contentsGroup"><dl class="items"><dt>Device&#32;Status</dt><dd><div id="moni_data"><span class="moni moniOk">Energiesparen</span></div></dd><dt class="subhead"><span>Automatic&#32;Refresh</span></dt><dd><div><label class="radioSimple"><input type="radio" name="Refresh" value="0" onclick="refreshLCD(0);" checked="checked" />
                              Off</label><label class="radioSimple"><input type="radio" name="Refresh" value="1" onclick="refreshLCD(60000);" />
                              On</label></div></dd><dt>Estimated Ink Level</dt><dd><div id="ink_level"><table id="inkLevel" summary="ink level"><tr><th></th><th></th><th></th><th></th></tr><tr><td><img src="../common/images/magenta.gif" alt="Magenta" class="tonerremain" height="45" /></td><td><img src="../common/images/cyan.gif" alt="Cyan" class="tonerremain" height="45" /></td><td><img src="../common/images/yellow.gif" alt="Yellow" class="tonerremain" height="41" /></td><td><img src="../common/images/black.gif" alt="Black" class="tonerremain" height="53" /></td></tr><tr><th>M</th><th>C</th><th>Y</th><th>BK</th></tr></table></div></dd><dt>Remaining&#32;Page&#32;Yield&#32;</dt><dd></dd><dt class="subhead"><span>Approximate&#32;Page&#32;Yield&#32;(ISO-based)</span></dt><dd><div id="possible_print_num"><table id="possiblePrintNum" summary="possible print number"><tr id="format_iso" style="display:;"><th><span>300</span></th><th><span>300</span></th><th><span>300</span></th><th><span>350</span></th></tr><tr><th>M</th><th>C</th><th>Y</th><th>BK</th></tr></table><p class="noteMessage">*The&#32;remaining&#32;page&#32;yields&#32;are&#32;approximated&#32;and&#32;may&#32;vary&#32;depending&#32;on&#32;the&#32;type&#32;of&#32;pages&#32;printed.</p></div></dd></dl></div><div class="contentsGroup"><dl class="items"><dt>Web&#32;Language</dt><dd><select id="Language" name="Language" onchange="changeLanguage('Language', 'WebLang');"><option value="0" selected="selected">Auto</option><option value="2">English</option><option value="3">French</option><option value="4">German</option><option value="5">Dutch</option><option value="6">Spanish</option><option value="7">Italian</option><option value="10">Russian</option><option value="9">Chinese</option><option value="11">Portuguese</option><option value="18">Norwegian</option></select></dd></dl></div><div class="contentsGroup"><dl class="items"><dt>Device&#32;Location</dt><dd><ul class="itemList"><li class="contact">Contact<span class="spacer">:</span></li><li class="location">Location<span class="spacer">:</span></li></ul></dd></dl></div></form></div></div></div></div><script type="text/javascript">
                              <!--
                              judge_refresh(60000);
                              //-->
                              </script>
                              </div></div><div id="footerFrame">Copyright(C) 2000-2021 Brother Industries, Ltd. All Rights Reserved.</div><script type="text/javascript" src="/common/js/mobilemenucontrl.js"></script><script>window.onpageshow = function(event) {if (event.persisted) { window.location.reload(); }};</script></body></html>
                              

                              Danke für die Hilfe

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

                                @axel-koeneke
                                Magenta[^g]+ght="(\d+)
                                Cyan[^g]+ght="(\d+)
                                Yellow[^g]+ght="(\d+)
                                Black[^g]+ght="(\d+)

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

                                  @homoran sagte in Brother Drucker:

                                  @axel-koeneke

                                  Es wird wärmer:
                                  c8785f89-40c0-4065-bcf7-2893231fbfc4-image.png
                                  381e48a3-7d65-4d3a-8182-e2f719a74d63-image.png
                                  Hier nochmal für BLACK:

                                  <?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-gb" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb"><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" /><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript" src="/common/js/ews.js"></script><link rel="stylesheet" type="text/css" href="../common/css/mobile_common.css" />
                                  <link rel="stylesheet" type="text/css" href="../common/css/mobile_ews.css" />
                                  <script type="text/javascript" src="../common/js/cookie.js"></script>
                                  <script type="text/javascript" src="../common/js/language.js"></script>
                                  <script type="text/javascript" src="../common/js/lcddisplay.js"></script>
                                  <title>Brother MFC-J6940DW</title><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" /></head><body><div id="headerFrame"><div id="menuButton" layout="pc" onclick="toggleMenu();"><img src="/common/images/menu_icon.gif" alt="Menu"></div><div id="modelName" layout="pc">MFC-J6940DW</div><div id="corporateLogo" layout="pc"><img src="/common/images/logo.gif" alt="Brother" /></div></div></div><div id="Menu" layout="pc"><div id="navigationContainer"><div id="navMenu"><div id="LayoutButton"><img id="PCButton" layout="pc" src="/common/images/chevron_left.gif" onclick="changeLayout('user_layout','mobile');"></img><img id="MobileButton" layout="pc" src="/common/images/pin.gif" onclick="changeLayout('user_layout','pc');"></img></div><hr><div id="httpmessage">You must redirect to a secure HTTPS page in order to log in.<br /><br />If a security certification warning appears, follow the connection instructions to accept the certificate.</div><div class="links"><a href="https://update.brother.co.jp/device/redirect.aspx?redirecttype=6&country=w&lang=en&device=MFC-J6940DW&alias=aqfr" target="_blank">More Information</a></div><div id="ChangeToHTTPSButton"><input type="button" onclick="redirech_to_https()" value="Open Secure Login" /></div><hr><div id="menu_tree_root"><div class="menuLv1"><a href="#" onclick="expandMenu('home_sub');">Home</a><div id="home_sub" class="open"><div class="menuLv2 selected"><a href="../home/status.html">Status</a></div><div class="menuLv2"><a href="/home/reflesh.html" class="subMenu">Auto&#32;Refresh&#32;Interval</a></div></div></div><hr></div></div></div></div><div id="Page" layout="pc"><div id="rightFrameContainer"><div id="rightFrame"><div id="mainContent"><div id="pageTitle"><h2>Status</h2></div><div id="pageContents"><form method="post" action="/home/status.html"><div><input type="hidden" id="pageid" name="pageid" value="1" /></div><div class="contentsGroup"><dl class="items"><dt>Device&#32;Status</dt><dd><div id="moni_data"><span class="moni moniOk">Energiesparen</span></div></dd><dt class="subhead"><span>Automatic&#32;Refresh</span></dt><dd><div><label class="radioSimple"><input type="radio" name="Refresh" value="0" onclick="refreshLCD(0);" checked="checked" />
                                  Off</label><label class="radioSimple"><input type="radio" name="Refresh" value="1" onclick="refreshLCD(60000);" />
                                  On</label></div></dd><dt>Estimated Ink Level</dt><dd><div id="ink_level"><table id="inkLevel" summary="ink level"><tr><th></th><th></th><th></th><th></th></tr><tr><td><img src="../common/images/magenta.gif" alt="Magenta" class="tonerremain" height="45" /></td><td><img src="../common/images/cyan.gif" alt="Cyan" class="tonerremain" height="45" /></td><td><img src="../common/images/yellow.gif" alt="Yellow" class="tonerremain" height="41" /></td><td><img src="../common/images/black.gif" alt="Black" class="tonerremain" height="53" /></td></tr><tr><th>M</th><th>C</th><th>Y</th><th>BK</th></tr></table></div></dd><dt>Remaining&#32;Page&#32;Yield&#32;</dt><dd></dd><dt class="subhead"><span>Approximate&#32;Page&#32;Yield&#32;(ISO-based)</span></dt><dd><div id="possible_print_num"><table id="possiblePrintNum" summary="possible print number"><tr id="format_iso" style="display:;"><th><span>300</span></th><th><span>300</span></th><th><span>300</span></th><th><span>350</span></th></tr><tr><th>M</th><th>C</th><th>Y</th><th>BK</th></tr></table><p class="noteMessage">*The&#32;remaining&#32;page&#32;yields&#32;are&#32;approximated&#32;and&#32;may&#32;vary&#32;depending&#32;on&#32;the&#32;type&#32;of&#32;pages&#32;printed.</p></div></dd></dl></div><div class="contentsGroup"><dl class="items"><dt>Web&#32;Language</dt><dd><select id="Language" name="Language" onchange="changeLanguage('Language', 'WebLang');"><option value="0" selected="selected">Auto</option><option value="2">English</option><option value="3">French</option><option value="4">German</option><option value="5">Dutch</option><option value="6">Spanish</option><option value="7">Italian</option><option value="10">Russian</option><option value="9">Chinese</option><option value="11">Portuguese</option><option value="18">Norwegian</option></select></dd></dl></div><div class="contentsGroup"><dl class="items"><dt>Device&#32;Location</dt><dd><ul class="itemList"><li class="contact">Contact<span class="spacer">:</span></li><li class="location">Location<span class="spacer">:</span></li></ul></dd></dl></div></form></div></div></div></div><script type="text/javascript">
                                  <!--
                                  judge_refresh(60000);
                                  //-->
                                  </script>
                                  </div></div><div id="footerFrame">Copyright(C) 2000-2021 Brother Industries, Ltd. All Rights Reserved.</div><script type="text/javascript" src="/common/js/mobilemenucontrl.js"></script><script>window.onpageshow = function(event) {if (event.persisted) { window.location.reload(); }};</script></body></html>
                                  
                                  Homoran R 2 Replies Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Axel Koeneke last edited by

                                    @axel-koeneke sagte in Brother Drucker:

                                    Es wird wärmer:

                                    und was willst du damit es heiss wird?

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

                                      @homoran sagte in Brother Drucker:

                                      @axel-koeneke sagte in Brother Drucker:

                                      Es wird wärmer:

                                      und was willst du damit es heiss wird?

                                      🙂
                                      Evtl kennst du die benötigten Parameter für den Parser.
                                      Mit deinen Angaben kommt jetzt ja schon mal etwas. Leider noch nicht die richtigen Zahlen.

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

                                        @axel-koeneke sagte in Brother Drucker:

                                        Leider noch nicht die richtigen Zahlen.

                                        doch!
                                        zumindest das, was nach deinem Seiteninhalt als Füllstand ausgegeben wird.

                                        Warum Schwarz bei dir mit 100% angezeigt wird ist mir ein Rätsel.

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

                                          @homoran sagte in Brother Drucker:

                                          @axel-koeneke sagte in Brother Drucker:

                                          Leider noch nicht die richtigen Zahlen.

                                          doch!

                                          Könntest du das begründen?
                                          Sind die Werte %-Angaben für Füllstand?
                                          Ich dachte man bekommt damit die Anzahl der zu bedruckenden Seiten, wie im Screenshot oben...

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

                                            @axel-koeneke sagte in Brother Drucker:

                                            die Anzahl der zu bedruckenden Seiten, wie im Screenshot oben...

                                            das ist eine grobe Schätzung bei Verbrauch nach ISO.
                                            Steht auch so da.

                                            EDIT:

                                            Reihenfolge musst du selber rausfinden, wahrscheinlich wie oben
                                            ay:[^\d]+(\d+)
                                            ay:[^\d]+\d+[^\d]+(\d+)
                                            ay:[^\d]+\d+[^\d]+\d+[^\d]+(\d+)
                                            ay:[^\d]+\d+[^\d]+\d+[^\d]+\d+[^\d]+(\d+)

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            459
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            56
                                            3879
                                            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