Skip to main content

Allows to connect to remote devices to record measures

Project description

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.

If you need the field to always be selected, you can use the always_selected attribute in the view definition, as shown in the following example:

<field name="field_float" widget="remote_measure" always_selected="1"/>

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_web_widget_remote_measure-15.0.1.2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_web_widget_remote_measure-15.0.1.2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e080c67f1f35f6a42f3faccc40631e0484d724900e99da2d66c1a5b75872a54
MD5 ee9a0aa153e90e51a97a502def4ad95b
BLAKE2b-256 f13095fcf3439ff85574e4557630bfe2f81a329c2de93806f1dfb6ec20e134fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page