npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@rfnovo/node-red-eufy-security

v0.0.2

Published

Eufy security node for Node RED

Downloads

1

Readme

node-red-contrib-eufy-security

Note: not all events and command have been tested, check list below.

Tested events:

  • connect
  • close
  • push connect
  • push close
  • push message
  • device added
  • station added
  • station command result
  • station guard mode
  • station current mode
  • station property changed
  • station raw property changed
  • device property changed
  • device raw property changed

Tested commands:

  • connect
  • close
  • get config
  • get version
  • is push connected
  • is connected
  • refresh data
  • get stations
  • get devices
  • get camera max livestream duration

Tested commands with props:

  • is station connected (stationSN)
  • get station (stationSN)
  • get device (deviceSN)
  • connect to station (stationSN)
  • set camera max livestream duration (seconds)

Not tested commands:

  • get station device (stationSN, channel)

Description

Node-RED contribution package for Eufy security devices, based on eufy-security-client

Node RED plugin wrapper around eufy-security-client library to access and control by connecting to the Eufy cloud servers and local/remote stations over P2P.

Install

Run the following command in the root directory of your Node-RED install

npm install node-red-contrib-eufy-security

How to use

  1. Find eufy-security node in network group and add it to the flow, connect with inject node as input and debug node as output;
  2. Configure eufy-config by providing your cloud credentials;
  3. (optional) Select events to track;
  4. Deploy flow;
  5. If all configured correctly you should see Connected under the node;
  6. This node will send events as objects to output:
{
  pyload: {
    event,
    station,
    device,
    result,
    currentMode,
    command,
    error,
  }
}

Suported events:

  • connect
  • close
  • push connect
  • push close
  • push message
  • station added
  • station removed
  • device added
  • device removed
  • device connect
  • device close
  • tfa request
  • cloud livestream start
  • cloud livestream stop
  • station livestream start
  • station livestream stop
  • station download start
  • station download finish
  • station command result
  • station rtsp url
  • station guard mode
  • station current mode
  • station property changed
  • station raw property changed
  • station alarm event
  • device property changed
  • device raw property changed
  • device crying detected
  • device sound detected
  • device pet detected
  • device motion detected
  • device person detected
  • device rings
  • device locked
  • device open

Also you can send commands to this node in this form:

{
  pyload: {
    command,
    stationSN,
    deviceSN,
    name,
    value,
    verifyCode,
    seconds,
    p2pConnectionType,
    channel,
  }
}

Supported commands with arguments (? means optional):

  • set station property (stationSN, name, value)
  • set device property (deviceSN, name, value)
  • get config
  • get version
  • is push connected
  • is connected
  • connect (?verifyCode)
  • close
  • set camera max livestream duration (seconds)
  • get camera max livestream duration
  • refresh data
  • is station connected (stationSN)
  • connect to station (stationSN, p2pConnectionType)
  • get station (stationSN)
  • get stations
  • get station device (stationSN, channel)
  • get device (deviceSN)
  • get devices