https://github.com/markmybytes/nwemptyr-tgreporter-ios-shortcut
iOS Short for NWemptyE telegram channel reporting
https://github.com/markmybytes/nwemptyr-tgreporter-ios-shortcut
ios shortcut telegram-bot
Last synced: 3 months ago
JSON representation
iOS Short for NWemptyE telegram channel reporting
- Host: GitHub
- URL: https://github.com/markmybytes/nwemptyr-tgreporter-ios-shortcut
- Owner: markmybytes
- Created: 2022-01-20T16:11:07.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-23T17:00:38.000Z (about 3 years ago)
- Last Synced: 2025-02-13T08:51:22.751Z (over 1 year ago)
- Topics: ios, shortcut, telegram-bot
- Homepage:
- Size: 3.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NWmptyR--report-ios-shortcut
NWemptyR telegram 自20年開始全自動化(好似係),透過輸入特定格式文字作報料。
而因為我嘅懶惰,於是用 Apple 嘅 [Shortcut](https://support.apple.com/zh-hk/guide/shortcuts/welcome/ios) 寫咗兩個 shortcut 嚟自動化報料嘅 process。
(自動偵測位置+generate報料 -> 輸入至 telegram)
亦都希望藉此令更加多人願意隨手報料。
## 下載
單一車站 EmptyR Report:
https://www.icloud.com/shortcuts/b696b046887f40898a05477c83d2645e
多車站 EmptyR Report (Multi-Stat):
https://www.icloud.com/shortcuts/25f2d58e01554b07ab2aec6739b8981d
### Change Log
2022-3-1 v1.0.1
- code optimization
- variables renaming
2022-1-8 v1.0.0
- update prompt messages
## 點用﹖
**TLDR:** 好 straight forward 下,㩒下就識。
完全唔知 Shortcut 係咩嚟/點用請睇下[呢度](https://github.com/SuperDumbTM/EmptyR-ios-shortcut#shortcut-%E6%BA%96%E5%82%99)先
### - 單一車站 EmptyR Report
當㩒咗個 shortcut 後﹐程式會偵測你方圓100米內嘅車站,如果無嘅就會偵測方圓450米內嘅車站
**1. 方圓100米內只有一個車站**
> 
> 直接揀報咩料就可以
**2. 方圓100米內一個車站的冇,但450米內有**
> `No station detected`
> 移動中嘅位置相比靜止誤差較大,所以亦使你就喺正個車站隔離都有機會
> 
> 揀返啱嘅就OK
**3. 方圓100米內多於一個車站**
> `Multiple stations detected`
> 有少數車站站距約等於100米,多數位於屯門區
> 都係揀返啱嘅就OK
---
**_手動輸入_**
- 會自動喺 telegram 輸入 `時間 + dummy + #報料`
- 預設輸入 dummy 方便㩒兩下highlight改咗佢
**_離開捷徑_**
- 字面意思,㩒空白位置同樣校果。
---
### - 多車站 EmptyR Report (Multi-Stat)
運作同上,但只報喜不報悲。出發車站、路線需要手動輸入,目的地車站自動偵測,乘車時間自動計算。


- 如果揀咗「手動輸入」,你需要手動輸入嗰程車嘅乘車時間(分鐘)


- :warning: **如所選路線、上車車站及落車車站有衝突(所選路線不經上車/落車車站)**,行車時間即為0,姐係報料嘅上車時間=落車時間=當刻時間。**所以有轉車建議以最後乘搭路線作報料。**
---
**_車程計算方法_**
- 
- 上拾入
- 行車時間取自MTR
> Example (761P)
> 全程行車時間:31 mins,全程車程數量:14個,站均行車時間:2.214 mins
> 天逸至康樂路 = 12個站,時間:26.571(= 27 mins)
## Shortcut 準備
### 準備
打開設定,碌落去揾 `Shortcut/捷徑`

開 ~~`允許不受信任的捷徑`~~、`精確位置`
[update]`允許不受信任的捷徑`要係新增捷徑後先會開到(姐係download咗個shortcut之後),到時電話應該會要提示叫你去開

### 加入捷徑
㩒咗下載嘅 link 之後理論上會見到呢個畫面
改名可以噝綠圈位置改。

剝到最底,㩒 `加入不受信任的捷徑`
### Shoutcut 嘅 shortcut
下下要㩒入個shortcut app度就無咗原有方便嘅義意鳥。
而Shortcut係可以加入主畫面的,方法有兩。
1. [Widget](https://support.apple.com/zh-tw/guide/shortcuts/apd029b36d05/ios)
2. App icon
首先打開捷徑app,揾返個shortcut㩒右上角嘅三粒點

最㩒多次右上角三粒點

改名、改icon、改顏色可以喺度改。
㩒 `加至主畫面` 你就會得到一粒 ”app” icon

### 點用 shortcut
㩒返相應嘅widget/ app icon就用到。
Shortcut讀取你嘅位置要5-10秒左右,所以會有一段時間冇任何反應。
如果偵測位置過程熄咗mon都無問題的,只要㩒返個通知就可以繼續。
