simg / Royal Mail Dymo USB Scale Connector

Published:

Version: 1+0595ddd updated

License: MIT

Royal Mail Dymo USB Scale Connector

This script dynamically connects a Dymo USB scale to the package weight field on the Royal Mail https://business.parcel.royalmail.com/orders/ data entry page.

When you weigh something on the scales the package weight field is automatically updated.

Installation

  1. Install this script into Tampermonkey. (Note: the script only works in Chrome 76+ as it requires the WebHID API which only Chrome currently supports)

  2. Enable Chrome Experimental Features. Go to chrome://flags, find "Experimental Extension APIs", click its "Enable" link, and restart Chrome.

  3. Plug in the Dymo USB Scale. Make sure the Dymo is configured to weigh in grams.

Usage

  1. Go to the https://business.parcel.royalmail.com/orders/ page

  2. Select an order.

  3. You should notice a red box with a "D" in it next to the Weight field. Click the box.

  4. Select the Dymo device when prompted by the browser.

  5. The red box should turn green and if you place anything on the scale, it's weight should automatically appear in the weight field.

  6. For each order you will have to click on the red box to re-connect to the scale. Whilst this is a bit inconvenient, it is a browser security feature that is intended to prevent malicious scripts from taking control of your devices. On second and subsequent connections you will be connected automatically so it isn't that bad).

  7. Some Dymo models, notably the Dymo M10 which I use has an annoying feature that it turns itself off after 3 minutes of inactivity. There is apparently nothing that can be done about this without resorting to a soldering iron. When you turn the scales back on, you'll be prompted by the browser to re-select your Dymo device.

Rating: 0