homestar-wemo

0.1.23 • Public • Published

homestar-wemo

IOTDB Bridge for Belkin WeMo devices.

About

See the samples for details how to add to your project. particularly model.js for "standalone" and iotdb.js for use in IOTDB / HomeStar projects.

Installation

Then:

$ npm install homestar-wemo

Use

Code to turn off all WeMo sockets

const iotdb = require('iotdb')
iotdb.use("homestar-wemo")

iotdb.connect("WeMoSocket").set(":on", false)

Models

WeMoSocket

This controls WeMo Sockets.

Functionality:

  • discover WeMo Sockets
  • turn on and off
  • get same (including notifications)

Attributes

  • on: true or false, purpose iot-purpose:on

e.g.

{
    "on": true
}

the socket is on / turn the socket on

WeMoInsight

NOT TESTED

Attributes

  • on: true or false, purpose iot-purpose:on

e.g.

{
    "on": true
}

WeMoLightSwitch

NOT TESTED

Attributes

  • on: true or false, purpose iot-purpose:on

e.g.

{
    "on": true
}

WeMoMotion

NOT TESTED

Attributes

  • motion: true or false, purpose iot-purpose:sensor.motion

e.g.

{
    "motion": true
}

WeMoCrockpot

NOT TESTED

Attributes

  • on: true or false, purpose iot-purpose:on

e.g.

{
    "on": true
}

Dependencies (3)

Dev Dependencies (9)

Package Sidebar

Install

npm i homestar-wemo

Homepage

homestar.io

Weekly Downloads

0

Version

0.1.23

License

Apache-2.0

Last publish

Collaborators

  • dpjanes