{
  "added_at": "2026-11-06",
  "additional_evidence_urls": [
    "https://github.com/Opcodeffm/petkit-local/blob/235aaebad76586793b44921b712e5b58a91b8ef3/LEGAL.md"
  ],
  "category": "reconstruction-cases",
  "description_en": "Petkit Local replaces selected Petkit D4 feeder cloud exchanges with a local Home Assistant server and relays Eversweet Max 2 CTW3 fountain messages over BLE. The integration implements device registration, heartbeats, schedules, events and commands based on observed device communication.",
  "description_zh": "Petkit Local 用本地 Home Assistant 服务响应 Petkit D4 喂食器的部分云端请求，并通过 BLE 中继 Eversweet Max 2 CTW3 饮水机消息。集成依据设备通信实现注册、心跳、计划、事件和控制命令。",
  "entry_url": "https://awesomerea.org/resources/petkit-local-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/petkit-local-case/",
  "evidence_url": "https://github.com/Opcodeffm/petkit-local/blob/235aaebad76586793b44921b712e5b58a91b8ef3/README.md",
  "group": "cases",
  "id": "petkit-local-case",
  "json_url": "https://awesomerea.org/resources/petkit-local-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/petkit-local-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/petkit-local-case/index.md",
  "name": "Petkit Local: reconstructing feeder cloud and fountain BLE controls",
  "name_zh": "Petkit Local：重建喂食器云端接口与饮水机 BLE 控制",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "testing",
    "license"
  ],
  "requirements": [
    "Home Assistant 2024.1 or newer, a D4-family feeder, port 80 and local DNS or IP redirection are required.",
    "CTW3 fountain support requires a D4 feeder already running the integration.",
    "The documented tested firmware versions are D4 1.267 and CTW3 1.11.",
    "MIT licence."
  ],
  "requirements_zh": [
    "需要 Home Assistant 2024.1 或更新版本、D4 系列喂食器、80 端口及本地 DNS 或 IP 重定向。",
    "CTW3 饮水机功能需要已运行该集成的 D4 喂食器。",
    "文档所列测试固件为 D4 1.267 和 CTW3 1.11。",
    "采用 MIT 许可证。"
  ],
  "targets": [
    "protocol"
  ],
  "url": "https://github.com/Opcodeffm/petkit-local",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
