123456789101112131415161718192021222324252627282930313233343536373839 |
- #!/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 = '192.168.0.121'
- 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 = '192.168.0.120'
- server_in_port = 37000
-
- server_garage_secret = None # or set a secret to require client authentification: b'give_a_secret_string_here'
- server_garage_ip = '192.168.0.13'
- server_garage_port = 10000
- # Logging
- #
- LOGTARGET = 'stdout' # possible choices are: 'logfile' or 'stdout'
- SHORT_FMT = "%(asctime)s: %(levelname)-7s - %(message)s"
- """ A short formatter including the most important information"""
- LONG_FMT = """~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- File "%(pathname)s", line %(lineno)d, in %(funcName)s
- %(asctime)s: %(levelname)-7s - %(message)s"""
- """ A long formatter which results in links to the source code inside Eclipse"""
-
- # Logging
- #
- APP_NAME = 'smarthome'
- LOGTARGET = 'stdout' # possible choices are: 'logfile' or 'stdout'
-
- LOGHOST = 'localhost'
- LOGPORT = 19996
-
- formatter = report.LONG_FMT
|