elad-bar / ha-hpprinter

HP Printer Integration
94 stars 26 forks source link

Cannot add HP LaserJet Pro M148dw #90

Open mdot9 opened 1 year ago

mdot9 commented 1 year ago

Hi,

I can reach the XML file on the printer by going to http://{IP}/DevMgmt/ProductStatusDyn.xml

But not http://{IP}//DevMgmt/ProductStatusDyn.xml
Difference is the double back-slash between the IP and DevMgmt

The automatic configuration therefore fails when I try it with the correct IP. Is the double backslash intentional?

denniskarlsson commented 1 year ago

I have the same problem.

Jimbob-B commented 1 year ago

Not sure if this will help you but I just turned off HTTPS enforcement on my Laserjet M254dw and this plugin now seems to work for me. The setting in the web interface is show below, Screenshot 2023-07-12 at 21 35 31

Hopefully this may help ...

denniskarlsson commented 1 year ago

Thank you, but I have that setting already disabled.

elad-bar commented 1 year ago

If you can't access one of the pages the component will not work, I'm working on a vetsion that will be more flexible but it will take time

denniskarlsson commented 1 year ago

If you can't access one of the pages the component will not work, I'm working on a vetsion that will be more flexible but it will take time

I can access the page if the URL is correct (with one slash instead of two). I guess ha-hpprinter asks for the wrong URL.

locorotondo-gitter commented 8 months ago

Disabling https enforcement as suggested by @Jimbob-B made the integration work fine with my LaserJet Pro M255dw. With the option enabled the integration fails.

elad-bar commented 3 months ago

is it still relevant with v2?

thanks