Repository navigation
Open
Labels
enhancementThis is an suggested enhancement or new feature
Milestone
Description
This issue is a summary of possible ideas to improve the machine registry introduced with #4824.
π° Machine type improvements
- β send notification on error status change or machines capture errors
- machine permissions with custom permission levels per machine type (e.g. so that only specific roles/users can print labels with a specific printer - e.g. for label printers there are the following permission levels: "print")
- Define icons for each machine type and show them along the UI
π Driver improvements
- β machine status polling function on driver (with option to disable status polling for all printers/for an individual printer) Machine properties and periodic pingΒ #10381
- Termination hook for machines, (already tried at 6bb0ba7 but not that easy when run in gunicorn), then the machine restart could be a simple terminate + re init
- let driver auto discover physical machines in the network/computer and show them so that they can be added quickly (like homeassistant has it)
- machine actions (buttons on machine page that can trigger certain function on the driver)
π¨οΈ Label printer improvements
- βShow the printer status badge in the machine selection dropdown (maybe by extending the ChoiceField with an optional status code property)
- integrated label printing queue for each machine
- label printer dialog sort machines based on priorities provided as tuple with
get_printers(not sure if that makes sense or if last used is just enough, we have to see)
π° Ideas for other machine types
- PnP machine type ([FR] Add integration with OpenPnp / LumenPnPΒ #4164)
- 3d printer machine type (Virtual to ProductionΒ #5191)
π Other things
- β Settings only required if conditions are met (e.g. for a usb/network printer select the host, port, user, password only makes sense for network printers, for usb printer a single select is enough. => Dependent settings)
- Live Autocomplete Settings type key (Client posts current values to API and API responds with suggestion)
- add metadata to machine models
- How does scaling of the machine registry work if InvenTree runs on multiple nodes (maybe Kubernetes)
- Issue plugin events on machine load/finish load (ref: Machine integrationΒ #4824 (comment)) (Already tried, but: enqueues to much offloaded events that are unnecessary on simple setups on startup => the event system first needs a fix)
- Fix machine request pickeling and settingsΒ #6772
Metadata
Metadata
Assignees
Labels
enhancementThis is an suggested enhancement or new feature
Activity
martonmiklos commentedon Feb 15, 2024
Ideas for other machine types: we have automated cable cutter/stripper and manual (but stationary non hand tooled) crimping in our manufacturing.
What came into my mind when I saw about the machines integration is the resource planning/allocation.
It would be great if "machine time" could be added as a BoM item or assigned separately as "resources" to parts.
Resources could include not just machine time, but also labour even labour assigned to users/users groups.
This way the (in the far distant future) we could implement a somewhat automated production planning. But that is a slightly different topic which might needed to be discussed in a separate discussion.
loki42 commentedon Feb 16, 2024
I currently integrate my 2 PnP machines, conveyors and stencil printer with inventree using MQTT. Basically a program runs on the PnPs and sends info to inventree. The PnPs consume parts. Currently the way they create build orders / build units is a bit messy but I suspect I should transition over to this interface. I'd like to easily view status for the line and some stats would be handy too.
SchrodingersGat commentedon Feb 16, 2024
@loki42 sounds like a great candidate for a "machine" interface. Perhaps you could work with @wolflu05 to provide a demonstrator for this
matmair commentedon Mar 11, 2024
@loki42 would you be open to do a short call/chat to understand your requirements better?
loki42 commentedon Mar 12, 2024
loki42 commentedon Mar 29, 2024
I've added my current integration of the PNP with Inventree here: https://github.com/polyeffects/poly_erp it's also got my code for Inventree sales orders to Xero invoices and a few other things. The next plan is to add shipping stuff using Karrio.
github-actions commentedon May 28, 2024
This issue seems stale. Please react to show this is still important.
wolflu05 commentedon May 28, 2024
Still active
[-][EPIC] Machine registry[/-][+]Machine registry[/+]