seydx / homebridge-printer

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

Error message #11

Closed steff38 closed 3 years ago

steff38 commented 3 years ago

When the printer is off, homebridge/homekit shows that the printer is on and I get this error message:

} [27.2.2021, 14:19:31] [PrinterPlatform] LaserJet: An error occured during getting state [27.2.2021, 14:19:31] [PrinterPlatform] Error: getaddrinfo ENOTFOUND laserjet.local at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26) { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'laserjet.local' }

Is there any possibility to solve it and show the correct status in homebridge/homekit?

config:

{     "name": "PrinterPlatform",     "debug": false,     "printer": [         {             "name": "LaserJet",             "address": "http://laserjet.local:631/hp/device/info_deviceStatus.html?tab=Home&menu=DevStatus",             "polling": 10         }     ],     "platform": "PrinterPlatform" }

Thanks in advance.

BR, steff

seydx commented 3 years ago

Thx i will fix it

seydx commented 3 years ago

should be fixed with v1.0.3

steff38 commented 3 years ago

It works, thx!!!