-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print lables for location pages #510
Comments
It's sooooo nuts you asked this TWO days ago. Ive been trying to do this for over a year, tried googling for a solution again today, found the new repo, and found your comment :) Ive come perhaps halfway in finding a -bit- of a solution: ======================= First install jq. Then go to your swagger page (http://homeboxIP:7745/swagger/index.html) Then go to [Authentication] , Enter your details then go to "try it out" then edit your sign in details, then "Execute". This gets you your bearer token. Then try this: curl -s -H "Authorization: Bearer [PUT UR TOKEN HERE]" I get this then: 3b8e03b3-5b0b-4b2d-887f-b6f809976fe7 - Bedroom Now this string is basically the bit that goes after the http://[HOMEBOX IP ADDRESS]:7745/location/ EG: http://[HOMEBOX IP ADDRESS]:7745/location/08bce1db-c0bc-4b00-8ec2-67ec333e8702 This is as far as I have got, for now. I have 99 locations, so Im just goign to use a qr code generator or something with the URL. I know there must be a less grubby way and more elegant way of doing this, but I'm not a coder and don't really know what I'm doing, besides what's in the docs. |
May I ask, is there a way to even just be able to export all the location URLS in the reports or CSV or something? An easy way to do that from the instance would be amazing!! |
I personally wrote some code a few days ago to do something similar for individual items. It just spits out a custom QR code as a PNG with the name of the item next to it. It can probably be adapted for locations, but I have not tried. If people are interested I might share the program (just don't expect it to be flawless). That said from looking at the swagger there is no way to search for locations. You can either get a specific location or all locations. Which seems rather odd to me.
You are already most of the way there to making a CSV. A CSV is just a text file with the values comma separated, and one line per row. EG
|
What is the problem you are trying to solve with this feature?
Surely I'm not the only user looking to use this for organizing spaces like the garage, where frequently you have many bins/boxes of other things.
We can currently add nested locations to achieve this, but there is not currently an easy way to make labels for bins/boxes as locations. The automatically generated QR codes for the location pages is a great start, though.
What is the solution you are proposing?
A label generator for locations, allowing you to select locations from the user's list to generate for.
What alternatives have you considered?
An alternative would be a dropdown or other selection on the current asset generation page to change modes to location labels instead of asset labels.
Additional context
No response
Contributions
The text was updated successfully, but these errors were encountered: