I have several printers here at work I would like to get the status of currently I am using
.ITEMS
String Jerry_Printer_1 "Jerry's Printer [%s]" <_7100n> (Printer) { http="<[http://192.168.1.94/stgen.htm:60000:REGEX(.*?Office','(.*?)',.*)]"}
String ATAL_Printer_1 "ATAL Printer [%s]" <_7100n> (Printer) { http="<[http://192.168.1.89/stgen.htm:60000:REGEX(.*?Labs','(.*?)',.*)]"}
but this only tells me if it needs to be replaced soon and not what needs to be replaced.
There is another lineset in the same page that tells all the pertenent info but I do not know how to extract the data from it for openhab.
var spcs=['ATAL Phaser 7100N',['192.168.1.89'],'ATA Labs','Toner cartridge needs to be replaced soon.','w'];
var lRef='Refresh';
var lRbt='Reboot Machine';
var cfmRbt='Do you want to reboot?';
var crNote='XEROX® and the sphere of connectivity design are trademarks of<BR>Xerox Corporation in the US and/or other countries.';
var artinfo=[1,[1,'093-409','The Cyan Toner [C] is low. Cartridge needs to be replaced soon. Order a new Cyan Toner [C] Cartridge. Printing can continue.',1],[1,'093-406','The Black Toner [K] Cartridge needs to be replaced soon. Order a new Black Toner [K] Cartridge. Printing can continue.',1],[1,'093-408','The Magenta Toner [M] Cartridge needs to be replaced soon. Order a new Magenta Toner [M] Cartridge but do not replace until you are instructed to. Printing can continue.',1]];
can anyone help I would like to parse the info after var artinfo=