Socket
Book a DemoInstallSign in
Socket

node-red-contrib-toypad

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-toypad

Nodes to read NFC data from the lego dimensions toypad

1.0.3
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

node-red-contrib-toypad

this is a collection of nodes to control the Lego Dimensions Toypad NFC reader via Node-RED.

Currently supported

✅ Reading NFC UIDs

✅ Detecting the different reader regions for the tags

✅ Controlling the RGB LED color for every section

✅ Fading LEDs

✅ Flashing LEDs

❌ Reading payloads

❌ Writing payloads

Installation

Linux

libusb needs to be installed. You also might want to create a udev rule.

sudo vim /etc/udev/rules.d/99-dimensions.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="0e6f", ATTR{idProduct}=="0241", MODE="0666"

Node-RED inside Docker

This needs some attention as you can't access USB right away. I've found success in adding the following lines to my docker-compose.yaml:

    devices:
      - '/dev/bus:/dev/bus'

Keywords

node-red

FAQs

Package last updated on 21 Aug 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.