27 lines
624 B
Django/Jinja
27 lines
624 B
Django/Jinja
#!/usr/bin/env python
|
|
# -*- coding: UTF-8 -*-
|
|
import os
|
|
import logging
|
|
|
|
from remotes import yamaha_ras5 as amplifier
|
|
from remotes import technics_eur642100 as cd_player
|
|
|
|
|
|
DEBUG = False
|
|
#
|
|
# Logging
|
|
#
|
|
APP_NAME = "remote_control"
|
|
LOG_HOSTNAME = "loggy" # When DEBUG is True
|
|
LOG_LEVEL = logging.INFO # STDOUT logging
|
|
|
|
MQTT_SERVER = "{{ smart_sat_remotectrl_hostname }}"
|
|
MQTT_USER = "{{ smart_sat_remotectrl_username }}"
|
|
MQTT_PASS = "{{ smart_sat_remotectrl_password }}"
|
|
MQTT_TOPIC = "{{ smart_sat_remotectrl_topic }}"
|
|
|
|
SUPPORTED_REMOTES = {
|
|
amplifier.NAME: amplifier.ALL,
|
|
cd_player.NAME: cd_player.ALL
|
|
}
|