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

      @homoran
      Nein, das ist sie nicht.

      Er hat ja geschrieben, dass er noch zusätzlich eine andere Variante hat.

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

      Nachtrag:
      ich habe übrigens auch eine Variante

      L 2 Replies Last reply Reply Quote 1
      • L
        looxer01 @bahnuhr last edited by looxer01

        @bahnuhr
        sind jetzt beide Scripts im vorherigen Post

        Nachtrag:
        die Variable FetchRemainPages muss auf true gestellt werden

        1 Reply Last reply Reply Quote 2
        • L
          looxer01 @bahnuhr last edited by looxer01

          @bahnuhr
          würdest du deine XML Datei zur Verfügung stellen.
          Ich möchte versuchen Findungsstrategien einzubauen.
          Ich selber habe ja schon die beiden URL. Deine scheint ja nochmal mehr Daten zu enthalten.

          Hintergrund
          Die beiden URLs, die ich nutze haben beispielsweise einen anderen Aufbau. Bei der einen muß über hierarchiches Suchen der Tintenstand gefunden werden.
          Die zweite ist weniger komplex und es kann z.B. nach "Yellow" gesucht werden und ein paar Zeilen weiter steht schon der Tintenstand zur Verfügung

          Wenn es klappt, dann könnte das parsen . unabhängiger vom Druckertyp ablaufen und verschiedene URL ausgewertet werden.

          vG Looxer

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

            @looxer01
            Ich nehme aber dein Script aus 2015. Die o.g. Scripte hab ich noch nicht ausprobiert.

            Im Browser kommt bei: http://192.168.243.111/DevMgmt/ConsumableConfigDyn.xml

            This XML file does not appear to have any style information associated with it. The document tree is shown below.
            <!--  THIS DATA SUBJECT TO DISCLAIMER(S) INCLUDED WITH THE PRODUCT OF ORIGIN.  -->
            <ccdyn:ConsumableConfigDyn xmlns:dd="http://www.hp.com/schemas/imaging/con/dictionaries/1.0/" xmlns:dd2="http://www.hp.com/schemas/imaging/con/dictionaries/2008/10/10" xmlns:ccdyn="http://www.hp.com/schemas/imaging/con/ledm/consumableconfigdyn/2007/11/19" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.hp.com/schemas/imaging/con/ledm/consumableconfigdyn/2007/11/19 ../schemas/ConsumableConfigDyn.xsd http://www.hp.com/schemas/imaging/con/dictionaries/1.0/ ../schemas/dd/DataDictionaryMasterLEDM.xsd">
            <dd:Version>
            <dd:Revision>SVN-IPG-LEDM.38</dd:Revision>
            <dd:Date>2010-06-02</dd:Date>
            </dd:Version>
            <ccdyn:ProductConsumableInfo>
            <dd:NumOfUserReplaceableConsumables>5</dd:NumOfUserReplaceableConsumables>
            <dd:NumOfNonUserReplaceableConsumables>0</dd:NumOfNonUserReplaceableConsumables>
            <dd:AlignmentMode>automatic</dd:AlignmentMode>
            <ccdyn:CartridgeChipInfo>enabled</ccdyn:CartridgeChipInfo>
            <ccdyn:SupportedConsumables>
            <ccdyn:SupportedConsumable>
            <dd:ConsumableTypeEnum>ink</dd:ConsumableTypeEnum>
            <dd:ConsumableLabelCode>M</dd:ConsumableLabelCode>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>951XL</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>highVolume</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>951</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>everyday</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>951XL Z20</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>highVolume</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>951 Z20</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>highVolume</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            </ccdyn:SupportedConsumable>
            <ccdyn:SupportedConsumable>
            <dd:ConsumableTypeEnum>ink</dd:ConsumableTypeEnum>
            <dd:ConsumableLabelCode>C</dd:ConsumableLabelCode>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>951XL</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>highVolume</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>951</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>everyday</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>951XL Z20</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>highVolume</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>951 Z20</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>highVolume</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            </ccdyn:SupportedConsumable>
            <ccdyn:SupportedConsumable>
            <dd:ConsumableTypeEnum>ink</dd:ConsumableTypeEnum>
            <dd:ConsumableLabelCode>Y</dd:ConsumableLabelCode>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>951XL</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>highVolume</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>951</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>everyday</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>951XL Z20</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>highVolume</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>951 Z20</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>highVolume</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            </ccdyn:SupportedConsumable>
            <ccdyn:SupportedConsumable>
            <dd:ConsumableTypeEnum>ink</dd:ConsumableTypeEnum>
            <dd:ConsumableLabelCode>K</dd:ConsumableLabelCode>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>950XL</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>highVolume</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>950</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>everyday</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>950 Z20</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>highVolume</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            <ccdyn:SupportedConsumableInfo>
            <dd:ConsumableSelectibilityNumber>950XL Z20</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableUsageType>highVolume</dd:ConsumableUsageType>
            </ccdyn:SupportedConsumableInfo>
            </ccdyn:SupportedConsumable>
            </ccdyn:SupportedConsumables>
            <dd:ConsumableSlotDirection>leftToRight</dd:ConsumableSlotDirection>
            <dd:IK>635</dd:IK>
            <ccdyn:SingleCartridgeMode>disabled</ccdyn:SingleCartridgeMode>
            <dd:AntiTheftMode>disabled</dd:AntiTheftMode>
            </ccdyn:ProductConsumableInfo>
            <ccdyn:ConsumableInfo>
            <dd:ConsumableContentType>markingAgent</dd:ConsumableContentType>
            <dd:ConsumableFamilyName>PAULINA</dd:ConsumableFamilyName>
            <dd2:ConsumableID>11F583E1C38FA4A141000078001257E1</dd2:ConsumableID>
            <dd:ConsumableLabelCode>CMYK</dd:ConsumableLabelCode>
            <dd:ConsumableLifeState>
            <dd:ConsumableState>ok</dd:ConsumableState>
            <dd:Brand>nonApprovedOEM</dd:Brand>
            </dd:ConsumableLifeState>
            <dd:ConsumableReplaceabilityType>userReplaceable</dd:ConsumableReplaceabilityType>
            <dd:ConsumableStation>4</dd:ConsumableStation>
            <dd:ConsumableTypeEnum>printhead</dd:ConsumableTypeEnum>
            <dd:Installation>
            <dd:Date>2013-01-08</dd:Date>
            </dd:Installation>
            <ccdyn:ConsumablePersistentState>
            <dd:ConsumableLabelCode>CMYK</dd:ConsumableLabelCode>
            <dd:PersistentMarkerState>nonHP</dd:PersistentMarkerState>
            </ccdyn:ConsumablePersistentState>
            </ccdyn:ConsumableInfo>
            <ccdyn:ConsumableInfo>
            <dd:Capacity>
            <dd:MaxCapacity>230</dd:MaxCapacity>
            <dd:Unit>tenthsOfMilliliters</dd:Unit>
            </dd:Capacity>
            <dd:ConsumableAcceptibilitySubBrand>officejet</dd:ConsumableAcceptibilitySubBrand>
            <dd:ConsumableAcceptibilitySegmentClass>allDevices</dd:ConsumableAcceptibilitySegmentClass>
            <dd:ConsumableAcceptibilityUpgradability>notSupported</dd:ConsumableAcceptibilityUpgradability>
            <dd:ConsumableContentType>markingAgent</dd:ConsumableContentType>
            <dd:ConsumableFamilyName>NESTA</dd:ConsumableFamilyName>
            <dd:ConsumableKeyingDescriptor>large1</dd:ConsumableKeyingDescriptor>
            <dd:ConsumableLabelCode>M</dd:ConsumableLabelCode>
            <dd:ConsumableLifeState>
            <dd:ConsumableState>ok</dd:ConsumableState>
            <dd:MeasuredQuantityState>ok</dd:MeasuredQuantityState>
            <dd:Brand>HP</dd:Brand>
            <dd:ConsumableStateAction>none</dd:ConsumableStateAction>
            <dd:IsRefilled>false</dd:IsRefilled>
            </dd:ConsumableLifeState>
            <dd:ConsumableLevelMessagingStyle>dropCount</dd:ConsumableLevelMessagingStyle>
            <dd:ConsumableLowUseAlgorithm>standard</dd:ConsumableLowUseAlgorithm>
            <dd:ConsumablePercentageLevelRemaining>60</dd:ConsumablePercentageLevelRemaining>
            <dd:ConsumableReplaceabilityType>userReplaceable</dd:ConsumableReplaceabilityType>
            <dd:ConsumableSelectibilityNumber>951XL</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableStation>0</dd:ConsumableStation>
            <dd:ConsumableTypeEnum>ink</dd:ConsumableTypeEnum>
            <dd:Installation>
            <dd:Date>2023-08-20</dd:Date>
            </dd:Installation>
            <dd:ProductNumber> CN047A</dd:ProductNumber>
            <dd:SerialNumber>1620128304</dd:SerialNumber>
            <dd:RegionalCartridge>
            <dd:RegionIdentifier>1</dd:RegionIdentifier>
            </dd:RegionalCartridge>
            <dd:ConsumableIcon>
            <dd:Shape>Circle</dd:Shape>
            <dd:Rotation>rotateZero</dd:Rotation>
            <dd:FillColor>
            <dd:Red>255</dd:Red>
            <dd:Green>0</dd:Green>
            <dd:Blue>255</dd:Blue>
            </dd:FillColor>
            <dd:OutlineColor>
            <dd:Red>255</dd:Red>
            <dd:Green>0</dd:Green>
            <dd:Blue>255</dd:Blue>
            </dd:OutlineColor>
            <dd:BackGroundColor>
            <dd:Red>0</dd:Red>
            <dd:Green>0</dd:Green>
            <dd:Blue>0</dd:Blue>
            </dd:BackGroundColor>
            <dd:RGBTextColor>
            <dd:Red>255</dd:Red>
            <dd:Green>255</dd:Green>
            <dd:Blue>255</dd:Blue>
            </dd:RGBTextColor>
            <dd:Label>M</dd:Label>
            </dd:ConsumableIcon>
            <dd:Warranty>
            <dd:ExpirationDate>2018-01-15</dd:ExpirationDate>
            </dd:Warranty>
            </ccdyn:ConsumableInfo>
            <ccdyn:ConsumableInfo>
            <dd:Capacity>
            <dd:MaxCapacity>216</dd:MaxCapacity>
            <dd:Unit>tenthsOfMilliliters</dd:Unit>
            </dd:Capacity>
            <dd:ConsumableAcceptibilitySubBrand>officejet</dd:ConsumableAcceptibilitySubBrand>
            <dd:ConsumableAcceptibilitySegmentClass>allDevices</dd:ConsumableAcceptibilitySegmentClass>
            <dd:ConsumableAcceptibilityUpgradability>notSupported</dd:ConsumableAcceptibilityUpgradability>
            <dd:ConsumableContentType>markingAgent</dd:ConsumableContentType>
            <dd:ConsumableFamilyName>NESTA</dd:ConsumableFamilyName>
            <dd:ConsumableKeyingDescriptor>large1</dd:ConsumableKeyingDescriptor>
            <dd:ConsumableLabelCode>C</dd:ConsumableLabelCode>
            <dd:ConsumableLifeState>
            <dd:ConsumableState>ok</dd:ConsumableState>
            <dd:MeasuredQuantityState>ok</dd:MeasuredQuantityState>
            <dd:Brand>HP</dd:Brand>
            <dd:ConsumableStateAction>none</dd:ConsumableStateAction>
            <dd:IsRefilled>false</dd:IsRefilled>
            </dd:ConsumableLifeState>
            <dd:ConsumableLevelMessagingStyle>dropCount</dd:ConsumableLevelMessagingStyle>
            <dd:ConsumableLowUseAlgorithm>standard</dd:ConsumableLowUseAlgorithm>
            <dd:ConsumablePercentageLevelRemaining>90</dd:ConsumablePercentageLevelRemaining>
            <dd:ConsumableReplaceabilityType>userReplaceable</dd:ConsumableReplaceabilityType>
            <dd:ConsumableSelectibilityNumber>951XL Z20</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableStation>1</dd:ConsumableStation>
            <dd:ConsumableTypeEnum>ink</dd:ConsumableTypeEnum>
            <dd:Installation>
            <dd:Date>2024-05-06</dd:Date>
            </dd:Installation>
            <dd:ProductNumber>CN046AE</dd:ProductNumber>
            <dd:SerialNumber>-1746714000</dd:SerialNumber>
            <dd:RegionalCartridge>
            <dd:RegionIdentifier>4</dd:RegionIdentifier>
            </dd:RegionalCartridge>
            <dd:ConsumableIcon>
            <dd:Shape>Circle</dd:Shape>
            <dd:Rotation>rotateZero</dd:Rotation>
            <dd:FillColor>
            <dd:Red>0</dd:Red>
            <dd:Green>255</dd:Green>
            <dd:Blue>255</dd:Blue>
            </dd:FillColor>
            <dd:OutlineColor>
            <dd:Red>0</dd:Red>
            <dd:Green>255</dd:Green>
            <dd:Blue>255</dd:Blue>
            </dd:OutlineColor>
            <dd:BackGroundColor>
            <dd:Red>0</dd:Red>
            <dd:Green>0</dd:Green>
            <dd:Blue>0</dd:Blue>
            </dd:BackGroundColor>
            <dd:RGBTextColor>
            <dd:Red>255</dd:Red>
            <dd:Green>255</dd:Green>
            <dd:Blue>255</dd:Blue>
            </dd:RGBTextColor>
            <dd:Label>C</dd:Label>
            </dd:ConsumableIcon>
            <dd:Warranty>
            <dd:ExpirationDate>2021-08-06</dd:ExpirationDate>
            </dd:Warranty>
            </ccdyn:ConsumableInfo>
            <ccdyn:ConsumableInfo>
            <dd:Capacity>
            <dd:MaxCapacity>230</dd:MaxCapacity>
            <dd:Unit>tenthsOfMilliliters</dd:Unit>
            </dd:Capacity>
            <dd:ConsumableAcceptibilitySubBrand>officejet</dd:ConsumableAcceptibilitySubBrand>
            <dd:ConsumableAcceptibilitySegmentClass>allDevices</dd:ConsumableAcceptibilitySegmentClass>
            <dd:ConsumableAcceptibilityUpgradability>notSupported</dd:ConsumableAcceptibilityUpgradability>
            <dd:ConsumableContentType>markingAgent</dd:ConsumableContentType>
            <dd:ConsumableFamilyName>NESTA</dd:ConsumableFamilyName>
            <dd:ConsumableKeyingDescriptor>large1</dd:ConsumableKeyingDescriptor>
            <dd:ConsumableLabelCode>Y</dd:ConsumableLabelCode>
            <dd:ConsumableLifeState>
            <dd:ConsumableState>ok</dd:ConsumableState>
            <dd:MeasuredQuantityState>ok</dd:MeasuredQuantityState>
            <dd:Brand>HP</dd:Brand>
            <dd:ConsumableStateAction>none</dd:ConsumableStateAction>
            <dd:IsRefilled>false</dd:IsRefilled>
            </dd:ConsumableLifeState>
            <dd:ConsumableLevelMessagingStyle>dropCount</dd:ConsumableLevelMessagingStyle>
            <dd:ConsumableLowUseAlgorithm>standard</dd:ConsumableLowUseAlgorithm>
            <dd:ConsumablePercentageLevelRemaining>90</dd:ConsumablePercentageLevelRemaining>
            <dd:ConsumableReplaceabilityType>userReplaceable</dd:ConsumableReplaceabilityType>
            <dd:ConsumableSelectibilityNumber>951XL Z20</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableStation>2</dd:ConsumableStation>
            <dd:ConsumableTypeEnum>ink</dd:ConsumableTypeEnum>
            <dd:Installation>
            <dd:Date>2024-05-06</dd:Date>
            </dd:Installation>
            <dd:ProductNumber>CN048AE</dd:ProductNumber>
            <dd:SerialNumber>1959508856</dd:SerialNumber>
            <dd:RegionalCartridge>
            <dd:RegionIdentifier>4</dd:RegionIdentifier>
            </dd:RegionalCartridge>
            <dd:ConsumableIcon>
            <dd:Shape>Circle</dd:Shape>
            <dd:Rotation>rotateZero</dd:Rotation>
            <dd:FillColor>
            <dd:Red>255</dd:Red>
            <dd:Green>255</dd:Green>
            <dd:Blue>0</dd:Blue>
            </dd:FillColor>
            <dd:OutlineColor>
            <dd:Red>255</dd:Red>
            <dd:Green>255</dd:Green>
            <dd:Blue>0</dd:Blue>
            </dd:OutlineColor>
            <dd:BackGroundColor>
            <dd:Red>0</dd:Red>
            <dd:Green>0</dd:Green>
            <dd:Blue>0</dd:Blue>
            </dd:BackGroundColor>
            <dd:RGBTextColor>
            <dd:Red>0</dd:Red>
            <dd:Green>0</dd:Green>
            <dd:Blue>0</dd:Blue>
            </dd:RGBTextColor>
            <dd:Label>Y</dd:Label>
            </dd:ConsumableIcon>
            <dd:Warranty>
            <dd:ExpirationDate>2019-05-14</dd:ExpirationDate>
            </dd:Warranty>
            </ccdyn:ConsumableInfo>
            <ccdyn:ConsumableInfo>
            <dd:Capacity>
            <dd:MaxCapacity>651</dd:MaxCapacity>
            <dd:Unit>tenthsOfMilliliters</dd:Unit>
            </dd:Capacity>
            <dd:ConsumableAcceptibilitySubBrand>officejet</dd:ConsumableAcceptibilitySubBrand>
            <dd:ConsumableAcceptibilitySegmentClass>allDevices</dd:ConsumableAcceptibilitySegmentClass>
            <dd:ConsumableAcceptibilityUpgradability>notSupported</dd:ConsumableAcceptibilityUpgradability>
            <dd:ConsumableContentType>markingAgent</dd:ConsumableContentType>
            <dd:ConsumableFamilyName>NESTA</dd:ConsumableFamilyName>
            <dd:ConsumableKeyingDescriptor>large1</dd:ConsumableKeyingDescriptor>
            <dd:ConsumableLabelCode>K</dd:ConsumableLabelCode>
            <dd:ConsumableLifeState>
            <dd:ConsumableState>ok</dd:ConsumableState>
            <dd:MeasuredQuantityState>ok</dd:MeasuredQuantityState>
            <dd:Brand>HP</dd:Brand>
            <dd:ConsumableStateAction>none</dd:ConsumableStateAction>
            <dd:IsRefilled>false</dd:IsRefilled>
            </dd:ConsumableLifeState>
            <dd:ConsumableLevelMessagingStyle>dropCount</dd:ConsumableLevelMessagingStyle>
            <dd:ConsumableLowUseAlgorithm>standard</dd:ConsumableLowUseAlgorithm>
            <dd:ConsumablePercentageLevelRemaining>50</dd:ConsumablePercentageLevelRemaining>
            <dd:ConsumableReplaceabilityType>userReplaceable</dd:ConsumableReplaceabilityType>
            <dd:ConsumableSelectibilityNumber>950XL Z20</dd:ConsumableSelectibilityNumber>
            <dd:ConsumableStation>3</dd:ConsumableStation>
            <dd:ConsumableTypeEnum>ink</dd:ConsumableTypeEnum>
            <dd:Installation>
            <dd:Date>2023-08-20</dd:Date>
            </dd:Installation>
            <dd:ProductNumber>CN045AE</dd:ProductNumber>
            <dd:SerialNumber>-1311755696</dd:SerialNumber>
            <dd:RegionalCartridge>
            <dd:RegionIdentifier>4</dd:RegionIdentifier>
            </dd:RegionalCartridge>
            <dd:ConsumableIcon>
            <dd:Shape>Circle</dd:Shape>
            <dd:Rotation>rotateZero</dd:Rotation>
            <dd:FillColor>
            <dd:Red>0</dd:Red>
            <dd:Green>0</dd:Green>
            <dd:Blue>0</dd:Blue>
            </dd:FillColor>
            <dd:OutlineColor>
            <dd:Red>0</dd:Red>
            <dd:Green>0</dd:Green>
            <dd:Blue>0</dd:Blue>
            </dd:OutlineColor>
            <dd:BackGroundColor>
            <dd:Red>255</dd:Red>
            <dd:Green>255</dd:Green>
            <dd:Blue>255</dd:Blue>
            </dd:BackGroundColor>
            <dd:RGBTextColor>
            <dd:Red>255</dd:Red>
            <dd:Green>255</dd:Green>
            <dd:Blue>255</dd:Blue>
            </dd:RGBTextColor>
            <dd:Label>K</dd:Label>
            </dd:ConsumableIcon>
            <dd:Warranty>
            <dd:ExpirationDate>2023-02-19</dd:ExpirationDate>
            </dd:Warranty>
            </ccdyn:ConsumableInfo>
            </ccdyn:ConsumableConfigDyn>
            
            L 1 Reply Last reply Reply Quote 0
            • L
              looxer01 @bahnuhr last edited by looxer01

              @bahnuhr
              aaah ok. das ist die Struktur, die ich ja auch schon habe. Das optimierte Script, das ich gepostet habe funktioniert damit gut.
              Ich war auf der Suche nach der XML mit den verbleibenden Druckseiten: "RemainingPages".

              vG Looxer

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

                @looxer01
                gibt es da einen anderen xml Befehl ?

                MartinP L 2 Replies Last reply Reply Quote 0
                • MartinP
                  MartinP @bahnuhr last edited by

                  @bahnuhr Wieso macht man so etwas eigentlich nicht mit SNMP? Oder haben die Druckerhersteller sich da im HTTP interfacing auf so etwas, wie einen Standard geeinigt?

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    looxer01 @bahnuhr last edited by

                    @bahnuhr
                    versuch die mal: http://192.168.0.94/DevMgmt/ProductUsageDyn.xml
                    natürlich mit deiner IP

                    1 Reply Last reply Reply Quote 1
                    • L
                      looxer01 @MartinP last edited by

                      @martinp
                      ich habe einen HP8900Pro. Dieser wie viele andere auch verstehen meines Wissens nach kein SNMP

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

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

                        ich habe einen HP8900Pro. Dieser wie viele andere auch verstehen meines Wissens nach kein SNMP

                        mein OfficeJet 9010 pro Series findet zumindest mit dem MIB-Browser einiges.
                        Muss noch testen, welche OID für was steht.

                        Den Druckzähler hab ich bereits, obwohl der im Webportal nicht angezeigt wird.

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

                          @negalein
                          Ich habe mal SNMP aktiviert für den Drucker und dann in den SNMP Adapter eingepflegt.
                          zunächst mal zeigt der Adapter kein Problem und kann lesen.
                          Ein Tinten Level gibts noch nicht aber mit der richtigen OID mag es gehen. Ich habe diese

                          Tintenstand Cyan: .1.3.6.1.2.1.43.11.1.1.9.1.1
                          Tintenstand Magenta: .1.3.6.1.2.1.43.11.1.1.9.1.2
                          Tintenstand Yellow: .1.3.6.1.2.1.43.11.1.1.9.1.3
                          Tintenstand Black: .1.3.6.1.2.1.43.11.1.1.9.1.4

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

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

                            Ein Tinten Level gibts noch nicht aber mit der richtigen OID mag es gehen. Ich habe diese

                            das sind doch die Tintenlevels? Oder meinst du da nicht den Füllstand?


                            gedruckte Seiten

                            .1.3.6.1.2.1.43.10.2.1.4.1.1

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

                              @negalein
                              ja genau.
                              Leider bekomme ich immer folgendes vom Adapter gemeldet:
                              [HP8900Pro] device disconnected - request timeout

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

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

                                device disconnected

                                dann ist er im standby und hat das WLAN(???) deaktiviert

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  looxer01 @Homoran last edited by

                                  @homoran
                                  mmh: die connection ist nicht da aber der drucker hängt am LAN

                                  4e55910e-c590-4c83-8e78-fd0b0d11ffb3-grafik.png

                                  Ro75 1 Reply Last reply Reply Quote 0
                                  • Ro75
                                    Ro75 @looxer01 last edited by Ro75

                                    @looxer01 wenn der Drucker in den Standby geht, egal ob LAN oder WLAN, dann ist er im SNMP-Adapter offline. Ggfs. kannst du in der GUI vom Drucker längere Zeiten einstellen. Aber eigentlich ist es egal. Wenn du im SNMP Adapter aller 30 Sekunden die Daten abfgragt, kann ein Standby nach 5 Minuten völlig OK sein.

                                    Ro75.

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

                                      @ro75
                                      lag wohl an der OID.
                                      habe jetzt durch MIB eine alternative verwendet. Jetzt gibt es eine Verbindung.
                                      Muss aber noch forschen

                                      Also, wenn SNMP geht, dann brauchts keine Programmierung 😉

                                      Ro75 1 Reply Last reply Reply Quote 0
                                      • Ro75
                                        Ro75 @looxer01 last edited by

                                        @looxer01 das ist korrekt. Wenn eine OID falsch ist, passiert gar nix mehr (es kommen keine Daten). Ich verwende auch den MIB-Browser - funktioniert sehr gut.

                                        Ro75.

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

                                          habe das hier gefunden und so erscheint es mir auch bei meinem Drucker:
                                          SNMP is broken in the 8600 firmware - has been for a long time - some OID's work, some dont - some only respond to walk requests, not single get requests. Some counters don't even exist (page counts).
                                          .1.3.6.1.2.1.43.10.2.1.4.0.1 is the closest # to page counts, and doesn't work with a GET request.
                                          Most people I've talked to have moved on to other printers as they aren't getting any support from HP on SNMP.

                                          wirkt alles ein wenig random. Da komme ich wohl nicht weiter.

                                          ...oder hat das jemand mit einem 8600Pro geschafft ?

                                          aber wir haben ja noch das Script

                                          MartinP Homoran 2 Replies Last reply Reply Quote 0
                                          • MartinP
                                            MartinP @looxer01 last edited by MartinP

                                            @looxer01 die Vordertür ist ja eigentlich immer besser, aber, wenn die Firmware fehlerhaft ist, ist die Hintertür besser, als gar nichts... Ein Armutszeugnis, fast schon zynisch, das "Pro" im Namen

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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