Item configuration for IPP binding

Hello,

I need some help getting the IPP binding working.

I’m using OH2 and managed to set up the printer thing through Paper UI.
But I can’t find the right item configuration.

For the CUPS binding, there is an example that looks like that:

Number Jobs_Queued   "Unfinished print jobs"  { cups="HP_LaserJet_1320#NOT_COMPLETED" }

So I thought the IPP binding is something like that:

Number Jobs_Queued   "Unfinished print jobs"  { ipp="Ipp:Printer:HP_LaserJet_1320:waitingJobs" }

but this doesn’t work. The documentation lacks of an example, so I don’t know what to do.

Any suggestions would be appreciated.

Greetings
Marcus

Hello,

you have to bind the item to the channel from the thing.

{channel=“ipp:printer:00dc13ff:jobs”}

Number	waitingJobs	"Number of waiting print jobs on the printer [%s]"	{channel="ipp:printer:00dc13ff:waitingJobs"}	
Number 	doneJobs	"Number of completed print jobs on the printer [%s]"	{channel="ipp:printer:00dc13ff:doneJobs"}
Number 	jobs	        "Total number of print jobs on the printer [%s]"        {channel="ipp:printer:00dc13ff:jobs"}

Can somebody give me a hint how the things file has to look like? Nothing in the docu…

Thanks!

Simple example

Thing ipp:printer:00dc13ff “HP Laserjet 6P” @ “Cups-Server” [ url=“https://192.168.79.243:631”, name=“HP_Laserjet_6P”]

1 Like

I think this rul https is wrong. ippfind command return url in this format ipp://printer.local:631/ipp/print but this dont work in binding. I tried everything but canon printer is always OFFLINE.