This commit is contained in:
robert 2021-01-24 23:28:22 +01:00
parent ade015de38
commit 890b7df0eb

View File

@ -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