23 lines
442 B
Django/Jinja
23 lines
442 B
Django/Jinja
#!/usr/bin/env python
|
|
# -*- coding: UTF-8 -*-
|
|
import os
|
|
import logging
|
|
|
|
|
|
DEBUG = False
|
|
#
|
|
# Logging
|
|
#
|
|
APP_NAME = "powerplug"
|
|
LOG_HOSTNAME = "loggy" # When DEBUG is True
|
|
LOG_LEVEL = logging.INFO # STDOUT logging
|
|
|
|
|
|
#
|
|
# Application
|
|
#
|
|
MQTT_USER = "{{ smart_sat_powerplug_username }}"
|
|
MQTT_PASS = "{{ smart_sat_powerplug_password }}"
|
|
MQTT_SERVER = "{{ smart_sat_powerplug_hostname }}"
|
|
MQTT_TOPIC = "{{ smart_sat_powerplug_topic }}"
|