Skip to main content

Allows to connect to remote devices to record measures

Project description

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.

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-17.0.1.0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_web_widget_remote_measure-17.0.1.0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79aa7dfe92597c10f8a412b73f34ae041311dfdc65ba3fec7e7fe8c1fc2a49ac
MD5 d5c4d7085bee964c886c4e77cae88ffd
BLAKE2b-256 3fd9e328803cab501580420df59d54704a8fb15fe8f9461a384a5579d1b0b21a

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