IoT Integration
Integrate IoT devices with work orders for production automation
The MRP Workorder IoT module integrates IoT devices (Internet of Things) with work orders, enabling automated actions triggered by physical devices like keyboards, barcode scanners, and printers during production operations.
Key Features
Key points
• IoT Triggers for Workcenters: Configure keyboard shortcuts and IoT device triggers
• Quality Check Integration: Automatically configure IoT boxes for quality checks
• Automated Actions: Trigger automatic actions from physical devices
• Print Automation: Print quality check reports directly to IoT printers
• Hands-Free Operation: Operate without touching screens
IoT Triggers for Workcenters
Configure keyboard shortcuts and IoT device triggers to automate common work order actions.
Key points
• Take Picture: Capture images during quality checks
• Navigation: Skip, Previous, Next steps
• Workflow Control: Pause, Validate, Finish operations
• Production Actions: Record Production, Close MO/WO
• Printing: Print operations, delivery slips, labels
• Quality: Scrap, Pack operations
Setting Up IoT Triggers
Steps
1. Go to Manufacturing → Configuration → Work Centers.
2. Select a work center to configure.
3. Go to the IoT Triggers tab.
4. Click Add a line to create a new trigger.
5. Select Device (IoT keyboard device).
6. Specify Key (keyboard key or shortcut).
7. Choose Action (action to trigger, e.g., Next, Validate, Print).
8. Set Sequence (order of triggers).
Using IoT Devices in Work Orders
Steps
1. When a work order is started at a configured workcenter, IoT triggers become active.
2. Press the configured keys on the IoT keyboard to execute actions.
3. The system automatically processes the action without manual clicking.
Quality Checks with IoT
Steps
1. Configure quality points with IoT printer devices.
2. During quality checks, the system automatically detects available IoT boxes.
3. Print actions route to the configured IoT printer device.
4. Quality check results can be captured using IoT cameras or measurement devices.
Configuration Requirements
To use IoT integration, ensure the following conditions are met.
Key points
• mrp_workorder module installed
• quality_iot module installed
• IoT boxes configured and connected to your network
• IoT devices (keyboards, printers) registered in the system
Device Setup
Steps
1. Ensure IoT boxes are online and accessible.
2. Register keyboard devices with type = "keyboard".
3. Configure printer devices for quality point printing.
4. Test device connectivity before assigning to workcenters.
Common Use Cases
Key points
• Hands-Free Operation: Configure keyboard shortcuts for operators wearing gloves or working in environments where touchscreen interaction is difficult.
• Speed Up Production: Reduce time spent navigating UI by using quick keyboard shortcuts for common actions like validating steps or recording production.
• Automated Quality Control: Integrate measurement devices and cameras to automatically capture quality data during work order execution.
• Print Automation: Automatically print labels, delivery slips, or operation sheets when specific work order steps are completed.
Troubleshooting
Common Issues
| Issue | Solution |
|---|---|
| Triggers not working | Verify IoT box is online and connected, check device is registered with correct type (keyboard), ensure workcenter has triggers configured, confirm work order is active at the workcenter |
| Print actions failing | Verify printer device is configured in quality point, check IoT box connection to printer, ensure printer is powered on and has paper/labels |
| Device not detected | Refresh IoT box connection, re-register the device if necessary, check network connectivity between Odoo server and IoT box |
Best Practices
Key points
• Standardize Keys: Use consistent keyboard shortcuts across workcenters for the same actions.
• Test First: Test all triggers in a non-production environment before deploying.
• Document Shortcuts: Provide operators with a reference card of available shortcuts.
• Regular Maintenance: Periodically check IoT device connectivity and battery levels.
• Sequence Matters: Order triggers logically to match operator workflow.