Forceu / barcodebuddy

Barcode system for Grocy
GNU Affero General Public License v3.0
433 stars 58 forks source link

Invalid api keys #237

Closed pmkruyen closed 7 months ago

pmkruyen commented 7 months ago

πŸ‘‹ thanks for this great tool.

I installed Grocy as HA addon and made the API keys for Barcode Scanner.

Unfortunately, I getting the error invalid API key, like #154. Has this problem being resolved or do I need to use my ip address instead of my url http://homeassistant.local?

Or am I making a mistake?

Let me know if more info is needed or if I should ask this question on Reddit.

Thanks

edit: obviously I can try this tomorrow too, it’s a little to late 😊

pmkruyen commented 7 months ago

Solved! I was using the addon url in HA instead of the url in the browser.

carbon66 commented 7 months ago

Solved! I was using the addon url in HA instead of the url in the browser.

@pmkruyen Are you able to clarify what address you ended up using? I have the same issue, but I can't find any address to work. Thanks!

pmkruyen commented 7 months ago

After installing the Grocy Addon in HA, the ui becomes available through Ingress; I used that url for the API keys first. But that gave an error. Browsing to the url http://192.163.4.888:9192 on which my Grocy add on is served too, solved the issue.

Hope that this solved your issue too.