-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
31 lines (24 loc) · 1.06 KB
/
config.py
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
##-----------------------CONFIG------------------------##
# This is the config file for SwitchyBot.py
# BLE CONFIG is useless unless you import SysCmd
# Try not to change BOT CONFIG if not neccesary
##---------------------FILE CONFIG---------------------##
packagepath = "/usr/lib/python3/dist-packages"
##------------------FUNCTIONS CONFIG-------------------##
terminalcmd = "lxterminal -e"
tryconnect = 3
##---------------------BLE CONFIG----------------------##
startcmd = "sudo bluetoothctl power on"
stopcmd = "sudo bluetoothctl power off"
agentcmd = "sudo bluetoothctl agent on"
stagentcmd = "sudo bluetoothctl agent off"
scancmd = "sudo bluetoothctl scan on"
stscancmd = "sudo bluetoothctl scan off"
resetcmd = "sudo systemctl restart bluetooth"
rfkillcmd = "rfkill unblock bluetooth"
##---------------------BOT CONFIG----------------------##
notifuuid = "cba20003-224d-11e6-9fb8-0002a5d5c51b"
botuuid = "cba20002-224d-11e6-9fb8-0002a5d5c51b"
presscode = "570100"
oncode = "570101"
offcode = "570102"