From 04111f5636f910568c60478cf579c211babcc1a8 Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Sun, 11 Feb 2018 10:15:37 +0100 Subject: [PATCH] wip --- mqtt_logger/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqtt_logger/__init__.py b/mqtt_logger/__init__.py index 8a481b7..99e3721 100644 --- a/mqtt_logger/__init__.py +++ b/mqtt_logger/__init__.py @@ -19,7 +19,7 @@ def main(): Entry point for mqtt logger. ''' logging.basicConfig(format=LOG_FORMAT, filename=OWN_LOG_FILE) - conn = mqtt.Mqtt(hostname='localhost', port=8883, + conn = mqtt.Mqtt(hostname='mqtt.blackfinn.de', port=8883, certfile='/etc/letsencrypt/live/mqtt.blackfinn.de/cert.pem', keyfile='/etc/letsencrypt/live/mqtt.blackfinn.de/privkey.pem', subscribe=['#'])