seydx / homebridge-printer

Homebridge plugin for ipp (AirPrint) capable printer
MIT License
42 stars 4 forks source link

Printer Sensor: Can not reach printer! #18

Closed vskal closed 3 years ago

vskal commented 3 years ago

Thanks for the plugin !

I have installed a Canon G6040 via ethernet and my configuration is as follows: "name": "PrinterPlatform", "debug": true, "printer": [ { "name": "Printer", "address": "http://192.168.1.247.local:631/ipp/printer", "polling": 10, "marker": false, "switchType": "SWITCH", "manufacturer": "Canon", "model": "G6040",

I can use the AirPrint function of the printer with no problem from various devices.

The Discovery application shows for IPP, adminurl=000000779FE8.local/index.html?page=PAGE_AAP But trying with http://000000779FE8.local:631/ipp/printer produced errors. I also disabled the Marker because I was getting errors and Homebridge loads with no red errors,

After reading other resolved issues I also tried http://192.168.1.247.local:631/ipp/printer I also get no error messages in Homebridge with this address but the plugin does not trigger either the switch or the sensor.

Homebridge is reporting at startup: Printer Sensor: Configuring accessory... Printer Switch: Configuring accessory..

so it seems it will work but it doesn;t, after a while: "Printer Sensor: Can not reach printer!"

Have I got the IPP address wrong?

vskal commented 3 years ago

Solved please close the issue and many thanks.

For Canon G6000 series I used the printers IP address with port 631 for the plugin IPP address and it now works: http://192.168.1.xxx:631