- Support Line Multiply Notification
- Support Discord Multiply Webhooks
- Fix Count Down Function
Note
Only list diffence between mod and orginal Version
Tip
There is lot of tutoriel about how to get Discord Webhook URL and Line Acces Token.
Warning
Due to EULA of OX-WakeUP, This notify system is only for personal use.
Do not use this for commercial use or use this to provide service to others.
Caution
Count Down Feature is for reference only, it may not be accurate due to network delay, different devices, etc.
Repository owner and autuor are not responsible for any loss caused by this feature.
Use at your own risk.
Warning
If you got any error, please check if you have installed python3.
- double click
Install.bat
and done.
Tip
If you are using linux, use Install.sh
instead.
- rename
env.json.sample
toenv.json
inenv.json
modify
Important
You need some basic knowledge about json file.
{
"WEBHOOK_URL": [
{
"name": "optional", #name (optional)
"threshold": 5.5, #threshold of alert 5強 denoted as 5.5
"url": "Your Webhook URL" #Discord Webhook URL
},
{
"name": "optional",
"threshold": 5.0, #threshold of alert 5弱 denoted as 5.0 or 5
"url": "Your Webhook URL"
}
#add here
],
"CITY": "Your City", #Your City
"AREA": "Your Area", #Your Area
"ACCESS_TOKEN": [
{
"name": "optional", #name (optional)
"threshold": 0, #threshold of alert , 0 means all alert
"token": "Your Access Token" #Line Access Token
},
{
"name": "optional",
"threshold": -1, #threshold of alert , -1 means no alert
"token": "Your Access Token"
}
#add here
]
}
Tip
If you want to add multiple instance, add following code at the end of the entry.
Disocrd
,{
"name": "optional",
"threshold": 1,
"url": "Your Webhook URL"
}
Line
,{
"name": "optional",
"threshold": 1,
"token": "Your Access Token"
}
Python的部分,使用官網或微軟商店安裝。
Caution
This part is obsoleted
開啟Install.bat
,輸入1
並按下Enter後就會開始安裝。
Caution
This part is obsoleted
在 .env
裡
WEBHOOK_URL=YOUR_Webhook_URL #你的Webhook網址,取代掉YOUR_Webhook_URL
CITY=YOUR_CITY #你要顯示的縣、市 例:台北市,取代掉YOUR_CITY
AREA=YOYR_AREA #你要顯示的區 例:松山區,取代掉YOYR_AREA
將speech.bat
設定為連動的軟體 (示意圖)
(記得勾選僅執行一次
)
Tip
If you are using linux, use speech.sh
instead.
特別感謝Eric101201
,都他寫的🛐