seydx / homebridge-printer

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

An error occured during getting state #22

Open Klomgor opened 1 year ago

Klomgor commented 1 year ago

The contact sensor is always closed and the switch is always off in the home app. They're both unresponsive.

Logs: [18/07/2022, 05:02:39] [PrinterPlatform] HP Color LaserJet Pro MFP M479fdw Sensor: An error occured during getting state [18/07/2022, 05:02:39] [PrinterPlatform] self signed certificate

Config: { "name": "PrinterPlatform", "debug": true, "printer": [ { "name": "HP Color LaserJet Pro MFP M479fdw", "address": "https://hpf80dac7bfb21.local./#hId-pgAirPrint", "polling": 10, "marker": true, "switchType": "SWITCH", "manufacturer": "Hewlett-Packard", "model": "W1A80A", "serialNumber": "MXBCNBH0CN" } ], "_bridge": { "username": "0E:1D:50:4F:12:41", "port": 38031 }, "platform": "PrinterPlatform" }

iUnstable0 commented 1 year ago

Im getting this too but for me it's EAI_AGAIN error

iUnstable0 commented 1 year ago

also bout your issue use http instead of https

JayJay-Master commented 1 year ago

Hi, I had the same error with an Espon ET-2756, described in issue #15, where you can also find the solution to fix it (I had to allow the insecure communication for the IPP protocol.). After a firmware update I had the error again, but it could be fixed with the same solution. Obviously some settings were reset. Maybe this hint will also help to find a fix for an HP printer.