Skip to main content

Xiaomi Lumi Gateway MQTT integration

Project description

MQTT agent for Xiaomi Lumi gateway

The service allow controlling gateway LEDs. sound and illuminance sensor over MQTT

Default config should be located in /etc/lumimqtt.json or can be overridden with LUMIMQTT_CONFIG environment variable.

Example run command:

LUMIMQTT_CONFIG=./lumimqtt.json python3 lumimqtt.py

The configuration file is a JSON with the following content:

{
    "mqtt_host": "localhost",
    "mqtt_port": 1883,
    "mqtt_user": "",
    "mqtt_password": ""
}

Every line is optional. By default LumiMQTT will use the connection to localhost with the anonymous login.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

lumimqtt-1.0.2-py3-none-any.whl (18.3 kB view hashes)

Uploaded Python 3

lumimqtt-1.0.2-py2-none-any.whl (18.2 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page