Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [Vorlage] Script und VIS: Druckerpatronen Zustand

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Vorlage] Script und VIS: Druckerpatronen Zustand

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Heinzelmaennchen last edited by

      Hm,

      Jetzt muss ich mal raten. Bei meinem Dell Drucker ist der Link zum Frame der statusseite http://<ip>/status/status.htm

      Aber die Meldung mit dem Zertifikat ist auch merkwürdig.

      Hast du eines in den Webserver des Druckers eingespielt?

      Von wo aus rufst du die Seite auf? Aus deinem lokalen Netz, oder über irgendeine dyndns Verbindung?</ip>

      1 Reply Last reply Reply Quote 0
      • K
        Kueppert last edited by

        YEEEEAAAHHH,

        danke für den Tip. Habe mal im Druckerserver nachgeschaut und wohl bei der Anschaffung mal SSL eingeschaltet. Hab das jetzt abgeschaltet und mit dem Linkhttp://IP vom Drucker/status.asp?Lang=deund dem code````
        Cyan-Toner ~ (\d{1,2})

        
        Danke und viele Grüße, kueppert
        [2700_2017-06-19_19_31_47-vis.png](/assets/uploads/files/2700_2017-06-19_19_31_47-vis.png)
        1 Reply Last reply Reply Quote 0
        • N
          nobse last edited by

          Hallo

          kann mir jemnd sagen wie ich nach

          Toner Cyan (C)**

          suchen lassen kann. Es werden immer die deiden ** bemeckert.

          Vielen Dank

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

            Hallo pix,

            ich wusste nicht wohin ich das schreiben soll, es geht um deinen Epson Adapter.

            Ich wollte mal testen ob der auch mit dem Epson WF-2630 funktioniert.

            Irgendwas tut er, aber er macht auch meinen admin unbedienbar.

            Nach eingeben der Werte und in dem Moment wo die Ampel grün wird, wird die ganze Website weiß.

            Das gleiche, als ich mir die angelegten Objekte ansehen wollte. Gefiltert nach "Epson". Sobald ich die Ordner aufklappen will ist alles weg.

            bei Zuständen noch schlimmer.

            Habe dann nach ein paar Neuinstallationen die Instanz auf debug gestellt und dann wenigstens ein log erhalten:

            ! ````
            Drücke Strg+A und danach Strg+C, um den Inhalt in die Zwischenablage zu kopieren. Klicke irgendwo, um das Fenster zu schliessen.
            epson_stylus_px830.0 2017-08-31 19:44:15.983 debug redis publish io.system.adapter.epson_stylus_px830.0.outputCount {'val':8,'ack':true,'ts':1504201455982,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365919}
            epson_stylus_px830.0 2017-08-31 19:44:15.979 debug redis publish io.system.adapter.epson_stylus_px830.0.inputCount {'val':0,'ack':true,'ts':1504201455979,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201179782}
            epson_stylus_px830.0 2017-08-31 19:44:15.976 debug redis publish io.system.adapter.epson_stylus_px830.0.uptime {'val':123,'ack':true,'ts':1504201455975,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201455975}
            epson_stylus_px830.0 2017-08-31 19:44:15.972 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapUsed {'val':15.89,'ack':true,'ts':1504201455971,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201455971}
            epson_stylus_px830.0 2017-08-31 19:44:15.966 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapTotal {'val':21,'ack':true,'ts':1504201455965,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201410914}
            epson_stylus_px830.0 2017-08-31 19:44:15.963 debug redis publish io.system.adapter.epson_stylus_px830.0.memRss {'val':39.88,'ack':true,'ts':1504201455962,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201440936}
            epson_stylus_px830.0 2017-08-31 19:44:15.960 debug redis publish io.system.adapter.epson_stylus_px830.0.connected {'val':true,'ack':true,'ts':1504201455959,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335903}
            epson_stylus_px830.0 2017-08-31 19:44:15.956 debug redis publish io.system.adapter.epson_stylus_px830.0.alive {'val':true,'ack':true,'ts':1504201455956,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335900}
            epson_stylus_px830.0 2017-08-31 19:44:00.950 debug redis publish io.system.adapter.epson_stylus_px830.0.outputCount {'val':8,'ack':true,'ts':1504201440949,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365919}
            epson_stylus_px830.0 2017-08-31 19:44:00.947 debug redis publish io.system.adapter.epson_stylus_px830.0.inputCount {'val':0,'ack':true,'ts':1504201440946,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201179782}
            epson_stylus_px830.0 2017-08-31 19:44:00.945 debug redis publish io.system.adapter.epson_stylus_px830.0.uptime {'val':108,'ack':true,'ts':1504201440944,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201440944}
            epson_stylus_px830.0 2017-08-31 19:44:00.941 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapUsed {'val':15.71,'ack':true,'ts':1504201440940,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201440940}
            epson_stylus_px830.0 2017-08-31 19:44:00.939 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapTotal {'val':21,'ack':true,'ts':1504201440938,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201410914}
            epson_stylus_px830.0 2017-08-31 19:44:00.936 debug redis publish io.system.adapter.epson_stylus_px830.0.memRss {'val':39.88,'ack':true,'ts':1504201440936,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201440936}
            epson_stylus_px830.0 2017-08-31 19:44:00.934 debug redis publish io.system.adapter.epson_stylus_px830.0.connected {'val':true,'ack':true,'ts':1504201440934,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335903}
            epson_stylus_px830.0 2017-08-31 19:44:00.932 debug redis publish io.system.adapter.epson_stylus_px830.0.alive {'val':true,'ack':true,'ts':1504201440932,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335900}
            epson_stylus_px830.0 2017-08-31 19:43:45.942 debug redis publish io.system.adapter.epson_stylus_px830.0.outputCount {'val':8,'ack':true,'ts':1504201425942,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365919}
            epson_stylus_px830.0 2017-08-31 19:43:45.940 debug redis publish io.system.adapter.epson_stylus_px830.0.inputCount {'val':0,'ack':true,'ts':1504201425940,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201179782}
            epson_stylus_px830.0 2017-08-31 19:43:45.938 debug redis publish io.system.adapter.epson_stylus_px830.0.uptime {'val':93,'ack':true,'ts':1504201425938,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201425938}
            epson_stylus_px830.0 2017-08-31 19:43:45.936 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapUsed {'val':15.45,'ack':true,'ts':1504201425936,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201425936}
            epson_stylus_px830.0 2017-08-31 19:43:45.934 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapTotal {'val':21,'ack':true,'ts':1504201425934,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201410914}
            epson_stylus_px830.0 2017-08-31 19:43:45.931 debug redis publish io.system.adapter.epson_stylus_px830.0.memRss {'val':39.38,'ack':true,'ts':1504201425931,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201410911}
            epson_stylus_px830.0 2017-08-31 19:43:45.929 debug redis publish io.system.adapter.epson_stylus_px830.0.connected {'val':true,'ack':true,'ts':1504201425927,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335903}
            epson_stylus_px830.0 2017-08-31 19:43:45.925 debug redis publish io.system.adapter.epson_stylus_px830.0.alive {'val':true,'ack':true,'ts':1504201425924,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335900}
            epson_stylus_px830.0 2017-08-31 19:43:30.949 debug redis publish io.system.adapter.epson_stylus_px830.0.outputCount {'val':8,'ack':true,'ts':1504201410948,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365919}
            epson_stylus_px830.0 2017-08-31 19:43:30.944 debug redis publish io.system.adapter.epson_stylus_px830.0.inputCount {'val':0,'ack':true,'ts':1504201410943,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201179782}
            epson_stylus_px830.0 2017-08-31 19:43:30.940 debug redis publish io.system.adapter.epson_stylus_px830.0.uptime {'val':78,'ack':true,'ts':1504201410940,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201410940}
            epson_stylus_px830.0 2017-08-31 19:43:30.922 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapUsed {'val':15.19,'ack':true,'ts':1504201410921,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201410921}
            epson_stylus_px830.0 2017-08-31 19:43:30.915 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapTotal {'val':21,'ack':true,'ts':1504201410914,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201410914}
            epson_stylus_px830.0 2017-08-31 19:43:30.912 debug redis publish io.system.adapter.epson_stylus_px830.0.memRss {'val':39.38,'ack':true,'ts':1504201410911,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201410911}
            epson_stylus_px830.0 2017-08-31 19:43:30.908 debug redis publish io.system.adapter.epson_stylus_px830.0.connected {'val':true,'ack':true,'ts':1504201410908,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335903}
            epson_stylus_px830.0 2017-08-31 19:43:30.903 debug redis publish io.system.adapter.epson_stylus_px830.0.alive {'val':true,'ack':true,'ts':1504201410903,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335900}
            epson_stylus_px830.0 2017-08-31 19:43:15.962 debug redis publish io.system.adapter.epson_stylus_px830.0.outputCount {'val':8,'ack':true,'ts':1504201395960,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365919}
            epson_stylus_px830.0 2017-08-31 19:43:15.958 debug redis publish io.system.adapter.epson_stylus_px830.0.inputCount {'val':0,'ack':true,'ts':1504201395957,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201179782}
            epson_stylus_px830.0 2017-08-31 19:43:15.955 debug redis publish io.system.adapter.epson_stylus_px830.0.uptime {'val':63,'ack':true,'ts':1504201395954,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201395954}
            epson_stylus_px830.0 2017-08-31 19:43:15.952 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapUsed {'val':15.41,'ack':true,'ts':1504201395952,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201395952}
            epson_stylus_px830.0 2017-08-31 19:43:15.950 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapTotal {'val':22,'ack':true,'ts':1504201395949,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365911}
            epson_stylus_px830.0 2017-08-31 19:43:15.946 debug redis publish io.system.adapter.epson_stylus_px830.0.memRss {'val':39.62,'ack':true,'ts':1504201395945,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201395945}
            epson_stylus_px830.0 2017-08-31 19:43:15.943 debug redis publish io.system.adapter.epson_stylus_px830.0.connected {'val':true,'ack':true,'ts':1504201395942,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335903}
            epson_stylus_px830.0 2017-08-31 19:43:15.939 debug redis publish io.system.adapter.epson_stylus_px830.0.alive {'val':true,'ack':true,'ts':1504201395938,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335900}
            epson_stylus_px830.0 2017-08-31 19:43:00.914 debug redis publish io.system.adapter.epson_stylus_px830.0.outputCount {'val':8,'ack':true,'ts':1504201380914,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365919}
            epson_stylus_px830.0 2017-08-31 19:43:00.912 debug redis publish io.system.adapter.epson_stylus_px830.0.inputCount {'val':0,'ack':true,'ts':1504201380912,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201179782}
            epson_stylus_px830.0 2017-08-31 19:43:00.910 debug redis publish io.system.adapter.epson_stylus_px830.0.uptime {'val':48,'ack':true,'ts':1504201380910,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201380910}
            epson_stylus_px830.0 2017-08-31 19:43:00.908 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapUsed {'val':16.99,'ack':true,'ts':1504201380908,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201380908}
            epson_stylus_px830.0 2017-08-31 19:43:00.905 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapTotal {'val':22,'ack':true,'ts':1504201380905,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365911}
            epson_stylus_px830.0 2017-08-31 19:43:00.904 debug redis publish io.system.adapter.epson_stylus_px830.0.memRss {'val':40.74,'ack':true,'ts':1504201380903,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365909}
            epson_stylus_px830.0 2017-08-31 19:43:00.901 debug redis publish io.system.adapter.epson_stylus_px830.0.connected {'val':true,'ack':true,'ts':1504201380900,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335903}
            epson_stylus_px830.0 2017-08-31 19:43:00.884 debug redis publish io.system.adapter.epson_stylus_px830.0.alive {'val':true,'ack':true,'ts':1504201380884,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335900}
            epson_stylus_px830.0 2017-08-31 19:42:45.919 debug redis publish io.system.adapter.epson_stylus_px830.0.outputCount {'val':8,'ack':true,'ts':1504201365919,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365919}
            epson_stylus_px830.0 2017-08-31 19:42:45.918 debug redis publish io.system.adapter.epson_stylus_px830.0.inputCount {'val':0,'ack':true,'ts':1504201365917,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201179782}
            epson_stylus_px830.0 2017-08-31 19:42:45.916 debug redis publish io.system.adapter.epson_stylus_px830.0.uptime {'val':33,'ack':true,'ts':1504201365915,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365915}
            epson_stylus_px830.0 2017-08-31 19:42:45.914 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapUsed {'val':16.82,'ack':true,'ts':1504201365913,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365913}
            epson_stylus_px830.0 2017-08-31 19:42:45.912 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapTotal {'val':22,'ack':true,'ts':1504201365911,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365911}
            epson_stylus_px830.0 2017-08-31 19:42:45.909 debug redis publish io.system.adapter.epson_stylus_px830.0.memRss {'val':40.74,'ack':true,'ts':1504201365909,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201365909}
            epson_stylus_px830.0 2017-08-31 19:42:45.907 debug redis publish io.system.adapter.epson_stylus_px830.0.connected {'val':true,'ack':true,'ts':1504201365907,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335903}
            epson_stylus_px830.0 2017-08-31 19:42:45.905 debug redis publish io.system.adapter.epson_stylus_px830.0.alive {'val':true,'ack':true,'ts':1504201365905,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335900}
            epson_stylus_px830.0 2017-08-31 19:42:30.908 debug redis publish io.system.adapter.epson_stylus_px830.0.outputCount {'val':27,'ack':true,'ts':1504201350908,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201350908}
            epson_stylus_px830.0 2017-08-31 19:42:30.906 debug redis publish io.system.adapter.epson_stylus_px830.0.inputCount {'val':0,'ack':true,'ts':1504201350906,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201179782}
            epson_stylus_px830.0 2017-08-31 19:42:30.904 debug redis publish io.system.adapter.epson_stylus_px830.0.uptime {'val':18,'ack':true,'ts':1504201350902,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201350902}
            epson_stylus_px830.0 2017-08-31 19:42:30.901 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapUsed {'val':18.83,'ack':true,'ts':1504201350901,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201350901}
            epson_stylus_px830.0 2017-08-31 19:42:30.899 debug redis publish io.system.adapter.epson_stylus_px830.0.memHeapTotal {'val':36,'ack':true,'ts':1504201350898,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201350898}
            epson_stylus_px830.0 2017-08-31 19:42:30.896 debug redis publish io.system.adapter.epson_stylus_px830.0.memRss {'val':50.77,'ack':true,'ts':1504201350896,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201350896}
            epson_stylus_px830.0 2017-08-31 19:42:30.893 debug redis publish io.system.adapter.epson_stylus_px830.0.connected {'val':true,'ack':true,'ts':1504201350875,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335903}
            epson_stylus_px830.0 2017-08-31 19:42:30.874 debug redis publish io.system.adapter.epson_stylus_px830.0.alive {'val':true,'ack':true,'ts':1504201350873,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201335900}
            epson_stylus_px830.0 2017-08-31 19:42:16.126 debug redis publish io.epson_stylus_px830.0.UNREACH {'val':false,'ack':true,'ts':1504201336125,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201180059}
            epson_stylus_px830.0 2017-08-31 19:42:16.124 debug redis publish io.epson_stylus_px830.0.inks.magentalight.cartridge {'val':'T0806','ack':true,'ts':1504201336123,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201180057}
            epson_stylus_px830.0 2017-08-31 19:42:16.122 debug redis publish io.epson_stylus_px830.0.inks.magentalight.level {'val':null,'ack':true,'ts':1504201336121,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201336121}
            epson_stylus_px830.0 2017-08-31 19:42:16.120 debug redis publish io.epson_stylus_px830.0.inks.magenta.cartridge {'val':'T0803','ack':true,'ts':1504201336119,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201180053}
            epson_stylus_px830.0 2017-08-31 19:42:16.117 debug redis publish io.epson_stylus_px830.0.inks.magenta.level {'val':null,'ack':true,'ts':1504201336117,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201336117}
            epson_stylus_px830.0 2017-08-31 19:42:16.115 debug redis publish io.epson_stylus_px830.0.inks.black.cartridge {'val':'T0801','ack':true,'ts':1504201336113,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201180044}
            epson_stylus_px830.0 2017-08-31 19:42:16.109 debug redis publish io.epson_stylus_px830.0.inks.black.level {'val':null,'ack':true,'ts':1504201336109,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201336109}
            epson_stylus_px830.0 2017-08-31 19:42:16.106 debug redis publish io.epson_stylus_px830.0.inks.yellow.cartridge {'val':'T0804','ack':true,'ts':1504201336106,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201180038}
            epson_stylus_px830.0 2017-08-31 19:42:16.103 debug redis publish io.epson_stylus_px830.0.inks.yellow.level {'val':null,'ack':true,'ts':1504201336102,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201336102}
            epson_stylus_px830.0 2017-08-31 19:42:16.101 debug redis publish io.epson_stylus_px830.0.inks.cyanlight.cartridge {'val':'T0805','ack':true,'ts':1504201336099,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201180025}
            epson_stylus_px830.0 2017-08-31 19:42:16.097 debug redis publish io.epson_stylus_px830.0.inks.cyanlight.level {'val':null,'ack':true,'ts':1504201336096,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201336096}
            epson_stylus_px830.0 2017-08-31 19:42:16.095 debug redis publish io.epson_stylus_px830.0.inks.cyan.cartridge {'val':'T0802','ack':true,'ts':1504201336094,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201180019}
            epson_stylus_px830.0 2017-08-31 19:42:16.093 debug redis publish io.epson_stylus_px830.0.inks.cyan.level {'val':null,'ack':true,'ts':1504201336092,'q':0,'from':'system.adapter.epson_stylus_px830.0','lc':1504201336092}
            epson_stylus_px830.0 2017-08-31 19:42:16.089 debug redis publish io.epson_stylus_px830.0.connect {'val':'//DTD HTML 4.01//EN '\r\n'http://www.w3.org/TR/html4/strict.dtd'>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
            \r\n
            \r\n
            \r\n'EPSON'\r\n''\r\n\r\nWF-2630 Series\r\n
            ! \r\n
            \r\n
            \r\n
            ''Druckerinformationen
            ! \r\n\r\n\r\n\r\n\r\n
            Drucker Netzwerk Wi-Fi Direct
            \r\n
            \r\n
            \r\n
            \r\n\r\n
            \r\n
            \r\n
            \r\n\r\n
            ''\r\nVerfügbar
            ! \r\n
            \r\n
            \r\n
            \r\n
            \r\n\r\n\r\n
            \r\n
            BK
            \r\n
            \r\n
            \r\n
            \r\n\r\n
            \r\n
            Y
            \r\n
            \r\n
            \r\n
            \r\n\r\n
            \r\n
            M
            \r\n
            \r\n
            \r\n
            \r\n\r\n
            \r\n
            C
            \r\n
            \r\n
            \r\n
            \r\n
            \r\n\r\n\r\n\r\n\r\n
            Druckername : EPSON58BAC2
            Verbindungsstatus : Wi-Fi-24Mbps
            Signalstärke : Gut
            epson_stylus_px830.0 2017-08-31 19:42:16.086 debug redis publish io.epson_stylus_px830.0.mac {"val":"
            epson_stylus_px830.0 2017-08-31 19:42:16.065 debug redis publish io.epson_stylus_px830.0.model {"val":"WF-2630 Series","ack":true,"ts":1504201336065,"q":0,"from":"system.adapter.epson_stylus_px830.0","lc":1504201179991}

            
            Das hilft mir nicht weiter, außer, dass der Adapter Verbindung aufbaut, den Drucker erkennt, und dann ????
            
            Ergibt es Sinn da weiter zu basteln? Immerhin habe ich u.a. folgende Website gefunden:
             ![144_epson_wf2630.jpg](/assets/uploads/files/144_epson_wf2630.jpg) 
            
            Gruß
            
            Rainer
            1 Reply Last reply Reply Quote 0
            • P
              pix last edited by

              Hallo Rainer,

              tut mir leid, dass die Antwort so lange auf sich warten lies.

              Bitte poste doch noch den Code der Webseite, von der du den Screenshot angehängt hast.

              Ich kann dann darin mal herumsuchen.

              Gruß,

              Pix

              1 Reply Last reply Reply Quote 0
              • L
                Lachi last edited by

                Moin,

                Ich besitze einen Epson Xp 305.

                Hab alles soweit hinbekommen aber:

                Bei mir zeigt der Status Cyan nicht den richtigen Wert an.

                Laut Quelltext ja aber mein Drucker sagt die Patrone ist fast leer.

                !
                ! BK
                !
                ! Y
                !
                ! M
                !
                ! C
                !
                ! <noscript><br/><br /><div class='msgicon_jswarn'><img src='../../IMAGE/Icn_low.PNG' height='22' width='22' alt='Hinweis'></div><br/><br /><div class='message_jswarn' id='message_jswarn' style='direction:ltr; unicode-bidi:bidi-override;'>Aktivieren Sie die JavaScript-Einstellung des Browsers.</div><br/><br /></noscript>
                !
                ! Verfügbar / Wenig Tinte.

                Kann es sein das es mit dem Info Symbol zu tun hat?

                ! 4609_drucker.jpg
                Bild in VIS

                ! 4609_drucker2.png
                Wie bekomme ich den richtigen Stand meiner Patrone hin?

                Vielen dank für die Hilfe.

                1 Reply Last reply Reply Quote 0
                • S
                  snuflex last edited by

                  Guten Abend,

                  Ich bin begeistert und werde das auch mal bei mir einbinden.

                  Leider bin ich totaler Neuling und hoffe auf eure Unterstützung.

                  Mein Drucker ist ein Brother MFC-J5320DW. Er kann Tintenstände aktiv anzeigen. Auch wenn er wenig Tinte hat meldet er das per Netzwerk an alle Computer.

                  Kann ich das Script einfach durch mein Druckernamen ersetzen ?

                  Danke für euere Hilfe

                  1 Reply Last reply Reply Quote 0
                  • G
                    Goldblaster last edited by

                    Hallo und einen schönen guten Abend,

                    ich habe mir das Skript von ykuendig welsches er am 06.03.2017 gepostet hat auf meinen HP Drucker eingestellt.

                    Nun was soll ich sagen, das funktioniert echt super, habe allerdings leider das Problem das ich die Füllmenge von Magenta nich angezeigt bekomme.

                    Da steht in der Objekt übersicht immer ein Code in Rot (sieht man im Screenshot).

                    Hab auch mal den Code angehängt, finde den Fehler leider nicht selber.

                    Würde mich sehr über eure Hilfe freuen.

                    Gruß WJ

                    /* bringt den Druckertintenstand von WEB enabled HP Tintenstrahler in ioBroker
                       Drucker HP Tintenstand für iobroker ermitteln
                      Basierend auf CCU2 Script fuer HP Drucker http://homematic-forum.de/forum/viewtopic.php?f=31&t=25140
                      und dem angepassten Script von PiX aus iobroker  http://forum.iobroker.de/viewtopic.php?f=21&t=910&p=6931&hilit=drucker&sid=6780c0b33361e199846dcb584c8dc289&sid=6780c0b33361e199846dcb584c8dc289#p6931
                      Author : looxer01 - 22.12.2015
                      Version 0.2 29.01.2015        Druckerparameter jetzt einstellbar im Bereich der Einstellungen
                      kosmetik ykuendig
                    */
                    
                    // hier Drucker parameter einstellen - vor dem ersten Speichern des Scripts
                    
                    var druckerIP       = '192.168.178.27';            // Drucker IP 
                    var druckermod      = "CM750A";                   // Drucker Modell - Strukturelement in den Variablen
                    var TinteID         = "950XL";                  // Tinte - Tintenbezeichnung
                    var TinteCyanBez    = "CN046A";                // Bezeichnung fuer Cyan
                    var TinteMagentaBez = "CN047A";                // Bezeichnung fuer Magenta
                    var TinteYellowBez  = "CN048A";                // Bezeichnung fuer Yellow
                    var TinteBlackBez   = "CN045A";                // Bezeichnung fuer Black
                    
                    // ENDE der Einstellungen
                    
                    var druckerURL      = "http://" + druckerIP + "/DevMgmt/ConsumableConfigDyn.xml";          // URL nicht ändern
                    var request         = require('request');                                                   // Enabling for URL Request
                    var cut0            = "dd:Capacity";                                                        // Marker für capacity
                    var cut1            = "dd:ConsumableLabelCode";                                             // Marker für color
                    var cut2            = "dd:ConsumablePercentageLevelRemaining";                              // Marker für Level
                    
                    var level_C  = 0;                                                                           // Tintenlevel
                    var level_M  = 0;                                                                           // Tintenlevel
                    var level_Y  = 0;                                                                           // Tintenlevel
                    var level_K  = 0;                                                                           // Tintenlevel
                    
                    var DruckIP         = "Drucker.HP." + druckermod + ".IP";                                   // Variable für create states
                    var DruckerName     = "Drucker.HP." + druckermod + ".Name";                                 // Variable für create states
                    var Modell          = "Drucker.HP." + druckermod + ".Modell";                               // Variable für create states
                    var Tinte           = "Drucker.HP." + druckermod + ".Tinte";                                // Variable für create states
                    
                    var CyanInk         = "Drucker.HP." + druckermod + ".Color1Cyan.Ink";                       // Variable für create states
                    var MagentaInk      = "Drucker.HP." + druckermod + ".Color2Magenta.Ink";                    // Variable für create states
                    var YellowInk       = "Drucker.HP." + druckermod + ".Color3Yellow.Ink";                     // Variable für create states
                    var BlackInk        = "Drucker.HP." + druckermod + ".Color4Black.Ink";                      // Variable für create states
                    
                    var CyanLevel       = "Drucker.HP." + druckermod + ".Color1Cyan.Level";                     // Variable für create states
                    var MagentaLevel    = "Drucker.HP." + druckermod + ".Color2Magenta.Level";                  // Variable für create states
                    var YellowLevel     = "Drucker.HP." + druckermod + ".Color3Yellow.Level";                   // Variable für create states
                    var BlackLevel      = "Drucker.HP." + druckermod + ".Color4Black.Level";                    // Variable für create states
                    
                    // Anlegen der Variablen
                    createState(DruckIP,druckerIP);
                    createState(DruckerName,druckermod);
                    createState(Tinte,TinteID);
                    
                    createState(CyanInk,TinteCyanBez);
                    createState(MagentaInk,TinteMagentaBez);
                    createState(YellowInk,TinteYellowBez);
                    createState(BlackInk,TinteBlackBez);
                    
                    createState(CyanLevel,0);
                    createState(MagentaLevel,0);
                    createState(YellowLevel,0);
                    createState(BlackLevel),0;
                    
                    // Schedule für die Updates
                    schedule("0 */6 * * *",  Drucker);      // Schedule alle 6 Stunden
                    Drucker();                              // Sofort beim Scriptstart einmal laufen lassen
                    
                    function Drucker () {
                    
                        request(druckerURL, function (error, response, body) {                              // Einlesen der XML Information
                        if (!error && response.statusCode == 200) {                                         // error check
                    
                            // Farbe nummer 1   
                            var null_position = body.indexOf(cut0) + cut0.length + 1 ;
                            var eins_position = body.indexOf(cut1, null_position) + cut1.length  + 1;       // erste Position finden
                            var color =   body.substring(eins_position, eins_position+1) ;                  // erste Position ist die Farbe
                            var zwei_position = body.indexOf(cut2)+ cut2.length  + 1;                       // zweite Position finden
                            var level_string = body.substring(zwei_position, body.indexOf(TagEndMarker, zwei_position));
                            var eins_lastpos = eins_position;                                               // merken position eins
                            var zwei_lastpos = zwei_position;                                               // merken position zwei
                            var TagEndMarker = '<';
                    
                            if("C" == color){ level_C  = level_string; }
                            if("M" == color){ level_M  = level_string; }
                            if("Y" == color){ level_Y  = level_string; }
                            if("K" == color){ level_K  = level_string; }
                    
                            eins_lastpos = eins_position + 10;
                            zwei_lastpos = zwei_position + 10;               
                    
                            // Farbe nummer 2   
                            eins_position = body.indexOf(cut1, eins_lastpos) + cut1.length + 1 ;
                            color =   body.substring(eins_position, eins_position+1) ;
                            zwei_position = body.indexOf(cut2,zwei_lastpos)+ cut2.length  + 1;
                            level_string = body.substring(zwei_position, body.indexOf(TagEndMarker, zwei_position));
                    
                            if("C" == color){ level_C  = level_string; }
                            if("M" == color){ level_M  = level_string; }
                            if("Y" == color){ level_Y  = level_string; }
                            if("K" == color){ level_K  = level_string; }
                    
                            eins_lastpos = eins_position + 10;
                            zwei_lastpos = zwei_position + 10;               
                    
                            // Farbe nummer 3   
                            eins_position = body.indexOf(cut1, eins_lastpos) + cut1.length  + 1;
                            color =   body.substring(eins_position, eins_position+1) ;
                            zwei_position = body.indexOf(cut2,zwei_lastpos)+ cut2.length  + 1;
                            level_string = body.substring(zwei_position, body.indexOf(TagEndMarker, zwei_position));
                    
                            if("C" == color){ level_C  = level_string; }
                            if("M" == color){ level_M  = level_string; }
                            if("Y" == color){ level_Y  = level_string; }
                            if("K" == color){ level_K  = level_string; }
                    
                            eins_lastpos = eins_position + 10;
                            zwei_lastpos = zwei_position + 10;               
                    
                            // Farbe nummer 4 
                            eins_position = body.indexOf(cut1, eins_lastpos) + cut1.length  + 1;
                            color =   body.substring(eins_position, eins_position+1) ;
                            zwei_position = body.indexOf(cut2,zwei_lastpos)+ cut2.length  + 1;
                            level_string = body.substring(zwei_position, body.indexOf(TagEndMarker, zwei_position));
                    
                            if("C" == color){ level_C  = level_string; }
                            if("M" == color){ level_M  = level_string; }
                            if("Y" == color){ level_Y  = level_string; }
                            if("p" == color){ level_pK = level_string; }
                            if("K" == color){ level_K  = level_string; }
                    
                            eins_lastpos = eins_position + 10;
                            zwei_lastpos = zwei_position + 10;               
                    
                            log('Drucker Level  C ' + level_C  , "info");
                            log('Drucker Level  M ' + level_M  , "info");
                            log('Drucker Level  Y ' + level_Y  , "info");
                            log('Drucker Level  K ' + level_K  , "info");
                    
                            // der folgende Bereich muss für ggf abweichenden Druckertyp angepasst werden
                            setState(CyanLevel, level_C);
                            setState(MagentaLevel, level_M);
                            setState(YellowLevel, level_Y);
                            setState(BlackLevel, level_K);
                            setState(DruckIP, druckerIP);
                    
                        } else  {  //   if (!error && response.statusCode == 200) {
                            log(error);
                            log('Kein Drucker gefunden');
                        }
                    
                        }); // end of request
                    
                    } // end of function
                    

                    6574_2018-04-04.png

                    1 Reply Last reply Reply Quote 0
                    • J
                      jensus11 last edited by

                      Hallo,

                      ich habe das Gleiche Problem wie Goldblaster.

                      Bei mir wird auch bei Cyan Level nicht der Füllstand ausgelesen.

                      Die anderen Farben funktionieren.

                      Nutze auch das überarbeitete Script von ykuendig.

                      Kann auch keinen Fehler entdecken.

                      gruss

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User last edited by

                        Hallo

                        Besitze einen Canon Drucker MG 7700.

                        Welche Eingaben bzw. wie muss bei mir das Skript aussehen? Wenn ich die IP des Druckers eingebe erscheint die im Anhang stehende Seite. Quellcode ist auch angehängt.

                        Danke für Eure Hilfe 😉

                        Gruss

                        Vazi
                        7437_druckerseite.jpg
                        7437_quellcode.txt

                        1 Reply Last reply Reply Quote 0
                        • Minninnewah
                          Minninnewah last edited by

                          Ich Poste meine Lösung jetzt einfach auch mal, vlt. kann sie noch jemand gebrauchen.

                          Ich habe eine Brother DCP-L8400CDN über http request ausgelesen –> Patronenstände und Hardwareabnutzung

                          createState("Drucker.Toner.Black", 10, false, {name: 'Toner_Black', type: 'number'});
                          createState("Drucker.Toner.Yellow", 10, {name: 'Toner_Yellow', type: 'number'});
                          createState("Drucker.Toner.Magenta", false, {name: 'Toner_Magenta', type: 'number'});
                          createState("Drucker.Toner.Cyan", false, {name: 'Toner_Cyan', type: 'number'});
                          createState("Drucker.Hardware.Trommeleinheit", false, {name: 'Trommeleinheit', type: 'number'});
                          createState("Drucker.Hardware.Bandeinheit", false, {name: 'Bandeinheit', type: 'number'});
                          createState("Drucker.Hardware.Fixiereinheit", false, {name: 'Fixiereinheit', type: 'number'});
                          createState("Drucker.Hardware.Laser", false, {name: 'Laser', type: 'number'});
                          createState("Drucker.Hardware.MF_Papierzufuhr", false, {name: 'MF_Papierzufuhr', type: 'number'});
                          createState("Drucker.Hardware.Papierzufuhr_Kit", false, {name: 'Papierzufuhr_Kit', type: 'number'});
                          
                          var http = require('http');
                          
                          var options = {
                              host: '192.168.1.103',
                              path: '/general/information.html?kind=item'
                          };
                          
                          parse = function (Result) {
                              //Search
                              console.log("Parsing started...");
                          
                              //Toner Schwarz
                              var n = Result.search("Black&");
                              setState("Drucker.Toner.Black", Result.slice(n + 26, n + 26 + 5));
                          
                              //Toner Cyan
                              n = Result.search("Cyan&");
                              setState("Drucker.Toner.Cyan", Result.slice(n + 24, n + 24 + 5));
                          
                              //Toner Gelb
                              n = Result.search("Yellow&");
                              setState("Drucker.Toner.Yellow", Result.slice(n + 26, n + 26 + 5));
                          
                              //Toner Magenta
                              n = Result.search("Magenta&");
                              setState("Drucker.Toner.Magenta", Result.slice(n + 27, n + 27 + 5));
                          
                              //Trommeleinheit
                              n = Result.search("Drum U");
                              setState("Drucker.Hardware.Trommeleinheit", Result.slice(n + 111, n + 111 + 5));
                          
                              //Bandeinheit
                              n = Result.search("Belt");
                              setState("Drucker.Hardware.Bandeinheit", Result.slice(n + 110, n + 110 + 5));
                          
                              //Fixiereinheit
                              n = Result.search("Fuser");
                              setState("Drucker.Hardware.Fixiereinheit", Result.slice(n + 111, n + 111 + 5));
                          
                              //Laser
                              n = Result.search("Laser");
                              setState("Drucker.Hardware.Laser", Result.slice(n + 111, n + 111 + 5));
                          
                              //MF Papierzufuhr
                              n = Result.search("Kit MP");
                              setState("Drucker.Hardware.MF_Papierzufuhr", Result.slice(n + 107, n + 107 + 5));
                          
                              //Papierzufuhr Kit
                              n = Result.search("Kit 1");
                              setState("Drucker.Hardware.Papierzufuhr_Kit", Result.slice(n + 106, n + 106 + 5));
                          }
                          
                          callback = function (response) {
                              var str = '';
                          
                              //another chunk of data has been recieved, so append it to `str`
                              response.on('data', function (chunk) {
                                  str += chunk;
                              });
                          
                              //the whole response has been recieved, so we just print it out here
                              response.on('end', function () {
                                  parse(str);
                              });
                          }
                          
                          //Immer um 20Uhr wird der Stand überprüft
                          on({time: {hour: 20}},function(){
                              http.request(options, callback).end();
                          });
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • M
                            Master77 last edited by

                            Hallo zusammen.

                            Hat einer von euch das ganze für einen Cannon Drucker angepasst?

                            Danke im voraus für die Info.

                            Gruß Markus

                            Gesendet von unterwegs mit Tapatalk

                            1 Reply Last reply Reply Quote 0
                            • K
                              Kueppert last edited by

                              Ich bin vom Skript hier auf snmp umgestiegen. Ist ein Adapter. Schau doch da Mal nach wegen Canon…

                              Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk

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

                                Ich auch , für die Farben verwende ich den Parser Adapter.

                                2858_screenshot__262_.png

                                1 Reply Last reply Reply Quote 0
                                • K
                                  Kueppert last edited by

                                  @Master77:

                                  Hallo zusammen.

                                  Hat einer von euch das ganze für einen Cannon Drucker angepasst?

                                  Danke im voraus für die Info.

                                  Gruß Markus

                                  Gesendet von unterwegs mit Tapatalk ` Hi Markus,

                                  kann deine PM in tapatalk leider nicht öffnen??! Ich habe den oid Browser dafür benutzen müssen. Damit habe ich die IDs finden können. In Thread vom snmp Adapter ist der auch einmal erwähnt worden. Du kannst auch dort einmal nach den IDs fragen…

                                  VG Thorsten

                                  Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Master77 last edited by

                                    @Kueppert:

                                    @Master77:

                                    Hallo zusammen.

                                    Hat einer von euch das ganze für einen Cannon Drucker angepasst?

                                    Danke im voraus für die Info.

                                    Gruß Markus

                                    Gesendet von unterwegs mit Tapatalk ` Hi Markus,

                                    kann deine PM in tapatalk leider nicht öffnen??! Ich habe den oid Browser dafür benutzen müssen. Damit habe ich die IDs finden können. In Thread vom snmp Adapter ist der auch einmal erwähnt worden. Du kannst auch dort einmal nach den IDs fragen…

                                    VG Thorsten

                                    Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk ` Hallo

                                    Danke erst mal für die Info.

                                    Also wenn ich das richtig verstanden habe muss ich im oid Browser einfach die IP des entsprechenden Gerätes eingeben und dann werden mir alle ID's angezeigt. Richtig?

                                    Gruß Markus

                                    Gesendet von unterwegs mit Tapatalk

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      Kueppert last edited by

                                      @Master77:

                                      @Kueppert:

                                      @Master77:

                                      Hallo zusammen.

                                      Hat einer von euch das ganze für einen Cannon Drucker angepasst?

                                      Danke im voraus für die Info.

                                      Gruß Markus

                                      Gesendet von unterwegs mit Tapatalk ` Hi Markus,

                                      kann deine PM in tapatalk leider nicht öffnen??! Ich habe den oid Browser dafür benutzen müssen. Damit habe ich die IDs finden können. In Thread vom snmp Adapter ist der auch einmal erwähnt worden. Du kannst auch dort einmal nach den IDs fragen…

                                      VG Thorsten

                                      Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk ` Hallo

                                      Danke erst mal für die Info.

                                      Also wenn ich das richtig verstanden habe muss ich im oid Browser einfach die IP des entsprechenden Gerätes eingeben und dann werden mir alle ID's angezeigt. Richtig?

                                      Gruß Markus

                                      Gesendet von unterwegs mit Tapatalk ` Hi Markus, korrekt, so habe ich es zumindest gemacht… Die Seite aufgerufen, auf der ich den Füllstand der Patronen sehen konnte.

                                      PS: für Synology, falls du eine haben solltest, würde ich das nicht versuchen. Hab ich hinter mir... Sind viele hunderte und hat ewig gedauert 😉

                                      VG Thorsten

                                      Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        Marshmallow last edited by

                                        @thomassch:

                                        Hallo Ihr,

                                        ginge das auch für einen Laser Drucker.

                                        Ich habe einen Samsumg 2160, bei dem ich die Füllstand über eine Webseite abrufen kann

                                        SyncThru Web Service 2016-06-01 08-01-25.png

                                        Wenn ich mir den Quelltext der Seite anschaue, dann sehe ich aber den Füllstand leider nicht direkt:

                                        ! <title>SyncThru Web Service</title>

                                        vielleicht kann mir einer einen Tipp geben, wie ich hier weiterkomme ?

                                        Gruss

                                        thomassch `

                                        Hallo thomassch, falls du immer noch suchst. Oder für alle anderen mit einem Samsung Drucker.

                                        Jede Seite hat als Basis eine json Datei.

                                        Bei der Home Seite:
                                        15588_samsung-3185-home.jpg
                                        http://ip/sws/app/information/home/home.json

                                        ! {
                                        ! status: {
                                        ! hrDeviceStatus: 2,
                                        ! status1: " Bereit: Kopie",
                                        ! status2: "100% 01",
                                        ! status3: "",
                                        ! status4: ""
                                        ! },
                                        ! identity: {
                                        ! model_name: "Samsung CLX-3180 Series",
                                        ! host_name: "SECxxxxxxxxxx",
                                        ! location: "",
                                        ! serial_num: "xxxxxxxxxxx",
                                        ! ip_addr: "10.0.3.10",
                                        ! ipv6_link_addr : "FE80::xxx:xxxx:xxxx:xxxx/64",
                                        ! mac_addr: "00:00:00:00:00:00",
                                        ! admin_email: "",
                                        ! admin_name: "",
                                        ! admin_phone: ""
                                        ! },
                                        ! toner_black: {
                                        ! opt: 1,
                                        ! status: 0,
                                        ! remaining: 61,
                                        ! cnt: 605
                                        ! },
                                        ! toner_cyan: {
                                        ! opt: 1,
                                        ! status: 0,
                                        ! remaining: 67,
                                        ! cnt: 404
                                        ! },
                                        ! toner_magenta: {
                                        ! opt: 1,
                                        ! status: 0,
                                        ! remaining: 67,
                                        ! cnt: 404
                                        ! },
                                        ! toner_yellow: {
                                        ! opt: 1,
                                        ! status: 0,
                                        ! remaining: 67,
                                        ! cnt: 404
                                        ! },
                                        ! drum_black: {
                                        ! opt: 0,
                                        ! status: 0,
                                        ! remaining: 0
                                        ! },
                                        ! drum_cyan: {
                                        ! opt: 0,
                                        ! status: 0,
                                        ! remaining: 0
                                        ! },
                                        ! drum_magenta: {
                                        ! opt: 0,
                                        ! status: 0,
                                        ! remaining: 0
                                        ! },
                                        ! drum_yellow: {
                                        ! opt: 0,
                                        ! status: 0,
                                        ! remaining: 0
                                        ! },
                                        ! tray1: {
                                        ! opt: 1,
                                        ! paper_size1: 4,
                                        ! paper_size2: 0,
                                        ! paper_type: 2,
                                        ! capa: 130,
                                        ! status: 2
                                        ! },
                                        ! tray2: {
                                        ! opt: 2,
                                        ! paper_size1: 4,
                                        ! paper_size2: 0,
                                        ! paper_type: 0,
                                        ! capa: 0,
                                        ! status: 0
                                        ! },
                                        ! tray3: {
                                        ! opt: 2,
                                        ! paper_size1: 0,
                                        ! paper_size2: 0,
                                        ! paper_type: 0,
                                        ! capa: 0,
                                        ! status: 0
                                        ! },
                                        ! tray4: {
                                        ! opt: 2,
                                        ! paper_size1: 0,
                                        ! paper_size2: 0,
                                        ! paper_type: 0,
                                        ! capa: 0,
                                        ! status: 0
                                        ! },
                                        ! mp: {
                                        ! opt: 0,
                                        ! paper_size1: 4,
                                        ! paper_size2: 0,
                                        ! paper_type1: 2,
                                        ! paper_type2: 63,
                                        ! capa: 1,
                                        ! status: 1
                                        ! },
                                        ! outbin: [
                                        ! ["BIN1", 0, 1]
                                        ! ],
                                        ! capability: {
                                        ! hdd: {opt: 2, capa: 0},
                                        ! ram: {opt: 262144, capa: 262144},
                                        ! scanner: {opt: 0 , capa: 0}
                                        ! },
                                        ! options: {
                                        ! fax: 1,extendedMem: 2,wlan: 0
                                        ! },
                                        ! GXI_ACTIVE_ALERT_TOTAL: 1,
                                        ! GXI_ADMIN_WUI_HAS_DEFAULT_PASS: 1
                                        ! }

                                        Verbrauchsmaterial
                                        15588_samsung-3185-verbrauchsmaterial.jpg
                                        http://ip/sws/app/information/supplies/supplies.json

                                        ! {
                                        ! toner_black: {
                                        ! opt: 1,
                                        ! status: 0,
                                        ! remaining: 61,
                                        ! cnt: 605,
                                        ! capa: 1500,
                                        ! id: "CK320EUR",
                                        ! serial: "CRUM-xxxxxxxxxx"
                                        ! },
                                        ! toner_cyan: {
                                        ! opt: 1,
                                        ! status: 0,
                                        ! remaining: 67,
                                        ! cnt: 404,
                                        ! capa: 1000,
                                        ! id: "CC320EUR",
                                        ! serial: "CRUM-xxxxxxxxxx"
                                        ! },
                                        ! toner_magenta: {
                                        ! opt: 1,
                                        ! status: 0,
                                        ! remaining: 67,
                                        ! cnt: 404,
                                        ! capa: 1000,
                                        ! id: "CM320EUR",
                                        ! serial: "CRUM-xxxxxxxxxx"
                                        ! },
                                        ! toner_yellow: {
                                        ! opt: 1,
                                        ! status: 0,
                                        ! remaining: 67,
                                        ! cnt: 404,
                                        ! capa: 1000,
                                        ! id: "CY320EUR",
                                        ! serial: "CRUM-xxxxxxxxxx"
                                        ! },
                                        ! drum_black: {
                                        ! opt: 0,
                                        ! status: 0,
                                        ! remaining: 0,
                                        ! id: ""
                                        ! },
                                        ! drum_cyan: {
                                        ! opt: 0,
                                        ! status: 0,
                                        ! remaining: 0,
                                        ! id: ""
                                        ! },
                                        ! drum_magenta: {
                                        ! opt: 0,
                                        ! status: 0,
                                        ! remaining: 0,
                                        ! id: ""
                                        ! },
                                        ! drum_yellow: {
                                        ! opt: 0,
                                        ! status: 0,
                                        ! remaining: 0,
                                        ! id: ""
                                        ! },
                                        ! consume: {
                                        ! fuser_kit : 5109,
                                        ! btr_kit: 1476,
                                        ! roller_tray1: 1476,
                                        ! roller_tray2: 0,
                                        ! roller_tray3: 0,
                                        ! roller_tray4: 0,
                                        ! transfer_roller: 1476,
                                        ! transfer_belt: 5140
                                        ! },
                                        ! consume_opt: {
                                        ! tray2_opt: 2,
                                        ! tray3_opt: 2,
                                        ! tray4_opt: 2,
                                        ! hcf_opt: 0
                                        ! }
                                        ! }

                                        und

                                        Nutzungszähler
                                        15588_samsung-3185-nutzungszaehler.jpg
                                        http://ip/sws/app/information/counters/counters.json

                                        ! {
                                        ! GXI_SYS_SERIAL_NUM: "XXXXXXXXXXXXX",
                                        ! GXI_SUPPORT_COLOR: 1,
                                        ! GXI_SUPPORT_COPY: 1,
                                        ! options: {
                                        ! fax: 1,extendedMem: 2,wlan: 0
                                        ! },
                                        ! GXI_INSTALL_OPTION_DUPLEX: 0,
                                        ! GXI_LAYOUT_DUPLEX_OPT: 0,
                                        ! GXI_BILLING_SIMPLEX_BW_PRINT_CNT: 191,
                                        ! GXI_BILLING_SIMPLEX_BW_COPY_CNT: 55,
                                        ! GXI_BILLING_SIMPLEX_BW_FAX_CNT: 0,
                                        ! GXI_BILLING_SIMPLEX_BW_REPORT_CNT: 11,
                                        ! GXI_BILLING_SIMPLEX_BW_TOTAL_CNT: 257,
                                        ! GXI_BILLING_SIMPLEX_COLOR_PRINT_CNT: 1180,
                                        ! GXI_BILLING_SIMPLEX_COLOR_COPY_CNT: 37,
                                        ! GXI_BILLING_SIMPLEX_COLOR_FAX_CNT: 0,
                                        ! GXI_BILLING_SIMPLEX_COLOR_REPORT_CNT: 2,
                                        ! GXI_BILLING_SIMPLEX_COLOR_TOTAL_CNT: 1219,
                                        ! GXI_BILLING_DUPLEX_BW_PRINT_CNT: 0,
                                        ! GXI_BILLING_DUPLEX_BW_COPY_CNT: 0,
                                        ! GXI_BILLING_DUPLEX_BW_FAX_CNT: 0,
                                        ! GXI_BILLING_DUPLEX_BW_REPORT_CNT: 0,
                                        ! GXI_BILLING_DUPLEX_BW_TOTAL_CNT: 0,
                                        ! GXI_BILLING_DUPLEX_COLOR_PRINT_CNT: 0,
                                        ! GXI_BILLING_DUPLEX_COLOR_COPY_CNT: 0,
                                        ! GXI_BILLING_DUPLEX_COLOR_FAX_CNT: 0,
                                        ! GXI_BILLING_DUPLEX_COLOR_REPORT_CNT: 0,
                                        ! GXI_BILLING_DUPLEX_COLOR_TOTAL_CNT: 0,
                                        ! GXI_BILLING_PRINT_TOTAL_IMP_CNT: 1371,
                                        ! GXI_BILLING_COPY_TOTAL_IMP_CNT: 92,
                                        ! GXI_BILLING_FAX_TOTAL_IMP_CNT: 0,
                                        ! GXI_BILLING_REPORT_TOTAL_IMP_CNT: 13,
                                        ! GXI_BILLING_TOTAL_IMP_CNT: 1476,
                                        ! GXI_BILLING_EMBEDDED_FAX_IMAGES_SENT: 0,
                                        ! GXI_BILLING_EMBEDDED_FAX_IMAGES_RECEIVED: 0,
                                        ! GXI_BILLING_DADF_SCAN_PAGE_CNT: 1001,
                                        ! GXI_BILLING_PLATEN_SCAN_PAGE_CNT: 143
                                        ! }

                                        Vielleicht hilft es ja dem einen oder anderen weiter.

                                        Gruß, Sebastian

                                        1 Reply Last reply Reply Quote 0
                                        • Negalein
                                          Negalein Global Moderator @looxer01 last edited by

                                          @looxer01 sagte in [Vorlage] Script und VIS: Druckerpatronen Zustand:

                                          Da ich aber keinen Epson Drucker habe sondern HP, habe ich mich hingesetzt und das Ganze für HP angepasst.

                                          Hallo Looxer!

                                          Ich habe dein Script schon länger in Verwendung. Funktioniert perfekt.
                                          Aber jetzt ist mir aufgefallen, dass der Tintenfüllstand nicht unter 20% geht.

                                          In den Patronen ist definitiv schon weniger vorhanden. Aber das Script zeigt jetzt kontinuierlich 20% an.

                                          Ist ein HP Envy mit 2 Tanks (Black & CMY)

                                          Hättest du einen Tipp?

                                          1 Reply Last reply Reply Quote 0
                                          • Sascha Löbbert
                                            Sascha Löbbert @ykuendig last edited by

                                            @ykuendig Hallo! Ich würde für unseren BROTHER MFC-J6910DW auch gerne die Tintenstände auslesen und habe mir schon den Parser Adapter installiert. Leider bin ich aber gar nicht fit mit Regex und wollte einmal nachfragen, ob mir hier jemand helfen könnte. Den Tintenvorrat des Druckers kann ich über seine Homepage sehen. Der Quelltext für die schwarze Tinte sähe folgendermaßen aus:

                                            <img src="../common/images/black.gif" alt="Black" class="tonerremain" height="33px" />
                                            

                                            Wobei der height-Wert den Tintenstand in % angibt. Wie komme ich jetzt mit einer Regex an die 33?

                                            Grüße
                                            Sascha

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            606
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            43
                                            176
                                            82295
                                            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