| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
欧瑞博 HomeMate / 智家365 云端设备接入 Home Assistant
GitHub Releases | HACS | MIT License
Warning
这是一个实验性的非官方集成,依赖欧瑞博私有云 API。欧瑞博调整接口后,集成可能会停止工作。
ORVIBO Cloud 可将 HomeMate 或 智家365 账号中的设备接入 Home Assistant。集成会自动探测账号所在区域的云端节点,通过 REST API 获取家庭、房间和设备信息,并通过欧瑞博的双向 TLS 二进制云协议控制已验证的设备。
┌──────────────────┐ HTTPS / REST ┌──────────────────┐
│ Home Assistant │ ────────────────────────> │ ORVIBO regional │
│ / orvibo_cloud │ <──────────────────────── │ cloud endpoint │
│ │ 家庭、房间、设备及状态 │ │
│ │ │ │
│ │ mutual TLS / TCP 10002 │ │
│ │ ────────────────────────> │ Binary cloud │
│ │ <──────────────────────── │ service │
└──────────────────┘ 控制结果 └──────────────────┘
通过 HACS安装后,新版本发布时会在 Home Assistant 中显示更新提醒。main有新提交时,GitHub Actions会在每周二、周五自动发布 0.x.ybN 测试版;推送与 manifest版本严格匹配的 v0.x.y轻量 Tag会自动发布正式版,也可从 main手动运行工作流补发。开始下一轮开发前,维护者需要先提升 custom_components/orvibo_cloud/manifest.json 中的目标正式版本。每个成功的 Release 都必须附带 HACS直接安装的非空 orvibo_cloud.zip。
将本仓库中的 custom_components/orvibo_cloud/ 复制到 Home Assistant 配置目录:
config/
└── custom_components/
└── orvibo_cloud/
重启 Home Assistant,然后进入 设置 > 设备与服务 > 添加集成,搜索 ORVIBO Cloud。
| 项目 | 必填 | 说明 |
|---|---|---|
| 邮箱或账号 | 是 | HomeMate 或智家365使用的登录账号 |
| 密码 | 是 | 对应账号密码,仅在提交配置时用于生成登录所需的哈希 |
| 家庭 | 多家庭账号需要 | 账号下只有一个家庭时自动选择 |
| 设备 | 是 | 只有勾选的设备才会注册到 Home Assistant |
| 区域 | 否 | 默认使用欧瑞博 App 中的房间,可改为任意 Home Assistant 区域 |
安装完成后,可在集成的 配置 对话框中重新选择设备和区域。账号密码失效时,Home Assistant 会启动重新认证流程。
只有经过抓包验证的设备配置才会创建可控制实体。其他选中的设备仍会出现在 Home Assistant 设备注册表中,但不会自动获得控制实体。
| 类别 | 已验证配置 | Home Assistant 功能 |
|---|---|---|
| 窗帘 | type=34 | 打开、关闭、停止、位置控制 |
| 开关型灯光 | type=1/subtype=1、type=102/subtype=1 | 开、关 |
| 调光调色温灯 | type=38/subtype=4,6,13 | 开、关、亮度、色温 |
| 属性型筒灯/灯带 | 已抓包验证的 type=503/subtype=436 型号 | 开、关、亮度、色温 |
| 巨目 2K S1 摄像头 | 设备发现与注册 | 暂无 camera 实体 |
Note
巨目 2K S1 的视频使用 Meari 加密 ICE/P2P 协议,不是 RTSP 或 ONVIF。设备可被发现并注册,但视频接入需要独立的 Meari 协议实现。
Important
门锁等传感器状态来自每分钟一次的云端快照,不是实时事件推送。不到一分钟完成的短暂开关可能不会被 Home Assistant 捕获,请勿将其作为实时安防告警来源。
运行不依赖 Home Assistant 安装环境的协议测试:
python -m pip install "aiohttp>=3.9.0" "pycryptodome>=3.20.0" "PyYAML>=6.0.2"
python -m unittest discover -s tests -v项目主要结构:
orvibo-cloud/
├── custom_components/orvibo_cloud/
│ ├── api.py # REST 登录与设备表获取
│ ├── binary.py # 双向 TLS 二进制云协议
│ ├── config_flow.py # UI 配置、设备及区域选择
│ ├── coordinator.py # 云端状态刷新
│ ├── cover.py # 窗帘实体
│ ├── light.py # 灯光实体
│ ├── sensor.py # 诊断传感器
│ └── translations/ # 多语言翻译
├── tests/
├── hacs.json
└── README.md
协议行为通过实际抓包以及 MIT 许可的 orvibo-homeassistant-curtains 项目进行交叉验证。
Warning
This is an experimental, unofficial integration built on ORVIBO's private cloud APIs. It may stop working if ORVIBO changes those APIs.
ORVIBO Cloud connects devices from a HomeMate or ZhiJia365 account to Home Assistant. It discovers the account's regional endpoint, retrieves family, room, and device data through the REST API, and controls verified devices through ORVIBO's mutual-TLS binary cloud protocol.
┌──────────────────┐ HTTPS / REST ┌──────────────────┐
│ Home Assistant │ ────────────────────────> │ ORVIBO regional │
│ / orvibo_cloud │ <──────────────────────── │ cloud endpoint │
│ │ families, rooms, devices │ │
│ │ │ │
│ │ mutual TLS / TCP 10002 │ │
│ │ ────────────────────────> │ Binary cloud │
│ │ <──────────────────────── │ service │
└──────────────────┘ command result └──────────────────┘
After installation through HACS, Home Assistant will show an update when a new version is released. When main contains new commits, GitHub Actions publishes a 0.x.ybN beta every Tuesday and Friday. Pushing a lightweight v0.x.y tag that exactly matches the manifest version automatically publishes a stable release; maintainers can also run the workflow manually from main for recovery. Maintainers must bump the target stable version in custom_components/orvibo_cloud/manifest.json before starting the next release cycle. Every successful release must include a non-empty orvibo_cloud.zip asset that HACS can install directly.
Copy custom_components/orvibo_cloud/ from this repository into your Home Assistant configuration directory:
config/
└── custom_components/
└── orvibo_cloud/
Restart Home Assistant, then open Settings > Devices & services > Add integration and search for ORVIBO Cloud.
| Field | Required | Description |
|---|---|---|
| Email or account | Yes | The account used by HomeMate or ZhiJia365 |
| Password | Yes | Used only at submission time to generate the credential hash required for login |
| Family | For multi-family accounts | Automatically selected when the account has only one family |
| Devices | Yes | Only selected devices are registered with Home Assistant |
| Area | No | Defaults to the room from the ORVIBO app and can be changed to any Home Assistant area |
After setup, open the integration's Configure dialog to change the selected devices or their areas. Home Assistant starts a reauthentication flow if the saved credentials are rejected.
Controllable entities are created only for packet-capture-verified profiles. Other selected devices are still added to the Home Assistant Device Registry, but they do not automatically receive control entities.
| Category | Verified profile | Home Assistant features |
|---|---|---|
| Curtains | type=34 | Open, close, stop, and position |
| Relay lights | type=1/subtype=1, type=102/subtype=1 | On and off |
| Tunable-white lights | type=38/subtype=4,6,13 | On, off, brightness, and color temperature |
| Property-based downlights/light strips | Captured type=503/subtype=436 models | On, off, brightness, and color temperature |
| Giant Eye 2K S1 camera | Discovery and device registration | No camera entity |
Note
Giant Eye 2K S1 video uses Meari's encrypted ICE/P2P protocol rather than RTSP or ONVIF. The device can be discovered and registered, but video support requires a separate Meari protocol implementation.
Important
Door-lock and other sensor states come from a cloud snapshot fetched once per minute, not from real-time event push. A brief open-and-close cycle completed within one minute may not be observed by Home Assistant. Do not use this integration as a real-time security alarm source.
Run the protocol tests, which do not require a Home Assistant installation:
python -m pip install "aiohttp>=3.9.0" "pycryptodome>=3.20.0" "PyYAML>=6.0.2"
python -m unittest discover -s tests -vMain project structure:
orvibo-cloud/
├── custom_components/orvibo_cloud/
│ ├── api.py # REST login and device-table retrieval
│ ├── binary.py # Mutual-TLS binary cloud protocol
│ ├── config_flow.py # UI setup, device, and area selection
│ ├── coordinator.py # Cloud state refresh
│ ├── cover.py # Curtain entities
│ ├── light.py # Light entities
│ ├── sensor.py # Diagnostic sensors
│ └── translations/ # Localized UI strings
├── tests/
├── hacs.json
└── README.md
Protocol behavior was cross-checked against packet captures and the MIT-licensed orvibo-homeassistant-curtains project.
MIT
| Back | FazBrowse Home | New Git URL |