Skip to main content

Wireless Modbus Bridge Controller

Project description

Wireless Modbus Bridge Controller

Wireless Modbus Bridge Controller is a reference software of how to use and manage Wireless Modbus Bridge device. It provides a dedicated WMBController interface which can be used in standalone application to manually send out configuration and Modbus data to the device or it can be integrated into a 3rd party software.

Usage on live system

WMBC needs Wirepas sinkService running in the background.

System prequisities:

apt install pkg-config libcairo2-dev libgirepository1.0-dev

For Debian 12 and lower versions pre-install:

pip install pygobject==3.50

Install WMBC via pip:

pip install wmbc

Example commands to use it in a manual standalone workflow:

  • Getting diagnostic data from a device: python -m wmbc --cmd diag --dst-addr <addr>
  • Reseting a device: python -m wmbc --cmd reset --dst-addr <addr>
  • Switching between internal/external antenna: python -m wmbc --cmd ant_cfg --dst-addr <addr> --ant-cfg <0/1>
  • Modbus Port configuration python -m wmbc --cmd port_cfg --dst-addr <addr> --port-cfg <baud> <parity> <stop bits> --target-port <port id>

For more details please check: python -m wmbc --help For integration examples please check examples directory in this repository.

For more details about your commercial deployment please reach out: support.cthings.co

Usage with pre-deployed Wirepas composition

Build docker image:

cd docker/image && docker build -t wmbc-runner .

Run an example WMBC composition:

cd docker/examples/wmbc && docker compose up

FOTA (Note: you need a binary provided by CTHINGS.CO):

cd docker/examples/fota && docker compose up

Project details


Download files

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

Source Distribution

wmbc-1.0.3.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

wmbc-1.0.3-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file wmbc-1.0.3.tar.gz.

File metadata

  • Download URL: wmbc-1.0.3.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for wmbc-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f5d31b23f18b829bcc71de1bf7dea62a6af5c63395d2f1b0ddc45c34ca5c8253
MD5 a23f67a67720d9d43b908a95d0b6dd49
BLAKE2b-256 0e3265770cd7f68267f74dc31e046eab93ebdec1cf81930c0cacc7ea0256e3c3

See more details on using hashes here.

File details

Details for the file wmbc-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: wmbc-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for wmbc-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3576be98669b1f38b8fb4be77d23b7e026524296e9d1ba7840642df7aab877fb
MD5 7c8f0c2854df9a122f98cd748a06ccf4
BLAKE2b-256 c34ae3dde5812ddd78c860a6df89fb13beafc9565d18336412e764be8036a6bb

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