This post has been updated to reflect the most recent re-write of the Binding on 11/08/2019 to support all HP Printers that use the Embedded Web Interface.
This binding adds support for HP Printers that have an Embedded Web Interface. It should support all models that serve the following pages:
If you don’t have the ability to use Paper UI to add the Thing or if your device isn’t auto-discovered then you can use the good ol’ way by creating a
.thing file along the following lines:
Thing hpprinter:printer:djprinter "Printer" @ "Office" [ ipAddress="192.168.1.1", usageInterval="30", statusInterval="4" ]
The available settings are:
There is only a single Thing type called
printer. This covers all printer types and will scan the Embedded Web Server and add in the channels that it supports dynamically.
The following is a list of channels and their data types for
.items files, some of these channels are dynamic and are only created when available from the Embedded Web Server:
|Cyan Colour Level||cyanLevel||Number|
|Magenta Colour Level||magentaLevel||Number|
|Yellow Colour Level||yellowLevel||Number|
|Black Colour Level||blackLevel||Number|
|Printer Jam Events||jamEvents||Number|
|Total Number of Pages Printed||totalCount||Number|
|Total Number of Colour Pages Printed||totalColorCount||Number|
|Total Number of Monochrome Pages Printed||totalMonochromeCount||Number|
colorLevelis used on Printers that have only a single colour cartridge instead of separate Cyan, Magenta and Yellow ones.
If you find that the information presented in the channels aren’t correct then post in this thread the following files from your printer at the following address:
as well as your printers model number. Some printers Embedded Web Servers won’t return the above links (they will 404) which means your printer is not supported.
You can download the binding here: https://www.dropbox.com/s/tqxc57dgp74026o/org.openhab.binding.hpprinter-2.5.0-SNAPSHOT.jar?dl=1