
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
node-red-contrib-unifi-client
Advanced tools
This project add some nodes to node-red, to interact with unifi from ubiquiti .
This project, is mainly a proof of concept of the library unifi-client, and so mainly reuse tested functions .
You can read nodes documentation here .
*: 2FA is supported, but not adapted to automated usage .
The recommended way to install this module is from the Node-RED GUI itself. Menu/manage palette/Install/search for unifi and then click install.
Allow you to do all the request you want to unifi . The node will do the connection and other for you, and then return directly the result of the request in msg.payload
Check for events on Unifi access Doors, and send a message per event .
Can be used to trigger a workflow depending on who open the door .
Ask to unlock a relais (doors for example)
Adding nodes to this library is pretty easy .
First of all, be sure to have a ready node-red environnement (follow install tutorial), then clone the repos and install it in node-red config directory with a local module npm i /home/thib3113/repo/
.
Then, you can create a new node, you can check the example of DoorEvents
:
- create a ts file in src/nodes
- create a classe extending Node
- export a function that will call the function "registerNode"
- create an html file with the same name as the ts file (without the extension)
- configure the package.json node-red part to add your node
To do request to Unifi, feel free to read the documentation of unifi-client .
When you are ready, open a PR
Thank you
FAQs
Nodes to access UniFi
We found that node-red-contrib-unifi-client 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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.