alexa-raspberry

0.1.3 • Public • Published

Wemo Emulation Server

Emulates multiple devices using the "Wemore" Library on RaspberryPi (or anything running Node.Js) as Wemo Switches and executes commands described in the configuration.

// Example Configuration
{
	"Terminal A":{ 
		"oncommand": "/bin/chvt 1" 
	},

	"Display": { 
		"oncommand"  : "/opt/vc/bin/tvservice -p",
		"offcommand" : "/opt/vc/bin/tvservice -o"
	}

}

##Installation

// Install Globally
sudo npm install alexa-raspberry -g

##Execution

// Place devices.json in the execution path
alexa-raspberry

or

// Provide file path as
alexa-raspberry ./examples/devices.json
alexa-raspberry /etc/wemo/devices.json

##Usage Use the alexa app on your cell phone/tablet to search for devices

Alexa turn on 'Display'

Readme

Keywords

none

Package Sidebar

Install

npm i alexa-raspberry

Weekly Downloads

5

Version

0.1.3

License

MIT

Last publish

Collaborators

  • amansx