
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
node-red-contrib-mqtt-environment
Advanced tools
Mqtt node for Node-Red that can read environment varibles for mqtt broker uri.
This is a fork of the original node-red mqtt node with the added feature that the broker address can resolve environment variables. This allows for semi dynamic changeing of brokers without changing the actual flow that is loaded by node-red.
Credits to artcom for his node-red-contrib-mqtt-env node that is built on the same idea. A new node was created because this inital node by artcom dosen't seem to be under development as it is built on the old mqtt node that now is deprecated. Also a difference between artcoms node and this one is that this node can resolve several env variables and will concatinate it into the broker url.
Run the following command in your node-red directory.
npm install node-red-contrib-mqttenv
Before running node-red make sure that you have an environment variable set. eg export FOO=abc
.
Add a mqttenv node to your flow. Configure a mqtt broker as per usual. Then in the Server field where you would enter the url you can add your environment varibles eg.%FOO%.server.com
which once the node is running will be resolved to abc.server.com
FAQs
Mqtt node for Node-Red that can read environment varibles for mqtt broker uri.
The npm package node-red-contrib-mqtt-environment receives a total of 2 weekly downloads. As such, node-red-contrib-mqtt-environment popularity was classified as not popular.
We found that node-red-contrib-mqtt-environment demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.