From 890b7df0ebb73e137b7272ef1088135d23c33319 Mon Sep 17 00:00:00 2001 From: robert Date: Sun, 24 Jan 2021 23:28:22 +0100 Subject: [PATCH] fix typo --- mqtt_publish_temp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqtt_publish_temp.py b/mqtt_publish_temp.py index fbb7683..9e59b02 100644 --- a/mqtt_publish_temp.py +++ b/mqtt_publish_temp.py @@ -36,7 +36,7 @@ client = paho.Client(protocol=paho.MQTTv31) # * set a random string (max 23 cha # Command topic temperature_topic = 'weathersensors/' + client_id + '/temperature' humidity_topic = 'weathersensors/' + client_id + '/humidity' -time_topic = 'weathersensors/' + client_id + 'time' +time_topic = 'weathersensors/' + client_id + '/time' #client connection #client.username_pw_set(mqtt_username, mqtt_password) # MQTT server credentials