Smarthome Functionen
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

config.j2 566B

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