From 7fcd21e83b2d08e6e88a63a208f3dc449fb148a2 Mon Sep 17 00:00:00 2001 From: Matthias Bodenbenner <m.bodenbenner@wzl-mq.rwth-aachen.de> Date: Tue, 5 Apr 2022 15:58:50 +0200 Subject: [PATCH] fixed requirements.txt (hopefully) --- README.md | 4 ++++ requirements.txt | 1 + 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index b8160b9..cc2700f 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ pip install --extra-index-url https://package-read:gkYP4xrm2PxicUbW1wra@git-ce.r ### Publish messages ```python +from wzl import mqtt + # username and password required to connect to the broker MQTT_USER = "" MQTT_PASSWORD = "" @@ -42,6 +44,8 @@ client.publish(MQTT_USER + "/channel-001", message.encode("utf-8")) ### Subscribe to topics and receive messages ```python +from wzl import mqtt + # username and password required to connect to the broker MQTT_USER = "" MQTT_PASSWORD = "" diff --git a/requirements.txt b/requirements.txt index 62edbca..eb5e41d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +jinja2<=3.1python sphinx==3.5.3 sphinx-rtd-theme==0.5.1 paho-mqtt==1.5.1 \ No newline at end of file -- GitLab