Odoo Community Association

Remote Measure Devices Input

Beta License: AGPL-3 OCA/stock-weighing Translate me on Weblate Try me on Runboat

This module allows to input data from remote devices in your network. Currently, only websockets devices are supported, but it can be extended for any protocol like Webservices.

Other modules can extend this one in order to use the widget.

Table of contents

Configuration

To configure your remote devices:

  1. Go to Settings > Technical > Devices > Remote devices
  2. Create a new one configuring the required info.
  3. If the devices has an special port, set it up in the host data: e.g.: 10.1.1.2:3210

If you want to see the button in the top bar to set the user’s remote device, you need to have the “Show remote device button on navbar” group.

Usage

The remote device has to be in the users network so their web clients can reach them.

In order to test a device you can:

  1. Go to Settings > Technical > Devices > Remote devices
  2. In the Kanban view you’ll wich devices can be reached as they’ll have a green dot in their card.
  3. Go to one of those and click Edit.
  4. You can start measuring from the remote device in the Test measure field.

On the technical side, you can use the widget in your own Float`. You’ll need to provide an uom field so records that aren’t in that UoM don’t measure from the device.

<field name="float_field" widget="remote_measure" options="{'remote_device_field': 'measure_device_id', 'uom_field': 'uom_id'}" />

The users are able to change their default remote device by using the button with the balance icon set on the navbar.

Known issues / Roadmap

Current support:

  • Websockets connection
  • F501 protocol on continuous message stream.

But this is a commonground to add:

  • Other connection interfaces like Webservices APIs
  • Other device protocols.
  • Active device controls, la Tare, resets, etc.

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 to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

  • Tecnativa:
    • David Vidal
    • Sergio Teruel
    • Carlos Roca

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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:

chienandalu

This module is part of the OCA/stock-weighing project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.