node-red-contrib-comfee-dehumidifier 0.4.41

Node-RED nodes for local Comfee/Midea dehumidifiers

npm install node-red-contrib-comfee-dehumidifier

node-red-contrib-comfee-dehumidifier

Node-RED integration for Comfee/Midea dehumidifiers using the local LAN protocol.

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 A1 frame, AES/8370 layer and TCP transport are implemented and covered by offline tests. Local UDP discovery was also verified against the Gartenhaus device: it responds on UDP 6445 and reports TCP port 6444, appliance type A1 and the numeric appliance ID required by the encrypted control protocol.

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.

If NetHome Plus does not issue a LAN token/key for the account, the node uses the authenticated cloud transparent-send path. No shared, demo, or developer account is used. The package contains no personal login, device IP, 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 cloud service after the credentials have been obtained. Install the generated .tgz from the RedMatic Palette Manager for a local test, or install the published npm package by name. The CCU3 must be able to route to the dehumidifier on TCP port 6444.

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

Auf der CCU3 wird ein eigener Tab Comfee Beispiel – alle Funktionen angelegt. Er enthält 20 getrennte Inject-Knoten für Status, EIN/AUS, Betriebsarten, Zielfeuchte, Lüfterstufen, Ionisierung, Pumpe und Tank-Warnschwellen. Alle Befehle laufen durch denselben Comfee-Knoten; der Debug-Knoten zeigt den vom Gerät bestätigten Zustand.

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. Nach dem Import muss nur der Account im Comfee-Knoten ausgewählt und das Gerät konfiguriert 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.

Node Info

Version: 0.4.41
Updated 2 hours ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • comfee-device
  • comfee-account

Keywords

  • node-red
  • comfee
  • midea
  • dehumidifier
  • smart-home

Maintainers