--- id: nibe version: "2.24.0" license: LGPL 3 license_treatment: copyleft maintenance: active --- # nibe — Nibe heatpump communication library License: copyleft · Maintenance: active · Downloads: 75.8K/mo ## What it is and what it does Nibe is an async Python library for reading and controlling Nibe heatpumps over three connection protocols: RS485 via a NibeGW gateway (UDP-based), TCP Modbus (for S series models), and serial Modbus (for NIBE MODBUS 40). It abstracts heatpump communication into a model-aware interface where you instantiate a HeatPump object for your specific model (F370, S320, VVM225, etc.), initialize it, subscribe to coil update events, and then read or write individual parameters called coils through a connection object. The library handles the low-level protocol details—packet construction, Modbus framing, UDP relay through NibeGW—so you work with named coils like 'bt50-room-temp-s1-40033' rather than raw registers. It depends on construct for binary parsing, async_modbus for Modbus protocol, tenacity for retry logic, and async_timeout for timeout management. The code is production-stable, actively maintained, and carries no known vulnerabilities. Use it for: - Monitor heatpump operating parameters (temperatures, flow rates, power consumption) in real time via event subscription. - Integrate Nibe heatpump control into home automation systems (e.g., OpenHab, Home Assistant) over local network. - Read and adjust heatpump settings (setpoints, operating modes) programmatically via Modbus or NibeGW. - Log heatpump telemetry to a database or time-series system for performance analysis and diagnostics. - Build custom dashboards or alerting systems that react to heatpump state changes. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Nibe provides async communication with Nibe heatpumps via RS485 (NibeGW), TCP Modbus, or serial Modbus, supporting multiple F, S, SMO, SMOS, VVM, and VVMS series models. Yes, if you own a supported Nibe heatpump and need programmatic control or monitoring. The library is actively maintained, has no security vulnerabilities, installs cleanly, and supports modern Python versions (3.9–3.14). The copyleft license (LGPL 3) is standard for open-source projects and poses no barrier to personal or commercial use as long as you comply with derivative-work obligations. The main prerequisite is having the appropriate hardware gateway or Modbus interface; without it, the library cannot communicate with your heatpump. ## Install pip install nibe uv add nibe poetry add nibe ## Installing nibe Before you install: Low install friction with a pure-Python wheel. Actively maintained with a recent release (13 days old) and active repository status. Five runtime dependencies are all well-established async/retry libraries. License in practice: Licensed under LGPL 3 (copyleft). Derivative works and modifications must be released under the same license; proprietary applications using this library must comply with copyleft obligations. Quickstart: import asyncio from nibe.connection.nibegw import NibeGW from nibe.heatpump import HeatPump, Model async def main(): heatpump = HeatPump(Model.F1255) await heatpump.initialize() connection = NibeGW(heatpump=heatpump, remote_ip="192.168.1.2") await connection.start() asyncio.run(main()) Requires a Nibe heatpump with appropriate connection hardware (NibeGW gateway, Modbus interface, or serial adapter) and network/serial connectivity to the device. Verify before relying: - Whether the library supports reading and writing all coil parameters for each listed heatpump model, or only a subset. - Performance characteristics when polling many coils simultaneously or at high frequency. - Compatibility with custom or third-party Nibe hardware variants beyond the documented models. ## Package facts - License: LGPL 3 (copyleft) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 75.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags nibe heatpump communication, modbus heatpump control, nibe heat pump library, async heatpump integration, nibegw python library, nibe coil reading, heatpump monitoring python, heatpump-control, modbus, async-io [View on SkillFed](https://skillfed.io/packages/nibe) · [View on PyPI](https://pypi.org/project/nibe/)