This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

zetta-wemothat-driver

0.4.0 • Public • Published

Zetta driver for Wemo

Extended Wemo driver for Zetta that provides broader model support and handles device events.

Supported Hardware

  • Wemo Light Bulb
  • Wemo Insight Switch
  • Wemo Switch
  • Wemo Motion
  • Wemo Maker
  • [ ] Osram Lightify TW
  • Osram Flex RGBW
  • Osram Gardenspot RGB

Install

$ npm install zetta-wemothat-driver

Usage

var zetta = require('zetta');
var Wemo = require('zetta-wemothat-driver');

zetta()
  .use(Wemo)
  .listen(1337)

Devices

Wemo Motion

This sensor emits the states motion or quiet.

Wemo (Color) Light

Transitions

turnOn()

Turns the bulb on.

turnOff()

Turns the bulb off.

dim(level = 0-255)

Turns the light on and dims it to the given level.

setColor(red = 0-255, green = 0-255, blue = 0-255)

Sets the light to the specified RGB color.

Wemo Switch

Transitions

turnOn()

Turns the switch on.

turnOff()

Turns the switch off.

Wemo Insight Switch

Streams

power

The current power consumption of the device in watts.

Transitions

turnOn()

Turns the switch on.

turnOff()

Turns the switch off.

License

Published under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i zetta-wemothat-driver

Weekly Downloads

0

Version

0.4.0

License

MIT

Last publish

Collaborators

  • timonreinhard