Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

An extended Wemo driver for Zetta that provides broader model support and handles device events

License

Notifications You must be signed in to change notification settings

timonreinhard/zetta-wemothat-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An extended Wemo driver for Zetta that provides broader model support and handles device events

Resources

License

Stars

Watchers

Forks

Packages