wether station gui client
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

config.py 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/usr/bin/env python
  2. # -*- coding: UTF-8 -*-
  3. import report
  4. FULL_SCREEN = False
  5. # TCP-Server
  6. #
  7. server_out_secret = None # or set a secret to require client authentification: b'give_a_secret_string_here'
  8. server_out_ip = '192.168.0.121'
  9. server_out_port = 37000
  10. server_in_secret = None # or set a secret to require client authentification: b'give_a_secret_string_here'
  11. server_in_ip = '192.168.0.120'
  12. server_in_port = 37000
  13. server_garage_secret = None # or set a secret to require client authentification: b'give_a_secret_string_here'
  14. server_garage_ip = '192.168.0.13'
  15. server_garage_port = 10000
  16. # Logging
  17. #
  18. LOGTARGET = 'stdout' # possible choices are: 'logfile' or 'stdout'
  19. SHORT_FMT = "%(asctime)s: %(levelname)-7s - %(message)s"
  20. """ A short formatter including the most important information"""
  21. LONG_FMT = """~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  22. File "%(pathname)s", line %(lineno)d, in %(funcName)s
  23. %(asctime)s: %(levelname)-7s - %(message)s"""
  24. """ A long formatter which results in links to the source code inside Eclipse"""
  25. # Logging
  26. #
  27. APP_NAME = 'smarthome'
  28. LOGTARGET = 'stdout' # possible choices are: 'logfile' or 'stdout'
  29. LOGHOST = 'localhost'
  30. LOGPORT = 19996
  31. formatter = report.LONG_FMT