## RM Control RM Control is an app to control an RM2 by BroadLink. It allows users to learn IR and RF codes, store them, and fire them.
### Installation 1. python setup.py install 2. export FLASK_APP=rmcontrol; python -m flask initdb 3. python run.py
### Components 1. vue.js front-end 2. python back-end 3. process watcher by supervisord
### Requirements 1. build-essential 2. libavahi-compat-libdnssd-dev 3. nodejs v6+ 4. node-gyp
### VM Initialization 1. curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh 2. sudo bash nodesource_setup.sh 3. sudo apt-get update 4. sudo apt-get install build-essential git libavahi-compat-libdnssd-dev nodejs node-gyp 5. sudo reboot now 6. sudo npm install -g –unsafe-perm request homebridge homebridge-httpmulti
### Supervisor Setup Coming soon.
### API Documentation GET / Shows all commands.
POST / {name: <name>} Listens for a command from the RM2, and if a command is received, it will be saved with the given name.
POST /<name> Fire the given command.
PATCH /<name> {name: <name?>, code: <code?>} Edit the requested command by passing in a new name and/or code.
DELETE /<name> Delete the given command.
### To Do - Gracefully handle errors if RM2 cannot be found.
Release files for RMControl 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| RMControl-1.0.1.tar.gz | 5.1 kB | Details |
Release files / RMControl-1.0.1.tar.gz
| Download URL | RMControl-1.0.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d21578117915f8ce0f8a5909ea5ba328d99c899e11d47c1a26f8b956438ebf6
|
|
BLAKE2b-256 checksum How to use checksums |
091e7e66c9f12a5770efa592c76778daa8b13ffe2739ee597a02fa072d2f5abb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |