Code Monkey home page Code Monkey logo

Comments (16)

elad-bar avatar elad-bar commented on August 20, 2024

More context please
Did it work before? What version are you using (HA / Integration)? What is the device model? Does it support EWS?

Thanks

from ha-hpprinter.

StefanoGiu avatar StefanoGiu commented on August 20, 2024

It was working before I upgraded to the latest version. I have HA 2024.4.0 and HP integration v2.0.0b5 installed via HACS. My printer is HP Smart Tank 640. Before I had no error in the logs... now logs are flooded by this error.

from ha-hpprinter.

elad-bar avatar elad-bar commented on August 20, 2024

I think that you printer is not accesible with that url and might use https and port 443 and http 80,
Can you pls check it?

from ha-hpprinter.

StefanoGiu avatar StefanoGiu commented on August 20, 2024

How can I check? I was using the same configuration and the same printer before the upgrade of your custom component....

from ha-hpprinter.

elad-bar avatar elad-bar commented on August 20, 2024

From the log above:
http://XX.XX.XX.XX:80/DevMgmt/ProductConfigDyn.xml

Thanks

from ha-hpprinter.

elad-bar avatar elad-bar commented on August 20, 2024

The best option is to remove integration and re-add,
If you would like to investigate why it is not working I will need that information if it is related to url or just something different

from ha-hpprinter.

StefanoGiu avatar StefanoGiu commented on August 20, 2024

This link is working properly on port 80:
http://XX.XX.XX.XX/DevMgmt/ProductConfigDyn.xml

I don't want the log to be flooded when the printer is off (turned off), like it was before the upgrade.

from ha-hpprinter.

elad-bar avatar elad-bar commented on August 20, 2024

i will release new version during the weekend with fully working diagnostic component so you will be able to export the data from the integration and it will be easier to understand the issue over there

from ha-hpprinter.

StefanoGiu avatar StefanoGiu commented on August 20, 2024

Is it possible that this error is fired when the printer is turned off?

from ha-hpprinter.

elad-bar avatar elad-bar commented on August 20, 2024

if the printer is off and the integration will try to call it, most likely you will get this error (for now).

i have changed the process so at the first load of the integration, one of the endpoints of data must return Ok (200) result with data,
if afterward it all of them will return 404, it will log it as DEBUG message, will reset the counters but you will not see an issue,
i will release new version soon with that fix

from ha-hpprinter.

elad-bar avatar elad-bar commented on August 20, 2024

released v2.0.0b6 with a fix for the issue, can you please check and report back?

thanks

from ha-hpprinter.

StefanoGiu avatar StefanoGiu commented on August 20, 2024

Thanks. Would you mind to remove the error also at the startup of HA if the printer is off ?

from ha-hpprinter.

elad-bar avatar elad-bar commented on August 20, 2024

Thanks for the update
If the printer is off, it means there is an issue, like with any other integration if the service it calls is down, in that case it will show the error

from ha-hpprinter.

StefanoGiu avatar StefanoGiu commented on August 20, 2024

No the printer is off because I switch it off and there is no problem...

from ha-hpprinter.

elad-bar avatar elad-bar commented on August 20, 2024

For the integration that is not aware of it, it is an issue... it tried to update and failed, none of the endpoints were accessible, it is an issue,
If you have bluetooth device and remove it without disabling the component, how will HA react to it?

I can suggest that either you can disable the integration or add filter in logs, since the integration doesn't know what is the reason, it cannot avoid it

from ha-hpprinter.

elad-bar avatar elad-bar commented on August 20, 2024

closing as original reported item solved and additional need is nto going to be addressed as mentioned above

from ha-hpprinter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.