Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-tuyapi-cloud

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-tuyapi-cloud

TuyaSmart Device Cloud API Node-RED module

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-54.84%
Maintainers
1
Weekly downloads
 
Created
Source

node-red-contrib-tuyapi-cloud

NPM version

This module allows users to control and query Tuya Smart Devices using Node-RED through the Tuya Cloud API. It uses the @tuyapi/cloud library to communicate with the Tuya Cloud API.

In order to setup the plugin you will need to obtain the credentials to talk to the API cloud service. Obtaining keys for the API (additional parameters secret2 and certSign are required) involves disassembling obtained an APK file (either official app or generated "demo" app from iot.tuya.com). For details see tuya-sign-hacking repo.

For the latest updates see the CHANGELOG.md

Pre-requisites

The Node-RED-Dashboard requires Node-RED to be installed.

Installation

npm install node-red-contrib-tuyapi-cloud

Restart your Node-RED instance and you should have the tuya api cloud request node available in the palette.

Settings

Once you've added the node to your flow setting up the configuration requires the Tuya Smart login credentials (the same as the ones registered through the TuyaSmart app), in addition to setting region, API version, and API Credentials (Key, Secret, Secret2, Certificate Signature and Region).

Getting the Key, Secret, Secret2 and Certificate Signature will require a bit of work documented at the tuya-sign-hacking repo.

Development

  1. After cloning, run npm install
  2. To build the TypeScript source for use in Node-RED run npm run build

Keywords

FAQs

Package last updated on 23 Jun 2019

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc