23 lines
515 B
Plaintext
Raw Normal View History

2022-07-22 09:14:52 +02:00
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import os
import report
2024-03-16 21:48:39 +01:00
MQTT_USER = "{{ smart_sat_powerplug_username }}"
MQTT_PASS = "{{ smart_sat_powerplug_password }}"
MQTT_SERVER = "{{ smart_sat_powerplug_hostname }}"
MQTT_TOPIC = "{{ smart_sat_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