1
0

23 Zeilen
414 B
Python

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import os
import report
MQTT_USER = "user"
MQTT_PASS = "pass"
MQTT_SERVER = "localhost"
MQTT_TOPIC = "hifi/powerplug"
#
# Logging
#
__BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
APP_NAME = "powerplug"
LOGTARGET = 'logfile' # possible choices are: 'logfile' or 'stdout'
LOGLVL = 'DEBUG'
LOGHOST = 'cutelog'
LOGPORT = 19996
formatter = report.LONG_FMT