Implement interface with Bosche Zippcube devicesfor packaging measurement
Project description
Different manufacturers produce devices which are able to measure and weigh packages and parcels. Each brand has a different communication protocol. This module provides an framework to interface such devices with Odoo.
This module provides support for Bosche Zippcube devices.
Table of contents
Installation
To secure the communication, we use a pre-shared secret. Generate it with a tool able to generate a random string, such as uuidgen. Run Odoo with an environment variable called ZIPPCUBE_SECRET set to the value of the secret.
After you have configured the measuring device in Odoo, you need to configure the device itself.
Edit the language file on the computer attached to the device, and set the following parameters (the secret value must be the one generated earlier):
REST_Body={"barcode":"%%VAR_NUMBER%%", "weight":"%%VAR_SCALE_WEIGHT%%", "length":"%%VAR_LENGTH", "width":"%%VAR_WIDTH%%", "height":"%%VAR_HEIGHT%%", "secret": "<insert secret here>"} REST_BaseURL=http://<odoo_host_url>/stock/zippcube/<device_name>/measurement REST_ContentType=application/json REST_AcceptEncoding=gzip, deflate
For local testing you can use the script in scripts/measurement.sh
Configuration
Create a measuring device with a type set to “zippcube”.
Usage
Use the “Wizard” button on a Measuring Device to open the screen and take measurements.
After the measurement has been made, you need to click on the Refresh button.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Patrick Tombez <patrick.tombez@camptocamp.com>
Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
Carlos Serra Toro <carlos.serra@camptocamp.com>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainer:
This module is part of the OCA/stock-logistics-warehouse project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo13_addon_stock_measuring_device_zippcube-13.0.1.1.0-py3-none-any.whl
.
File metadata
- Download URL: odoo13_addon_stock_measuring_device_zippcube-13.0.1.1.0-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81f942fc11b62329c8e745b8461340c25c030c8e526cdfdd8c70c2b697f85b62 |
|
MD5 | 2693ecea1e6364bfb1f584d83b5d5450 |
|
BLAKE2b-256 | 23607ff6fd1f6f0a3a000df853450aea3c153b91a53d38f9d5057b32a754690c |