23 lines
414 B
Python
Raw Normal View History

2022-07-22 09:14:52 +02:00
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import os
import report
2022-07-23 21:52:18 +02:00
MQTT_USER = "user"
MQTT_PASS = "pass"
MQTT_SERVER = "localhost"
2022-08-24 13:17:06 +01:00
MQTT_TOPIC = "dirk/powerplug"
2022-07-22 09:14:52 +02:00
#
# Logging
#
__BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
APP_NAME = "powerplug"
2022-08-24 13:17:06 +01:00
LOGTARGET = 'stdout' # possible choices are: 'logfile' or 'stdout'
2022-07-22 09:14:52 +02:00
LOGLVL = 'DEBUG'
2022-07-23 21:52:18 +02:00
LOGHOST = 'cutelog'
2022-07-22 09:14:52 +02:00
LOGPORT = 19996
2022-08-24 13:17:06 +01:00
formatter = report.SHORT_FMT