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.4.tar.gz (13.8 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.4-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wmbc-1.0.4.tar.gz
Algorithm Hash digest
SHA256 d954bf9ea42a1e8cab55809d0bb75448ade4490081f18240cd59b38c3624d7b5
MD5 46d608f1bc3968e4e00596e0918b5901
BLAKE2b-256 182a92ce896fa7639d11341081c689b55bcde53173275d76929dad6881ca878e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wmbc-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c15841cf89f461abf4069ef7c66e57ba36b96ea0f90e14a3499a47f43e531dc2
MD5 35a7d94b10051a15b676165369c9ba71
BLAKE2b-256 5e5f29715941f03413baf8b9c5055987f2215f1b7bc643b50e20b5eed3ce971f

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