1
0

23 Zeilen
515 B
Django/Jinja

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import os
import report
MQTT_USER = "{{ smart_sat_powerplug_username }}"
MQTT_PASS = "{{ smart_sat_powerplug_password }}"
MQTT_SERVER = "{{ smart_sat_powerplug_hostname }}"
MQTT_TOPIC = "{{ smart_sat_powerplug_topic }}"
#
# Logging
#
__BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
APP_NAME = "powerplug"
LOGTARGET = 'stdout' # possible choices are: 'logfile' or 'stdout'
LOGLVL = 'INFO'
LOGHOST = 'cutelog'
LOGPORT = 19996
formatter = report.SHORT_FMT