barcodebuddy-homeassistant icon indicating copy to clipboard operation
barcodebuddy-homeassistant copied to clipboard

feat: use ingress feature

Open CFenner opened this issue 3 years ago • 4 comments

Uses the ingress feature so Barcode Buddy can be controlled from remote.

Bildschirmfoto 2022-04-29 um 07 53 50 Bildschirmfoto 2022-04-29 um 07 56 34

CFenner avatar Apr 29 '22 05:04 CFenner

Unfortunately, it fails after creating a user:

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (login.php, line 0)

Maybe this is an issue?

https://github.com/Forceu/barcodebuddy/blob/347343ee54817650168944e40d6dc8ded41c39e9/incl/configProcessing.inc.php#L197-L206

CFenner avatar Apr 29 '22 07:04 CFenner

@CFenner Given that the HASS Ingress documentation states "Ingress allows users to access the add-on web interface via the Home Assistant UI. Authentication is handled by Home Assistant, so neither the user nor the add-on developer will need to care about the security or port forwarding." perhaps the solution is to use barcodebuddy without authentication? In a docker container, this can be done by passing the following environment variable: -e BBUDDY_DISABLE_AUTHENTICATION=true

house97 avatar Jan 02 '23 19:01 house97

Any progres on this topic?

Panoramiac avatar Mar 09 '23 12:03 Panoramiac

I currently did not find the time to setup Grocy and Barcode Buddy at all. So none from my side.

CFenner avatar Mar 09 '23 13:03 CFenner