Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
node-red-contrib-jacdac
Advanced tools
Node-RED nodes to talk to Jacdac.
Jacdac is a bus-based plug-and-play hardware and software stack for microcontrollers and their peripherals such as sensors and actuators. Jacdac is primarily designed for “modular electronics” scenarios that support rapid prototyping, creative exploration, making and learning through physical computing. Jacdac is designed to be cheap, flexible and extensible.
The nodes connect to a Jacdac bus via a USB and allow to listen for events or sensor readings.
This node uses node-usb which has specific installation requirements. If your node-red process crashes with
LIBUSB_ERROR_NOT_SUPPORTED
, your USB setup is not right.
Use Palette manager in node-red or run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-contrib-jacdac
You will need to connect a device with Jacdac firmware and USB port. You can learn more about compatible hardware at https://aka.ms/jacdac.
If you have a micro:bit V2 at hand, you can convert it into a Jacdac device by dropping custom firmware.
This node listens for Jacdac events and send them in the payload. You can browse the services specification catalog to discover which events are available.
This node listens for Jacdac reading and send them in the payload. You can browse the services specification catalog to discover which registers are avilable are available.
By default, the node looks for sensor reading, value and intensity registers. But you can override this behavior by customizing the register filters by name or code.
You can quickly scaffold a new node and add it to the node set. Use the following command to create my-new-node-type
node:
yarn add-node my-new-node-type
The node generator is based on mustache templates. At the moment there are three templates available:
blank
(used by default) - basic node for Node-RED >=1.0blank-0
- node with a backward compatibility for running on Node-RED <1.0config
- configuration nodeTo generate a node using a template, specify it as the third argument:
yarn add-node my-new-node-type blank
or
yarn add-node my-new-node-config config
Build & Test in Watch mode:
yarn dev
Create a production build:
yarn build
This repo was built using the node-red TypeScript starter.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
FAQs
Microsoft Jacdac for Node-Red
We found that node-red-contrib-jacdac 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.