---
title: "test-switchbot-devices • FlowFuse Integrations"
description: "FlowFuse builds your first industrial solution with your team, proves it at one plant, then helps you roll it out to every plant, faster each time."
canonical_url: "https://flowfuse.com/integrations/test-switchbot-devices/"
meta:
  "og:description": "FlowFuse builds your first industrial solution with your team, proves it at one plant, then helps you roll it out to every plant, faster each time."
  "og:title": "test-switchbot-devices • FlowFuse Integrations"
---

> Index of every page on this site: [llms.txt](https://flowfuse.com/llms.txt)

# **test-switchbot-devices**

A sample node for switchbot

**Version:** 0.0.14**Weekly Downloads:** 7,813**Updated:** 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](https://switch-bot.com/) devices with Node-RED.

## Description

This node use [SwitchbotAPI](https://github.com/OpenWonderLabs/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**](https://flowfuse.com/docs/node-red/getting-started/library/#using-the-palette-manager).

![Node-RED Palette Manager dialog with the node selected and the Install button visible.](https://flowfuse.com/images/integrations/palette-manager-install.png)

## **Quick Stats**

Current Version**0.0.14**

Weekly Downloads**7,813**

First Published**Jul 15, 2022**

Last Updated**Jul 19, 2022**

## **External Resources**

[View on NPM](https://www.npmjs.com/package/test-switchbot-devices)

## **Need Help?**

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

[**Contact Us**](https://flowfuse.com/contact-us/)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://flowfuse.com/#website","@type":"WebSite","description":"FlowFuse builds your first industrial solution with your team, proves it at one plant, then helps you roll it out to every plant, faster each time.","inLanguage":"en","name":"FlowFuse","url":"https://flowfuse.com/","alternateName":["FlowForge","Flow Fuse"],"publisher":{"@id":"https://flowfuse.com/#identity"}},{"@id":"https://flowfuse.com/integrations/test-switchbot-devices/#webpage","@type":"WebPage","description":"FlowFuse builds your first industrial solution with your team, proves it at one plant, then helps you roll it out to every plant, faster each time.","name":"test-switchbot-devices","url":"https://flowfuse.com/integrations/test-switchbot-devices/","isPartOf":{"@id":"https://flowfuse.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://flowfuse.com/integrations/test-switchbot-devices/"]}],"primaryImageOfPage":{"@id":"https://flowfuse.com/#logo"}},{"@id":"https://flowfuse.com/#identity","@type":"Organization","legalName":"FlowFuse Inc.","name":"FlowFuse","url":"https://flowfuse.com","alternateName":["FlowForge","Flow Fuse"],"logo":{"@id":"https://flowfuse.com/#logo"},"sameAs":["https://twitter.com/FlowFuseinc","https://github.com/FlowFuse","https://www.linkedin.com/company/flowfuse/","https://www.facebook.com/FlowFuse/","https://www.youtube.com/channel/UCbBzP8NZbv3WDtlt4UouA-g"]},{"@id":"https://flowfuse.com/#logo","@type":"ImageObject","caption":"FlowFuse","contentUrl":"https://flowfuse.com/handbook/images/logos/ff-logo--square--dark.png","inLanguage":"en","url":"https://flowfuse.com/handbook/images/logos/ff-logo--square--dark.png"}]}
```

## Sitemap

See the full [sitemap](https://flowfuse.com/sitemap.md) for all pages.
