npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

node-red-contrib-comfee-dehumidifier

v0.4.45

Published

Node-RED cloud control for Comfee Luftentfeuchter MDDF-20DEN7, 20L/24h, app and WLAN

Readme

node-red-contrib-comfee-dehumidifier

Node-RED cloud integration for the Comfee Luftentfeuchter MDDF-20DEN7, 20L/24h, Raumgröße ca. 100m³ (40m²), APP-fähig mit WLAN-Steuerung. The node also supports compatible Comfee/Midea dehumidifiers using the authenticated Comfee/Midea cloud connection and device protocol.

Search terms: Comfee MDDF-20DEN7, Comfee 20L/24h, Comfee WLAN Luftentfeuchter, Midea dehumidifier, WiFi dehumidifier, Node-RED and NetHome Plus.

Beta-Version – Nutzung auf eigene Verantwortung

Diese Node befindet sich in der Beta-Phase. Es wird keine Garantie für Verfügbarkeit, Fehlerfreiheit, dauerhafte Kompatibilität mit Comfee/Midea- Cloud-Diensten, Firmware-Versionen oder Geräten übernommen. Die Nutzung erfolgt auf eigenes Risiko. Der Autor haftet, soweit gesetzlich zulässig, nicht für direkte oder indirekte Schäden, Fehlfunktionen, Datenverluste, Zugangssperren, Cloud-Ausfälle oder Schäden durch die Bedienung eines angeschlossenen Geräts. Vor dem produktiven Einsatz muss jeder Anwender die Funktion in seiner eigenen Umgebung prüfen und geeignete Schutzmaßnahmen vorsehen.

Status

The authenticated cloud connection, device commands and confirmed state responses are covered by offline tests and live validation. The package does not contain any user-specific device information.

Configuration

Install from the Node-RED Palette Manager after publication. Add a Comfee dehumidifier node and a Comfee account configuration node, then enter the same app account used by NetHome Plus. The password is stored by Node-RED as an encrypted credential and is not part of a flow export. Enter the device IP and, when required, select the device name from that account. The node polls state periodically and accepts commands as msg.payload; it emits confirmed state as msg.payload.

The node uses the authenticated cloud transparent-send path. No shared, demo, or developer account is used. The package contains no personal login, device name, device IP, serial number, MAC address, token, key, or exported flow credentials.

CCU3 / RedMatic

The node runs directly in RedMatic. It does not need Python, a second Raspberry Pi, MQTT, or a separate bridge. Install the published npm package by name and configure the Comfee/Midea app account in Node-RED. The runtime needs outbound HTTPS access to the provider and access to the device network where required.

Supported input examples:

"status"
{"power":true,"target_humidity":50,"mode":"continuous","fan":"high"}

Never put token/key values into a flow export: they are stored as Node-RED credential fields.

Vollständiger Beispiel-Flow

Das Paket enthält unter examples/comfee-example-all-functions.json einen anonymisierten Import-Flow mit dem Tab Comfee Beispiel – alle Funktionen. Der Flow ist nach dem Import deaktiviert, enthält keine Konten, Geräte-IPs, Geräte-IDs, Token oder Schlüssel und verwendet einen Junction-Knoten als gemeinsamen Befehlsbus. Die Inject-Knoten verwenden vollständige Node-RED- Felder, einschließlich onceDelay: 0, damit beim Import keine Warn-Dreiecke entstehen.

Der Flow enthält bestätigte Beispiele für Status, EIN/AUS, Betriebsarten, Zielfeuchte und Lüfterstufen. Der Debug-Knoten zeigt jeweils den vom Gerät bestätigten Zustand. Ionisierung, Pumpe und Tank-Warnschwellen sind nicht als steuerbare Befehle enthalten, solange sie für dieses Gerätemodell nicht unabhängig bestätigt sind.

Für einen Export in eine andere Node-RED-Installation den Tab im Node-RED- Menü über Export → aktueller Flow → JSON exportieren und anschließend importieren. Danach muss im Comfee-Knoten ein eigenes Konto ausgewählt und die eigene Geräte-IP sowie optional der eigene Gerätename eingetragen werden. Zugangsdaten, Token und Schlüssel werden nicht exportiert.

Publishing checklist

Run npm login, then npm publish --access public. After npm publication, submit the package to the Node-RED Flow Library; the current Node-RED guidance requires a manual submission for new packages. The final package name/scope must match the npm account that publishes it.

Planned input

{"power": true, "target_humidity": 50, "mode": "continuous", "fan": "high"}

The node must emit the state read back from the device after every command.