POS Web Serial Scale - USB Scale, Serial Scale, POS Weighing Scale without IoT Box
by Modvanta https://modvantaapps.tech/odoo-apps/pos-webserial-scale/
Odoo
$ 19.94
In-App Purchases
POS Web Serial Scale for Odoo 19: weigh products at the till with a USB or RS232 scale read straight by the browser - no IoT Box, no driver, no local service.
Web Serial | USB Scale | Serial Scale | Live Weight | Stable Weight | Add When Stable | Toledo 8217 | MT-SICS | A&D | Custom Pattern | Typed Weight | Min / Max Weight
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
In Odoo 19 Community the point of sale reads a scale only through an IoT Box. This module lets the POS browser tab open the serial port of the scale itself (Web Serial API, Chrome, Edge or Opera on a computer). The weight appears in the normal Odoo scale window and the price follows it.
| No IoT Box: plug the scale into the POS computer (USB or RS232 with a USB adapter), click Connect scale once and choose it. Later sessions reconnect by themselves. | |
| Live weight in the Odoo scale window: gross, tare, net and price, refreshed several times per second; the navbar button shows the current weight. | |
| Stable weight only: Moving, Overload and Under zero are shown, and Order stays disabled until the scale reports a stable reading that stayed the same for N readings. Zero cannot be ordered. | |
| Add When Stable: optionally the product is added by itself as soon as the weight is stable. | |
| Scale profiles: protocol, baud rate 1200 to 115200, 7 or 8 data bits, parity, stop bits, RTS/CTS flow control, request command, line end, unit and stability rule. One profile can serve many registers. | |
| Five protocols: Toledo 8217 (W), MT-SICS (SI), A&D standard format (Q), continuous text output and your own regular expression. | |
| Units: readings in kg, g, lb or oz are converted to the unit of the product. | |
| Tare: kept in the till, or sent to the scale (MT-SICS and A&D T command). | |
| Typed weight when no scale is connected: per point of sale. A live reading always wins over a typed one. | |
| Min / max weight per product: a typed weight outside the range needs a "Use anyway" confirmation, and the server checks it again: a typed weight that is not allowed, or out of range and not confirmed, is refused. | |
| Weighed Sales report: every weighed line with its source (read from the scale or typed by the cashier), out-of-range flag and cashier. |
Supported scale protocols
Built from the public protocol documents of each family. Any scale that sends its weight as text over a serial or USB-serial port can be read with the continuous or custom profile.
| Protocol | Request | Answer read by the till | Shipped profile |
| Toledo 8217 (Mettler Toledo weight-only) | W | STX weight CR; status byte for motion, over capacity, under zero | 9600 baud, 7 bits, even parity |
| MT-SICS (Mettler Toledo command set) | SI CR LF | S S weight unit (stable), S D (moving), S + / S - (over / under), T tare, Z zero | 9600 baud, 8 bits, no parity |
| A&D standard format | Q CR LF (or stream) | ST / US / OL header, weight, unit; T tare, R re-zero | 2400 baud, 7 bits, even parity |
| Continuous text output | none (the scale streams) | any line with a number and an optional unit; US = moving, OL = overload | 9600 baud, 8 bits, no parity |
| Custom pattern | any command you type | regular expression with the groups weight, unit, unstable | your settings |
Who it is for
Grocery, deli, butcher Fruit, cheese, meat and bulk food sold by weight at a counter, without buying an IoT Box for every register. | Bakeries and bulk stores Weighed cookies, nuts or coffee; typed weight with limits when the scale is away. | Odoo Community shops The scale screen of Odoo 19 Community, fed by the browser instead of the IoT Box. |
Screens
The Odoo scale window with the weight read from the scale: Stable, price follows the weight, expected range of the product

The scale is still moving: Order stays disabled

Each weighing is its own order line; the navbar button shows the live weight

No scale connected: the cashier can type the weight (setting per point of sale)

A typed weight outside the min / max weight of the product needs a confirmation

Point of Sale settings: Scale in the Browser, profile, typed weight, Add When Stable

Scale profiles: protocol and port settings, shared by several points of sale

A profile: protocol, request command, read interval, line end, unit, serial port, stable weight rule

Min and max weight on a product sold by weight

Weighed Sales: which weights came from the scale and which were typed, with the out-of-range flag

How it works
1 | Install and pick a profile Point of Sale > Configuration > Settings > Connected Devices: turn on Scale in the Browser and choose a scale profile (or make one under Configuration > Scale Profiles). |
2 | Mark products Tick To Weigh With Scale on the products, sell them in kg, g, lb or oz, and set a min / max weight if you want typed weights checked. |
3 | Connect the scale Open the register over HTTPS in Chrome, Edge or Opera, click Connect scale and choose the port. The browser remembers it for the next sessions. |
4 | Weigh and sell Click a weighed product: the weight comes in live; Order (or Add When Stable) puts it on the order. |
Settings
| Setting | What it does |
| Scale in the Browser | Read the scale through the browser on this point of sale; no IoT Box setting is switched on |
| Scale profile | Which protocol and port settings this register uses |
| Allow typed weight | Show a weight field when no scale is connected; refused by the server when off |
| Add When Stable | Add the product without clicking Order once the weight is stable |
| Profile: baud rate, data bits, parity, stop bits, flow control | The port settings from the scale manual |
| Profile: request command, read every (ms), line end, unit | How the till asks for and reads the weight |
| Profile: equal readings for stable, tolerance | When a weight counts as stable |
| Profile: tare on the scale | Send the tare command to the scale (MT-SICS, A&D) |
| Product: min weight, max weight | Range for typed weights |
FAQ
Which browsers work?
Chrome, Edge and Opera on a desktop computer: they implement the Web Serial API. Safari and Firefox do not. The browser allows serial ports only on HTTPS pages (or localhost).
Which scales work?
Scales that send their weight as text over RS232 or a USB-serial port, using one of the protocols above or a format a regular expression can read. Scales that only speak a binary protocol, or USB HID scales, are not supported.
Do I still need the IoT Box?
No, not for the scale. The module does not create IoT records and does not switch on the IoT Box setting.
Can two tabs use the same scale?
No: a serial port can be open in one tab at a time. Close the other tab and click the scale button again.
What happens if the scale is unplugged?
The till shows Scale not connected; if typed weight is allowed the cashier can type it, otherwise Order stays disabled. Plugging it back reconnects without a click.
How were the screenshots taken?
On our Odoo 19 test system with a scale simulator in the browser that sends the same text frames as a real scale. Every protocol is covered by automated point of sale tests.
Compatibility
| Odoo 19 Community and Enterprise | |
| Depends on Point of Sale only | |
| Chrome, Edge or Opera on a computer, Odoo over HTTPS |
Support
| Questions, help with a scale model: modvantaapps@gmail.com |
Weigh at the till without an IoT Box
Your scale, your browser, the Odoo scale window.
Buy Now - $20Hire Us for Odoo Work| EMAIL modvantaapps@gmail.com | AUTHOR Modvanta | INCLUDED Module, support by email |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
| Lines of code | 1282 |
| Technical Name |
mdv_pos_webserial_scale |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/pos-webserial-scale/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module