Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
node-red-contrib-wifi370
Advanced tools
node-red node to ease the communication with wifi370 led controller
:bulb: Integrate your WIFI370 LED-Controller with Node-RED
node-red-contrib-wifi370 provides commands to control your WIFI370 LED-Controller with Node-RED.
Node-RED - is a visual tool for wiring the Internet of Things (IoT) - read more @http://nodered.org
This node outputs a message to msg.payload containing a buffer which can be send to the WIFI370 LED-Controller using the TCP node.
This node provides bit arrays messages which can be send using the TCP node
Inject node ---- Wifi370 node ---- TCP node
if you pass an rgb Array to this node it will be used instead.
msg.color = [ 255,255,255 ]
Output: data": [ 102, 1, 36, 65, 33, 2, 34, 255, 0, 1, 153 ]
value 3 represents ON/OFF 36/35
values 7,8,9 represents RGB 34,255,0
Inject node ---- Function node ---- TCP node
var CMD = {
INFO: ["239", "1", "119"],
ON: ["204", "35", "51"],
OFF: ["204", "36", "51"]
};
const buffer = new Buffer(CMD.OFF);
msg.payload = buffer;
return msg;
Controller | Supported | Type |
---|---|---|
LW12 | [x] | RGB |
LD382 | [x] | RGB |
LD382A | [x] | RGB |
LD686 | [x] | RGBW |
Thanks to Meik Dirkes for reverse engineering the communication for all controller types.
Link to Amazon (Germany): Link
Find the exported flow example in "test" directory
cd node-red/
npm install node-red-contrib-homematic
On the host machine
docker run \
--name nodered \
--restart=always \
-v /home/docker/node-red:/data \
-p 1880:1880 \
-d nodered/node-red-docker
Also on the host machine
cd /home/docker/node-red
npm install node-red-contrib-homematic
You can easily extend this module to fit your needs by editing the html file. feel free to create a pull request!
See the LICENSE file for license rights and limitations (MIT).
FAQs
node-red node to ease the communication with wifi370 led controller
The npm package node-red-contrib-wifi370 receives a total of 1 weekly downloads. As such, node-red-contrib-wifi370 popularity was classified as not popular.
We found that node-red-contrib-wifi370 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.