Skip to content

Latest commit

 

History

History
189 lines (127 loc) · 6.29 KB

README_zhHant.md

File metadata and controls

189 lines (127 loc) · 6.29 KB

Taiwan Real-time Earthquake Monitoring for HA

Logo

GitHub Release hacs_custom License

Stargazers Issues Contributors

BuyMeCoffee


English | 繁體中文

預覽

config_flow_image simulator_earthquake_demo Demo video



Important

示警資料來源由 ExpTech Studio 提供,僅供參考,
實際結果依 中央氣象局 公佈之內容為準。



Feature

  • Isoseismal map image (can also be saved as file).
  • Simulator earthquake service.
  • RTS Notification (Exptech VIP Only).
  • Tsunami Notification (Exptech VIP Only).


測試結果

環境 Home Assistant OS Home Assistant Core Home Assistant Supervisor
Virtual Machine1 ✔️
Container ✔️ 2
Virtual Environment ✔️
Physics Machine3 4 5 2

✔️ 測試通過
✖️ 無法安裝
❓ 尚未測試
➖ 請看備註



先決條件 (如果您使用的是 HAOS)

請閱讀指南來安裝必要套件.

Important

這個自訂元件安裝方法較為困難
適合管理 Linux 系統專家才能安裝

Home Assistant OS 暫存(tmp)目錄被掛載 noexec 導致無法編譯, 我們已找到 解決辦法 修復該問題。



安裝方式

透過 HACS (推薦)

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

手動安裝

  1. 如果 config/custom_components 不存在,請建立該資料夾
  2. 複製 tremcustom_components 資料夾內


設定

請跟隨設定流程新增.

  1. 配置 > 整合 > 新增整合 > Taiwan Real-time Earthquake Monitoring
  • 如果整合未顯示在清單中,請重新整理頁面
  • 如果整合仍然不在清單中,您需要清除瀏覽器快取。

地區代碼可以到這 查詢



資料來源

  • HTTPS API (or use your self-server)
  • Websocket. (Exptech VIP Only)

HTTPS API

Node Description
tainan_cache_limit 請求次數遭到限制 
tainan_cache 適合所有使用者  
taipe_cache_limit 請求次數遭到限制 
taipe_cache 適合所有使用者  
taipei_limit 請求次數遭到限制 
taipei 即時資料,但延遲高
taipei_2 即時資料,但延遲高
pingtung_limit 請求次數遭到限制 
pingtung 即時資料,但延遲高
pingtung_2 即時資料,但延遲高

Websocket

Exptech VIP 限定

您可以到 [https://exptech.com.tw/pricing](https://exptech.com.tw/pricing) 訂閱VIP.


An API server can be monitored here.



已知問題

  1. 暫不支援 2024.8 及更高版本的 Home Assistant


貢獻者

  • ExpTech Studio 探索科技 資料來源
  • watermelon1024 程式貢獻
  • kukuxx 測試夥伴

在此感謝每一位幫助過我,及社群上的每一位夥伴,不吝給予協助。



贊助

Buy me a coffee LINE Bank JAKo Pay
Buy me a coffee Line Bank JAKo Pay


授權

AGPL-3.0 license

2024-08-15 Agreement reached with ExpTech Studio.

Footnotes

  1. 虛擬機包括但不限: VirtualBox、Unraid、KVM/Proxmox、UTM...等。

  2. 如果您是按照該方式安裝。 2

  3. 實體機包括但不限: Raspberry Pi、Home Assistant Green、Home Assistant Yellow...等。

  4. 到目前為止, 僅 rpi4 4GB 通過測試。

  5. 如果你有其他安裝環境, 可以協助測試並提供回饋。