I try to add a box with my printer consumables, e.g. toner, waste an so on.
I could get the percentages from my IOBroker installation, where i collect them by SNMP and have an simple.api instance to grab them by rainmeter.
Pulling the values into Text is no problem.
But using in MeterBlackBar it won´t work.
The Bar will be at 0%
Did I have to convert the string into int? I thought, from other topics, that a Measure should give back both, if the string is only numbers.
The Webparser will give back e.g. "52" so I have to substitute the " to nothing.
thanks in advance
Code: Select all
[measureBlack] Measure=Plugin Plugin=WebParser URL=http://172.16.8.64:8087/states?pattern=snmp.0.CanonMF645cx.Black UpdateRate=60 StringIndex=1 RegExp=(?siU)"val":(.*), Substitute='"':"" [MeterBlack] Meter=String MeterStyle=styleLeftText MeasureName=measureBlack X=20 Y=15r W=78 H=14 Text="%1 %" [MeterBlackBar] MeasureName=measureBlack Meter=BAR X=55 Y=0r W=140 H=10 BarColor=0,0,0,255 SolidColor=255,255,255,25 BarOrientation=Horizontal