This commit is contained in:
robert 2021-01-24 23:28:22 +01:00
parent ade015de38
commit 890b7df0eb
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ client = paho.Client(protocol=paho.MQTTv31) # * set a random string (max 23 cha
# Command topic # Command topic
temperature_topic = 'weathersensors/' + client_id + '/temperature' temperature_topic = 'weathersensors/' + client_id + '/temperature'
humidity_topic = 'weathersensors/' + client_id + '/humidity' humidity_topic = 'weathersensors/' + client_id + '/humidity'
time_topic = 'weathersensors/' + client_id + 'time' time_topic = 'weathersensors/' + client_id + '/time'
#client connection #client connection
#client.username_pw_set(mqtt_username, mqtt_password) # MQTT server credentials #client.username_pw_set(mqtt_username, mqtt_password) # MQTT server credentials