23 lines
478 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
2023-11-03 17:31:07 +01:00
QTT_USER = "<mqtt_smarthome_username>"
MQTT_PASS = "<mqtt_smarthome_password>"
MQTT_SERVER = "<mqtt_smarthome_hostname>"
MQTT_TOPIC = "<mqtt_powerplug_topic>"
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'
2023-11-03 17:31:07 +01:00
LOGLVL = 'INFO'
2022-07-22 09:14:52 +02:00
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