Skip to main content

test-switchbot-devices

A sample node for switchbot

Version: 0.0.14Weekly Downloads: 7,813Updated: Jul 19, 2022

How to install

Run this in your ~/.node-red

npm install node-red-contrib-switchbot-devices

Introduction

With this node, you can get all your Switchbot devices with Node-RED.

Description

This node use SwitchbotAPI to get your list devices and their status with Node-RED.

  • Input: Switchbot Open Token
  • Output: List of devices you have in your account and their current status

Prequisite

Get Token

Download Switchbot app, login, Generate an Open Token within the app: Go to Profile > Preference > Tap App Version 10 times. Developer Options will show up > Tap Developer Options > Tap Get Token

Supports:

  • Node.js v 11.15.x
  • Node-Red v 1.0.5

How to use:

  • Create flow and add this node between an inject node and a debug node.
  • Edit list node with your Switchbot Token.
  • Inject and your list of devices will be returned in "debug" node.

Installation

Install in Node-RED via the palette manager.

Animation of the Node-RED palette manager: open Manage Palette, search for the node, then click Install.Node-RED Palette Manager dialog with the node selected and the Install button visible.

Quick Stats

Current Version0.0.14
Weekly Downloads7,813
First PublishedJul 15, 2022
Last UpdatedJul 19, 2022

External Resources

Need Help?

Get professional support for your Node-RED projects with FlowFuse.

CONTACT US