Skip to content

Add PickByLight Feature #948

@TobiKiener

Description

@TobiKiener

Hi,
I would love to have a pick by light feature which helps finding parts in their corresponding storage location.

I've added a link next to the bulb symbol which shows the storage location in part db.
Image

The link is based on a ENV variable to define the API Endpoint. In my case a ESP32 with a RGBIC LED Strip.
# PartDB Pickbylight server adress
- PICKBYLIGHT_ENDPOINT=http://10.11.12.13:8912/partdb

Within partdb the id of the storage location is added as a parameter:
https://10.11.12.13:8912/partdb?storagelocation=1

The ESP is waiting for the HTTP GET request containing a storage location id.
The firmware running on the ESP includes a mapping table Storage Locaton ID -> LED Nr.
When a HTTP GET request with a valid storage location is received, the corresponding LED lights up.

Image Image Source

This system/solution works for me, but this is definitely no fancy solution.
The callback should be done somewhere in the background (don't know if client or server side to be prefered). Currently you end up on the HTTP GET page in your browser.

Maybe you have some tips where such a solution (probably some kind of POST request) should be located in partdb.

Kind regards
Tobi

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions