forked from HackerspaceBielefeld/HSBot2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py.example
36 lines (28 loc) · 1.27 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
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
# 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 = "172.23.45.5" #mqtt server
MQTTTOPI = "hsbot/chat" #mqtt chat topic
MQTTTOPT = "hsbot/toast" #mqtt toast topic
MQTTTOPTOUT = "toasted" #mqtt toast ausgabe
MQTTDEBU = "debug/hsbot" #mqtt debug topic
# GPIO Daten
INPINS = [8,10,11,12,13,15,16,18,21,22,23,24,26]
OUTPINS = []
VERSION = "1.0.3 Build 0146-B" #versionsnummer
SUPPORT = "electronicfreak"