This commit is contained in:
Thomas Klaehn 2018-02-11 10:14:58 +01:00
parent e1402d34d4
commit 71a77a4cd0

View File

@ -20,7 +20,6 @@ def main():
''' '''
logging.basicConfig(format=LOG_FORMAT, filename=OWN_LOG_FILE) logging.basicConfig(format=LOG_FORMAT, filename=OWN_LOG_FILE)
conn = mqtt.Mqtt(hostname='localhost', port=8883, conn = mqtt.Mqtt(hostname='localhost', port=8883,
ca_certs='/etc/letsencrypt/live/mqtt.blackfinn.de/chain.pem',
certfile='/etc/letsencrypt/live/mqtt.blackfinn.de/cert.pem', certfile='/etc/letsencrypt/live/mqtt.blackfinn.de/cert.pem',
keyfile='/etc/letsencrypt/live/mqtt.blackfinn.de/privkey.pem', keyfile='/etc/letsencrypt/live/mqtt.blackfinn.de/privkey.pem',
subscribe=['#']) subscribe=['#'])