Smarthome Functionen
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617181920212223242526
  1. import geo
  2. import logging
  3. import report
  4. from topics import *
  5. DEBUG = False # False: logging to stdout with given LOGLEVEL - True: logging all to localhost:19996 and warnings or higher to stdout
  6. LOGLEVEL = logging.INFO
  7. GEO_POSITION = geo.gps.coordinate(lat=49.519167, lon=9.3672222)
  8. APP_NAME = "smart_brain"
  9. MQTT_SERVER = "{{ smart_srv_brain_hostname }}"
  10. MQTT_PORT = 1883
  11. MQTT_USER = "{{ smart_srv_brain_username }}"
  12. MQTT_PASSWORD = "{{ smart_srv_brain_password }}"
  13. CHRISTMAS = True
  14. #
  15. # PARAMETERS
  16. #
  17. USER_ON_TIME_STAIRWAYS = 100
  18. DEFAULT_TEMPERATURE = 21.5