0.0.2 • Published 11 years ago

wemojo v0.0.2

Weekly downloads
4
License
-
Repository
bitbucket
Last release
11 years ago

WeMojo

Node module for interfacing with Belkin Wemo devices. Heavily inspired by wemonode but with a (hopefully) nicer API.

Getting Started

Install the module with: npm install wemojo

var WeMojo = require('wemojo'),
    Client = WeMojo.Client()

Client.startDiscovery()

Client.emitter.on('wemo:device-found', function (device) {

    if (device.deviceType == 'socket')
        device.turnOn()

})

License

Copyright (c) 2014 KomodoHQ
Licensed under the MIT license.