Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/octoblu/meshblu-wemo
Meshblu connector for wemo
https://github.com/octoblu/meshblu-wemo
Last synced: 10 days ago
JSON representation
Meshblu connector for wemo
- Host: GitHub
- URL: https://github.com/octoblu/meshblu-wemo
- Owner: octoblu
- License: mit
- Created: 2014-10-13T21:59:52.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-03T21:49:43.000Z (almost 9 years ago)
- Last Synced: 2024-12-11T09:52:10.073Z (25 days ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 1
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## meshblu-wemo
[![Build Status](https://travis-ci.org/octoblu/meshblu-wemo.svg?branch=master)](https://travis-ci.org/octoblu/meshblu-wemo)
[![Code Climate](https://codeclimate.com/github/octoblu/meshblu-wemo/badges/gpa.svg)](https://codeclimate.com/github/octoblu/meshblu-wemo)
[![Test Coverage](https://codeclimate.com/github/octoblu/meshblu-wemo/badges/coverage.svg)](https://codeclimate.com/github/octoblu/meshblu-wemo)
[![npm version](https://badge.fury.io/js/meshblu-wemo.svg)](http://badge.fury.io/js/meshblu-wemo)
[![Gitter](https://badges.gitter.im/octoblu/help.svg)](https://gitter.im/octoblu/help)A Meshblu connector for use in Octoblu or with other services.
### Setup Instructions
### Travis
1. `gem install travis`
1. `travis login`#### Travis (S3)
For use if you need to push your browserified version
1. `travis encrypt [S3_ACCESS_KEY_SECRET]`
1. add the generated key to the .travis.yml file under `secret_access_key` in the s3 deploy section.
1. also add the s3 `access_key_id` to the same sectionEnd result should look like this:
```yml
deploy:
- provider: s3
access_key_id: [S3_ACCESS_KEY]
secret_access_key:
secure: [S3_ACCESS_KEY_SECRET]
bucket: [UPLOAD_BUCKET] # octoblu-cdn
region: us-west-2
skip_cleanup: true
detect_encoding: true
local-dir: deploy
upload-dir: [UPLOAD_FOLDER] # js
on:
tags: true
all_branches: true
node: '0.10'
```#### Travis (NPM Deploy)[http://docs.travis-ci.com/user/deployment/npm/]
1. `travis encrypt [NPM_ACCESS_KEY]` - this key is found in `~/.npmrc`
1. add the generated key to the .travis.yml file under `api_key` in the npm deploy section.
1. also add the npm `email` to the same sectionEnd result should look like this:
```yml
deploy:
- provider: npm
skip_cleanup: true
clean_up: false
email: [NPM_EMAIL]
api_key:
secure: [NPM_ACCESS_KEY]
on:
tags: true
all_branches: true
node: '0.11'
```### Usage
#### Gateblu Installation
Use (gateblu)[https://gateblu.octoblu.com/] to run this as a device.
#### Manual Installation
1. `npm install meshblu-util -g`
1. `npm install meshblu-wemo` or `git clone [GIT_URL]`
1. go into connector folder
1. `meshblu-util register -t device:meshblu-wemo > meshblu.json`
1. `meshblu-util claim`
1. `npm start` or to start with debug `DEBUG='meshblu-wemo*' npm start`### Platform Dependencies
Edit the package.json to change the platformDependencies. This will show up when installing the connector in Octoblu and Gateblu.