elad-bar / ha-hpprinter

HP Printer Integration
88 stars 23 forks source link

Printer not reporting state (b2) #111

Open ncodee opened 1 month ago

ncodee commented 1 month ago

Just upgraded to the latest v2.0.0b2, however now I cannot see the printer status and ink levels. The only sensors avaiable under HP Printer is the following sensors:

- Cloud_services_switch_status
- Manufacture_at
- Registration_state

Everything worked fine in the previous stable builds. Please could have a look into this, thanks.

Printer: ENVY 4520 All-in-One
HA: 2024.4.4
HA-HPrinter:  v2.0.0b2
ncodee commented 1 month ago

I think there is an error in the release tags, as it shows b2 being the latest version instead of beta 4.

Now manually upgraded to b4 and it seems to have reappeared, but it shows as another device entry labled as None connectivity instead of being under HP Printer.

See here:

Screenshot 2024-04-27 at 11 51 51 Screenshot 2024-04-27 at 11 52 03

The other sensors under HP Printer, HP Printer Copy, HP Printer Printer, HP Printer Scanner are now reporting as unavailable, only Non Connectivity is working.

jlrosssc commented 4 weeks ago

I'm seeing the same thing after an integration update last night. Is there a way of downgrading the integration?

ncodee commented 4 weeks ago

Beta 5 has broken everything, and is now reporting every state as unavailable again. Everything was working fine in beta 4, just the bug mentioned above.

@jlrosssc Reinstall the integration via hacs again, and select a stable build. I may follow suite, as it's too unstable for me as well.

EDelsman commented 3 weeks ago

I just installed this integration on a HP Color LaserJet MFP M283fdw and I see all kinds of page counts and toner status entities, but I seem to lack a printer status showing what the printer is doing (idle, printing, error, ...). Is this a bug, or isn't it provided? Using v2.0.0b5

elad-bar commented 3 weeks ago

@ncodee please describe the issue once again with what you have expirenced with v2.0.0b5, in general, v2 is total different version, that's the reason for having beta first which is less stable, v2 device & entities structure changed 100%, ink levels are part of the device of the ink itself, please go to the intergation page, see what devices are available over there and within it you can navigate to the different entities, pls take a look of how it looks in my device.

if it doesn't work like that for you, please attach screenshot and diagnostic file.

I have released [v2.0.0b6](), it fixes to issues that might prevent loading some of the entities for different printers, might assist as well.

last comment, since it's big change and to avoid ghost entities which are not longer available, i suggest to remove the integration from HA devices & services and re-add it.

elad-bar commented 2 weeks ago

fixed in v2.0.0b9, pls check and update

thanks