# nodejs-wth-umr-connect

> Module to connect to WTH-UMR2 heating control system.

Latest version **0.1.0** (published 2026-01-18) · 0 weekly downloads

## Install

```sh
npm install nodejs-wth-umr-connect
pnpm add nodejs-wth-umr-connect
yarn add nodejs-wth-umr-connect
bun add nodejs-wth-umr-connect
```

## Health

**Score 40/100 (D)** — status: stable.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2026-01-18 |
| First published | 2023-08-01 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 46.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | roeland Kluit |
| Maintainers | roeland.kluit |

## Links

- npm: https://www.npmjs.com/package/nodejs-wth-umr-connect
- npm.io page: https://npm.io/package/nodejs-wth-umr-connect

## Dependencies (1)

- [strict-event-emitter-types](https://npm.io/package/strict-event-emitter-types.md) ^2.0.0

## Recent versions

- 0.1.0 (latest) — 2026-01-18
- 0.0.8 — 2026-01-15
- 0.0.6 — 2024-01-29
- 0.0.5 — 2023-12-30
- 0.0.4 — 2023-08-09
- 0.0.3 — 2023-08-01

## README

Module to connect to WTH-UMR2 heating control system.

Copyright:
 2023, Roeland Kluit

Installation:
 npm i nodejs-wth-umr-connect

Source:
 https://github.com/roelandkluit/WTH-UMR2

Usage:

import { UMRConnect } from "nodejs-wth-umr-connect";

async function main()
{  
  var UMR = new UMRConnect();

  UMR.SetHostname("172.16.16.63");

  UMR.on('onNewUMRDetected',(thermostat) => {
    console.log("NewDetect: " + thermostat );
  });

  UMR.on("onUMREcoChanged", (thermostat, eco) => {
          console.log("IsEco: " + thermostat  + " " + eco);
  });

  UMR.on("onUMROnOffChanged", (thermostat, ison) => {
        console.log("IsOn: " + thermostat  + " " + ison);
  });

  UMR.on("onUMRSetPointChanged", (thermostat, setpoint) => {
      console.log("Setpoint: " + thermostat  + " " + setpoint);
  });

  UMR.on("onUMRMessuredTemperatureChanged", (thermostat, temperature) => {
    console.log("Temperature: " + thermostat  + " " + temperature);
  });

  var t = await UMR.Start();
  console.log("Started");  
}

try {
    main();    
}
catch (error) {
    console.error(error);
}

---
_Source: https://npm.io/package/nodejs-wth-umr-connect · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
