diff --git a/config_example/config.j2 b/config_example/config.j2 index 5fb25fc..b993ed5 100644 --- a/config_example/config.j2 +++ b/config_example/config.j2 @@ -5,6 +5,19 @@ import os __BASEPATH__ = os.path.abspath(os.path.dirname(__file__)) + +DEBUG = False +# +# Logging +# +APP_NAME = "ambient_info" +LOG_HOSTNAME = "loggy" # When DEBUG is True +LOG_LEVEL = logging.INFO # STDOUT logging + + +# +# Application +# MQTT_SERVER = "{{ smart_sat_ambientinfo_hostname }}" MQTT_USER = "{{ smart_sat_ambientinfo_username }}" MQTT_PASS = "{{ smart_sat_ambientinfo_password }}" @@ -22,12 +35,3 @@ else: # DHT-PORT DHT_22_PORT = board.D4 - -# -# Logging -# -APP_NAME = "ambient_info" - -DEBUG = False -LOG_HOSTNAME = "loggy" # When DEBUG is True -LOG_LEVEL = logging.INFO # STDOUT logging