diff --git a/mqtt_logger/__init__.py b/mqtt_logger/__init__.py index 5f94c63..218fac6 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', subscribe=['#']) + conn = mqtt.Mqtt(hostname='e320', subscribe=['#']) if conn.connect() is False: logging.error('couldn\'t connect...') return 1