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