35 wiersze
860 B
Python
35 wiersze
860 B
Python
#!/usr/bin/env python
|
|
# -*- coding: UTF-8 -*-
|
|
|
|
import report
|
|
|
|
FULL_SCREEN = False
|
|
|
|
|
|
# TCP-Server
|
|
#
|
|
server_out_secret = None # or set a secret to require client authentification: b'give_a_secret_string_here'
|
|
server_out_ip = 'localhost'
|
|
server_out_port = 37000
|
|
server_in_secret = None # or set a secret to require client authentification: b'give_a_secret_string_here'
|
|
server_in_ip = 'localhost'
|
|
server_in_port = 47000
|
|
|
|
server_garage_secret = None # or set a secret to require client authentification: b'give_a_secret_string_here'
|
|
server_garage_ip = 'localhost'
|
|
server_garage_port = 10000
|
|
# Logging
|
|
#
|
|
LOGTARGET = 'stdout' # possible choices are: 'logfile' or 'stdout'
|
|
|
|
# Logging
|
|
#
|
|
APP_NAME = 'smarthome'
|
|
LOGTARGET = 'stdout' # possible choices are: 'logfile' or 'stdout'
|
|
LOGLVL = 'DEBUG'
|
|
|
|
LOGHOST = 'localhost'
|
|
LOGPORT = 19996
|
|
|
|
formatter = report.LONG_FMT
|