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.

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

File metadata

File hashes

Hashes for odoo_addon_web_widget_remote_measure-18.0.1.0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b45c0700899c060122202c2347b0118f818312fa2349fa98cc857b110dc3a021
MD5 bd7a3a572593b853914cbd8287e9ed8d
BLAKE2b-256 2dab47210edb2e9c611faef9f5a322855e7ab9533f34a96c5df2e43d10ac11d3

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