homestar-wemo
v0.1.23
Published
IOTDB Bridge for Belkin WeMo
Downloads
43
Readme
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
}