@smart-home-services/wemo-controller

WeMo controller software using WebSockets and Redux-Observable.

Usage no npm install needed!

<script type="module">
  import smartHomeServicesWemoController from 'https://cdn.skypack.dev/@smart-home-services/wemo-controller';
</script>

README

WeMo SSDP LAN Controller

What is this library?

WebSockets-based WeMo Controller software.

Allows toggling WeMo devices using the SSDP LAN API. This allows the use of Flic buttons to control WeMo devices without the need for a phone. Just pair them with a device running the Flic SDK and have it fire requests at this HTTP server.

For an example use case, look at ./app.js.

Installation

npm

npm i @smart-home-services/wemo-controller

yarn

yarn @smart-home-services/wemo-controller

Custom Configuration

WebSocket Server

To configure the Webpack listener, you have 3 options available to modify in your ./localConfig.js:

module.exports = {
  // ... other config options ...
  hostname: 'raspberry-pi.local',
  port: 36002,
}

API Overview

Under Construction

API Docs

Under Construction