Skip to main content

OpenMqttGateway BLE decoder

This is a really quick and REALLY DIRTY implementation of custom decoder for OpenMqttGateway, specifically for Xiaomi BLE devices with encrypted packets.

This was hacked together from a couple of different scripts found on github.

It expects OpenMqttGateway device to run my modified firmware.

Publishes decoded packets into home/mqttgateway_ble_decoder/{{MAC_WITHOUT_:}} topic.

Usage

Usage: openmqttgateway_ble_decoder [OPTIONS]

Options:
  --mqtt TEXT               MQTT server ip  [required]
  --mqtt-port INTEGER       MQTT server port
  --mqtt-keepalive INTEGER  MQTT connection keepalive param
  --mqtt-username TEXT      MQTT username
  --mqtt-password TEXT      MQTT password
  --device <TEXT TEXT>...   Macs and decryption keys  [required]
  --help                    Show this message and exit.

Metadata

Release files for openmqttgateway-ble-decoder 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openmqttgateway-ble-decoder 0.1.1
File Size Uploaded
openmqttgateway_ble_decoder-0.1.1.tar.gz 13.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openmqttgateway-ble-decoder 0.1.1
File Interpreter ABI Platform
openmqttgateway_ble_decoder-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.7 kB

Release files / openmqttgateway_ble_decoder-0.1.1.tar.gz

Download URL openmqttgateway_ble_decoder-0.1.1.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d65fde24109f712026289c78b7868108924ddfa2468b03ec214a8f7a51e3215f
BLAKE2b-256 checksum
How to use checksums
02642aa95bfdf51704b73be430353eab631703fc85625f8de1332a0689317414
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.12 Linux/5.15.90.1-microsoft-standard-WSL2

Release files / openmqttgateway_ble_decoder-0.1.1-py3-none-any.whl

Download URL openmqttgateway_ble_decoder-0.1.1-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f4b2ee997029721bac4bb6befeeb1af8905c3c11c41e892e0aed90cd234d5ed
BLAKE2b-256 checksum
How to use checksums
f8ccba0cbe5f6dcc1fea18ea841f309f1e8b019b8c1ca1810e8ab2f2aa6d678d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.12 Linux/5.15.90.1-microsoft-standard-WSL2

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page