Open Tim-G-Winters opened 2 months ago
Hi, I'm using the most recent version of HA, running HassOS. I got Barcode buddy to communicate with Grocy by using the local address that the machine hosting HA/HassOS runs at. So I set the Grocy API URL http://192.168.0.100:9192/api/
Now if I use SSL for Grocy and have it exposed to the web I did not find a way to avoid going through the web to access it as it won't accept http connections (which is fair) and I can't be arsed to figure out local certs now :P When I had exposed HA to the web through duckdns then I could reach it from barcode buddy by uisng https://MySubDomainName.duckdns.org:9192/api/
Note that you would have to forward ports on your router for this to work, so check the portforwarding.
I get an error. Unable to connect to API: Invalid API key.
Check that you are using the correct API key from Grocy? If you doubleclick the API key in Grocy and copy it, you should get it without any trailing spaces
Discussed in https://github.com/Forceu/barcodebuddy/discussions/223