From fe789d96d1a22e02215f8d2d1f638f9573662d3b Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Mon, 12 Sep 2022 13:12:51 +0100 Subject: [PATCH] Usage of mqtt app_name for client instance --- ambient_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ambient_info.py b/ambient_info.py index f6a6d5e..3b19a5d 100644 --- a/ambient_info.py +++ b/ambient_info.py @@ -16,7 +16,7 @@ logger = logging.getLogger(ROOT_LOGGER_NAME).getChild('main') def send_data_to_mqtt(data): - client= paho.Client("temp_sens") + client= paho.Client(config.APP_NAME) client.username_pw_set(config.MQTT_USER, config.MQTT_PASS) try: client.connect(config.MQTT_SERVER, 1883)