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
Metadata
Release files for wmbc 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wmbc-1.0.5.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wmbc-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.5 kB
Release files / wmbc-1.0.5.tar.gz
| Download URL | wmbc-1.0.5.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79628a591f21e0b68cbff08cf0e65edab63553b8902a9088c4c8e9aaee612ac6
|
|
BLAKE2b-256 checksum How to use checksums |
eea6ff2121b4418bf4dd666aaf88caaca9d2903d18a9fdd55e86b9c125b382ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / wmbc-1.0.5-py3-none-any.whl
| Download URL | wmbc-1.0.5-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8e98e783fec043fe91fc0a4610237a35611aef61be2403129fd0a5fb021d852
|
|
BLAKE2b-256 checksum How to use checksums |
f9d095245d1119b2103a82a15a33b3b49ac73c51a2dc982878512b7e7c9ce785
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|