iobroker.absolutehumidity

中文文档
0.1.10发布于 2026/11/04MITCommonJS构建来源已验证

build absolute humidity from actual temperature and relative humidity

原始使用文档
文档目录15 节
  1. absolutehumidity adapter for ioBroker
  2. Calculation method
  3. Create a tab in the tab bar
  4. Add a Device
  5. Tile view
  6. Object view
  7. Iobroker Forum Link
  8. Changelog
  9. 0.1.10 (2026-11-03)
  10. 0.1.9 (2026-11-03)
  11. 0.1.8 (2026-10-14)
  12. 0.1.7 (2026-10-14)
  13. 0.1.6 (2026-09-28)
  14. Collaboration
  15. License

Logo

ioBroker.absolutehumidity

NPM version Downloads Number of Installations Current version in stable repository

NPM

Tests: Test and Release

absolutehumidity adapter for ioBroker

build absolute humidity from actual temperature and relative humidity

Calculation method

The adapter uses empirical Magnus approximation formulas to calculate the saturation vapor pressure from temperature and relative humidity.

  • Absolute humidity is calculated from the saturation vapor pressure using the Magnus/Bolton approximation and the ideal gas law. The result is returned in g/m³.
  • Dew point temperature is calculated using the Magnus formula with Sonntag coefficients. The result is returned in °C.

Small deviations from online tables are expected because different tables often use different Magnus, Tetens, Sonntag, Bolton or Buck coefficient sets.

image

The instance page is interactive, allowing for the calculation of absolute humidity, dew point temperature, and ventilation recommendations based on data recorded via analog or manual methods. Simply enter the values, and the result will be displayed automatically.

Create a tab in the tab bar

Use the pin to create a tab in the tab bar. Use "+ Add device" to add a device.

image

Add a Device

To add a device, you must assign a name and select the two states for temperature and relative humidity. Optionally, you can specify whether these two values ​​should also be included (again) in the adapter's objects.

image

Tile view

The tiles for outdoor use are displayed in green, and those for indoor use in blue. In the tile view, the tiles are sorted in ascending order, that is, from dry to more humid. (If the green tile appears first, ventilating the room might be advisable)

image

Object view

image

https://forum.iobroker.net/topic/85455/test-adapter-absolut-humidity

Changelog

0.1.10 (2026-11-03)

  • (BenAhrdt) Serialize per-device measurement updates to prevent duplicate output writes when source states change concurrently.

0.1.9 (2026-11-03)

  • (BenAhrdt) Accept Unicode temperature units (℃/℉) and common relative humidity units (% rF/% rH) for source states.

0.1.8 (2026-10-14)

  • (BenAhrdt) Ensure that the interactive preview card labels always use the language selected in Admin, even when browser and system languages differ.

0.1.7 (2026-10-14)

  • (BenAhrdt) Clearly label the editable preview values as demonstration-only and explain that they are not saved.
  • (BenAhrdt) Use the selected Admin language for the interactive preview card labels.

0.1.6 (2026-09-28)

  • Rename the visible Device Manager references to Config Manager in the adapter configuration and translations.
  • Add delayed device configuration backups with manual restore and startup recovery when no device configuration exists.

Older changes can be found here

Collaboration

The adapter was developed in collaboration with Joerg Froehner

License

MIT License

Copyright (c) 2026 BenAhrdt [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

版本与发布记录

iobroker.absolutehumidity 共发布 17 个版本,首次发布于 2026/07/05;过去 12 个月发布了 17 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.1.10latest2026/11/041 天前
0.1.92026/11/041 天前
0.1.82026/10/1421 天前
0.1.72026/10/1421 天前
0.1.62026/09/281 个月前
0.1.52026/09/281 个月前

关于 iobroker.absolutehumidity 的常见问题

iobroker.absolutehumidity 是什么?

build absolute humidity from actual temperature and relative humidity

如何安装 iobroker.absolutehumidity?

在项目目录运行 npm install iobroker.absolutehumidity,或使用 pnpm add / yarn add / bun add。

iobroker.absolutehumidity 支持 TypeScript 吗?

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

iobroker.absolutehumidity 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

iobroker.absolutehumidity 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >= 22。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

iobroker.absolutehumidity 可以商用吗?

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

iobroker.absolutehumidity 还在维护吗?

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