-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.py.example
40 lines (31 loc) · 1.33 KB
/
config.py.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
DEBUG = True
# Ports & URLs
NODERED = "http://127.0.0.1:1880" #wohin wird die nodered anfrage geschickt
# Pfade
INFPATH = os.path.dirname(os.path.realpath(__file__)) +"/info" #da wo die info txt files liegen
JCERT = os.path.dirname(os.path.realpath(__file__)) +"/xmpp.pem" #Jabber Certificate
CACPATH = os.path.dirname(os.path.realpath(__file__)) +"/cache" #für tmp files und config files
# Jabber Daten
JUSER = "[email protected]" #bot anmeldename
JNICK = "HSBot" #Bot anzeigename
JPASS = "" #bot Passwort
JROOM = "[email protected]" #bot raum
#Telegram Daten
TOKEN = "" #Telegram Bot Token
TFILE = os.path.dirname(os.path.realpath(__file__)) +"/cache/telegram-follower" #eingetragene follower bei telegram
#MQTT Daten
MQTTSRV = "127.0.0.1" #mqtt server
MQTTUSER = "" #MQTT User
MQTTPASS = "" #MQTT Passwort
MQTTTOPI = "hsbot/chat/privat" #mqtt chat topic nur display
MQTTTOPJ = "hsbot/chat/public" #mqtt chat auch an den Server
MQTTTOPT = "hsbot/toast" #mqtt toast topic
MQTTTOPTOUT = "hsbot/toasted" #mqtt toast ausgabe
MQTTDEBU = "debug/hsbot" #mqtt debug topic
MQTTOUTP = "hsbot" #allgemeiner output topic
MQTTSENSOR = "sensors" #mqtt sensoren empfangen
MQTTTRIG = "trigger" #mqtt topic für lüstige sachen zum triggern
SUPPORT = "electronicfreak"