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

Usage with MQTT

For MQTT examples go to wmb-controller-mqtt

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wmbc-1.0.5.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for wmbc-1.0.5.tar.gz
Algorithm Hash digest
SHA256 79628a591f21e0b68cbff08cf0e65edab63553b8902a9088c4c8e9aaee612ac6
MD5 46b5ff3ddb5d61b66c177b1941393841
BLAKE2b-256 eea6ff2121b4418bf4dd666aaf88caaca9d2903d18a9fdd55e86b9c125b382ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wmbc-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for wmbc-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e8e98e783fec043fe91fc0a4610237a35611aef61be2403129fd0a5fb021d852
MD5 e3941f71040302752cdbb1b020fba4fa
BLAKE2b-256 f9d095245d1119b2103a82a15a33b3b49ac73c51a2dc982878512b7e7c9ce785

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