@camstack/addon-provider-homematic

中文文档
1.2.170发布于 2026/11/01MITESM + CJS

Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library

原始使用文档
文档目录5 节
  1. What it provides
  2. Configuration
  3. Requirements
  4. Documentation
  5. Setup

Homematic Provider

Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library.

Package @camstack/addon-provider-homematic on npm.

What it provides

  • Homematic (provider-homematic): Connect to a Homematic CCU3 / RaspberryMatic hub and adopt its switches, covers, lights, locks, thermostats and sensors. Category: providers.
    • Capabilities: device-provider, broker, device-adoption.

Configuration

Edit these from System, Addons, this addon, Settings (a device's own settings are on its device page). A password field is stored in the keychain.

Addon settings

  • Homematic broker: Brokers are managed separately

Connection

  • CCU connection: Host / IP
  • Interfaces: Enable Homematic IP, Enable Homematic (BidCos-RF), Enable groups (heating groups), Enable BidCos-Wired (HM-Wired)
  • Event callback: Callback host (optional — auto-inferred when blank), Callback port
  • WebUI credentials: Username, Password
  • Advanced: Use TLS

Requirements

  • Placement: hub-only.
  • A CamStack hub. An agent is used only where the placement above allows it.

Documentation

See CHANGELOG.md for what changed in each version.

Setup

  1. In CamStack: Integrations, add Homematic. Pick the CCU found on your network (the scan asks each host of the local /24 networks whether it is a CCU3 or RaspberryMatic WebUI) or type its host / IP. Choose the interfaces to bind, and set the callback host if the hub has more than one address (it must be one the CCU can reach, never 127.0.0.1; blank infers it). The WebUI username and password are optional: they unlock friendly names and rooms, and the password is stored in the CamStack keychain, never in an environment variable, a command line or a log line. Test asks every enabled interface and, with credentials, logs in.
  2. Open the integration's discovery. The CCU appears as one Gateway device (online state, host, and a link to its WebUI); every CCU device appears as a candidate, or as one candidate per entity under the Entities filter. Ids carry the integration, so two CCUs never collide. Products are siblings of the gateway, not its children.
  3. A CCU that is down when CamStack starts is retried with a growing delay, and again on every integration change.
  4. Reboot and firmware update of the CCU are not offered: the library has no call that restarts the CCU, and its firmware call installs an update on a radio device by address.

Two CCUs on one hub share the default callback port (2128): give the second one another callback port. An older broker-based CCU is not migrated: remove it and add the integration.

版本与发布记录

@camstack/addon-provider-homematic 共发布 206 个版本,首次发布于 2026/06/13;过去 12 个月发布了 206 个版本。

版本发布日期距今
1.2.170latest2026/11/012 天前
1.2.1692026/10/312 天前
1.2.1682026/10/313 天前
1.2.1672026/10/313 天前
1.2.1662026/10/313 天前
1.2.1652026/10/313 天前

关于 @camstack/addon-provider-homematic 的常见问题

@camstack/addon-provider-homematic 是什么?

homatic / homaticip (CCU3 / RaspberryMatic) CamStack的设备提供程序插件-封装了nodehomatic库

如何安装 @camstack/addon-provider-homematic?

在项目目录运行 npm install @camstack/addon-provider-homematic,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:zod(^4.3.6)、react(>=18)、react-dom(>=18)、@camstack/types(*)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@camstack/addon-provider-homematic 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/camstack__addon-provider-homematic 是否存在。

@camstack/addon-provider-homematic 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@camstack/addon-provider-homematic 可以商用吗?

@camstack/addon-provider-homematic 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@camstack/addon-provider-homematic 还在维护吗?

最新版本 1.2.170 发布于 2026/11/01(2 天前);至今共发布 206 个版本,其中过去 12 个月发布了 206 个;首次发布于 2026/06/13。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。