Socket
Book a DemoInstallSign in
Socket

node-red-contrib-sonoff-tasmota

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-sonoff-tasmota

Connect Sonoff Devices running the Sonoff-Tasmota firmware easy to node red

latest
Source
npmnpm
Version
3.0.0
Version published
Weekly downloads
40
-13.04%
Maintainers
1
Weekly downloads
 
Created
Source

node-red-contrib-sonoff-tasmota

NPM version

A Node-RED node, to control Sonoff switches running the awesome Sonoff-Tasmota firmware

Installation

Install node-red-contrib-sonoff-tasmota using npm:

npm install --save node-red-contrib-sonoff-tasmota

Usage

To use the node, just drag the node from the Sonoff section to the Flow, add the id and the mqtt broker. To control the switch you can use a true/false input node or connect a UI Button.

Sample FLOW

Sample Flow

[{
    "mode": "0",
    "id": "31a99116.86e71",
    "device": "light_livingroom",
    "type": "Sonoff device",
    "z": "c99f41b0.86e72",
    "broker": "31a99116.50a74e",
    "name": "Living Room Light",
    "onValue": "ON",
    "offValue": "OFF",
    "cmdPrefix": "cmnd",
    "statPrefix": "stat",
    "telePrefix": "tele",
    "x": 323.5,
    "y": 292,
    "wires": [
        ["83ebc5bb.bf90c8", "cf638ecc.54904"]
    ]
}, {
    "id": "31a99116.50a74e",
    "type": "mqtt-broker",
    "z": "",
    "broker": "localhost",
    "port": "1883",
    "clientid": "",
    "usetls": false,
    "compatmode": true,
    "keepalive": "60",
    "cleansession": true,
    "willTopic": "",
    "willQos": "0",
    "willPayload": "",
    "birthTopic": "",
    "birthQos": "0",
    "birthPayload": ""
}]

License

MIT © Steffen Müller

Keywords

node-red

FAQs

Package last updated on 01 Feb 2018

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