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 LaserJet Pro 400 M401dne #17

Closed
ghost opened this issue Feb 16, 2020 · 9 comments
Closed

Hp LaserJet Pro 400 M401dne #17

ghost opened this issue Feb 16, 2020 · 9 comments

Comments

@ghost
Copy link

ghost commented Feb 16, 2020

Hi
Good integration, but i have a pinter HP LaserJet 400 M401dne. He found me it ok but show only correct status and printed pages. No show me status of toner… Look on screen. Show NA NA and 0% but actual state toner is 50%.
What i must share you to add support full my printer with your integration?
hp400
state

My XML
https://drive.google.com/file/d/1dvWLcHa8zZCkaKPogophH_r82Sui1eeS/view?usp=sharing

@ghost
Copy link
Author

ghost commented Feb 18, 2020

Any help for me please...

@elad-bar
Copy link
Owner

Please provide all files created by running the following service:
Services:
hpprinter.save_debug_data
Stores the XML and JSON of each request and final JSON to files, Path in CONFIG_PATH/*

thanks

@ghost
Copy link
Author

ghost commented Feb 19, 2020

But where run this service? On home assistant.?

@elad-bar
Copy link
Owner

Yes

@ghost
Copy link
Author

ghost commented Feb 20, 2020

@ghost
Copy link
Author

ghost commented Feb 20, 2020

ok i update integration. Now show state TONER black but also found one entity with NA NA.
Look.
1

2

@aidbish
Copy link

aidbish commented Feb 20, 2020

i have the same printer and have the same issue regarding the unknon sensor. but have also noticed the following being generated all the time in the log

2020-02-20 12:32:16 ERROR (MainThread) [custom_components.hpprinter.HPDeviceData] Failed to set printer consumable usage data (HP Printer @10.0.0.21), Error: 'str' object has no attribute 'get', Line: 196

@ghost
Copy link
Author

ghost commented Feb 21, 2020

Thanks. Now works ok :)

@ghost
Copy link
Author

ghost commented Feb 21, 2020

I found one bug for me . It show in integration HP Printer Printer and as entity also show HP Printer Printer but it is entity which show value printed pages and shoud name HP Printer Pages.
Look
1

2

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

2 participants