wip
This commit is contained in:
parent
71a77a4cd0
commit
04111f5636
@ -19,7 +19,7 @@ def main():
|
|||||||
Entry point for mqtt logger.
|
Entry point for mqtt logger.
|
||||||
'''
|
'''
|
||||||
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='mqtt.blackfinn.de', port=8883,
|
||||||
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=['#'])
|
||||||
|
Loading…
Reference in New Issue
Block a user