Registry / http-networking / node-red-iot-mqtt-api

node-red-iot-mqtt-api

JSON →
library1.0.1jsnpmunverified

A Node-RED custom node that integrates IoT MQTT APIs, enabling easy connection and data handling with MQTT brokers. Version 1.0.1 is the latest stable release, with a low release cadence. It simplifies IoT data flow in Node-RED by providing a dedicated node for MQTT-based IoT APIs, differentiating from generic MQTT nodes by offering pre-configured API integration for common IoT platforms.

npm install node-red-iot-mqtt-api
INSTALL
IMPORT
SIG · NODE-RED-IOT-MQTT-
N
node-red-iot-mqtt-api
http-networkingjavascriptv1.0.1
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

node-red-iot-mqtt-api
Install via Node-RED palette manager or npm: npm install node-red-iot-mqtt-api
This is a Node-RED custom node; import is not standard JS import, but rather installation and use within Node-RED.

Shows how to use the Node-RED node by installing it and creating a simple flow with an MQTT API node connected to a debug node.

// This package is a Node-RED node, not a library with code imports. // To use: In your Node-RED instance, install via Manage Palette or npm. // Then drag 'iot-mqtt-api' node from palette, configure MQTT broker and topic. // Example flow JSON (deploy to Node-RED): [{"id":"1","type":"iot-mqtt-api","z":"","name":"","broker":"","topic":"","x":400,"y":200,"wires":[["2"]]},{"id":"2","type":"debug","z":"","name":"","active":true,"console":"false","complete":"true","x":600,"y":200,"wires":[]}]
Debug
Known issues
breakingNode-RED version compatibility: Requires Node-RED >=2.0.0.
fix
Ensure Node-RED is updated to version 2.0.0 or higher.
affects: 1.0.1
gotchaMQTT broker must be configured; node will not work without a valid broker address.
fix
Set the broker property to the MQTT broker URL (e.g., mqtt://localhost:1883).
affects: >=1.0.0
deprecatedNode may use deprecated Node-RED APIs; check Node-RED logs for warnings.
fix
Consider alternative nodes or wait for update.
affects: 1.0.1
Errors
Common errors & fixes
TypeError: Cannot read property 'on' of undefined
MQTT broker not connected properly.
fix
Check MQTT broker configuration and ensure the broker is running.
Error: Invalid topic specified
Topic field is empty or incorrectly formatted.
fix
Provide a valid MQTT topic string (e.g., 'sensor/temperature').
Upgrade
Version history
1.0.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
10
OpenAI (training)
2
Resources
node-red-iot-mqtt-api — npm install node-red-iot-mqtt-api · libregistry