pyngbsicon
Asynchronous Python client for NGBS iCON heating/cooling controllers, using the controller's local JSON-over-TCP service protocol (TCP port 7992). No cloud, no runtime dependencies, Python 3.12+.
This is the protocol library behind the NGBS iCON Home Assistant integration. The protocol is documented in docs/protocol.md.
import asyncio
from pyngbsicon import IconClient
async def main() -> None:
# The SYSID is discovered automatically (firmware 1079 and later).
client = IconClient("192.0.2.10")
state = await client.get_state()
for room in state.configured_thermostats.values():
print(room.name, room.temperature, room.active_setpoint)
# Returns once the thermostat has adopted the value (about two seconds).
state = await client.set_setpoints("1.1", heat=22.5)
asyncio.run(main())
Writes are confirmed: the thermostat, not the controller, has the final word on a
setpoint. It rounds to 0.5 °C and clamps the value to its allowed range (the clamped
value is returned); a value it discards raises IconRejectedError.
Command line:
pyngbsicon scan # find controllers on the local network
pyngbsicon status 192.0.2.10 # complete state (--json for JSON)
pyngbsicon set 192.0.2.10 1.1 --heat 22.5 # setpoints
pyngbsicon eco 192.0.2.10 on # system ECO (--thermostat 1.1 for one room)
pyngbsicon lock 192.0.2.10 1.1 on # child lock
pyngbsicon raw 192.0.2.10 '{"RELOAD": ""}'
Licensed under the Business Source License 1.1 — free for end users; see LICENSE.
Metadata
Release files for pyngbsicon 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyngbsicon-0.1.0.tar.gz | 35.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyngbsicon-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 61.8 kB
Release files / pyngbsicon-0.1.0.tar.gz
| Download URL | pyngbsicon-0.1.0.tar.gz |
|---|---|
| Size | 35.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85c7c1d994b72ff99aa34cf55c35cac1776f0fa776a8e14815f19be3c57b42b7
|
|
BLAKE2b-256 checksum How to use checksums |
c7d06de9b845026f8bc6b514a4649afc49dd00c97d55b0be10c9f63b568f7bff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency logRelease files / pyngbsicon-0.1.0-py3-none-any.whl
| Download URL | pyngbsicon-0.1.0-py3-none-any.whl |
|---|---|
| Size | 26.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cfdcf76a434f68b33b627ada4d070c27fbe1f4aa193dba229e34ac87540ab6c2
|
|
BLAKE2b-256 checksum How to use checksums |
bd23990d2cf331c47b952b19569f686ac8234d47cb05994eba4d40fcca8e8309
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency log