Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HP printer sensor closed #17

Open
swap-gore opened this issue Apr 17, 2021 · 3 comments
Open

HP printer sensor closed #17

swap-gore opened this issue Apr 17, 2021 · 3 comments

Comments

@swap-gore
Copy link

Hi,
I installed plugin, logs are showing successful communication with printer.

[17/04/2021, 18:10:55] [PrinterPlatform] HP DeskJet 2676 Sensor: {"version":"2.0","statusCode":"successful-ok","id":30832407,"operation-attributes-tag":{"attributes-charset":"utf-8","attributes-natural-language":"en"},"printer-attributes-tag":{"printer-make-and-model":"HP DeskJet 2600 series","printer-state":"idle","printer-is-accepting-jobs":true,"queued-job-count":0,"printer-up-time":3403}}

This is config:
{
"name": "PrinterPlatform",
"debug": true,
"printer": [
{
"name": "HP DeskJet 2676",
"address": "http://HP84A93EC66DAE.local./#hld-pgAirPrint",
"polling": 10,
"marker": false,
"switchType": "SWITCH",
"manufacturer": "HP",
"model": "DeskJet 2676",
}

But sensor shows as closed. No more information.
Screenshot 2021-04-17 at 6 12 40 PM

Same thing in Apple HomeApp.

Is it expected behaviour?

@Metatropics
Copy link

Having same issue. Printer comms OK but switch is off.

@smonsi
Copy link

smonsi commented Nov 17, 2022

Hallo,
i have the same issue.
Printer communication is OK in homebridge Log, but contact-sensor does not change to 'Open' State while printing. Any Ideas?

@smonsi
Copy link

smonsi commented Dec 6, 2022

Hallo, i have the same issue. Printer communication is OK in homebridge Log, but contact-sensor does not change to 'Open' State while printing. Any Ideas?

The reason for my problem was the state of the printer queue. If the printer is switched off via a smartplug, the printer queue is disabled. I had to re-enable the printer queue (cupsenable) after switched off.
Now everything works as desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants