All Projects → ericmagnuson → Rmcontrol

ericmagnuson / Rmcontrol

Licence: mit
RM Control — A python app to control an RM2 from BroadLink.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Rmcontrol

Homebridge Wol
A Wake on Lan plugin for Homebridge
Stars: ✭ 150 (+368.75%)
Mutual labels:  automation, homebridge, homekit
Homepoint
Espressif ESP32 Based Smarthome screen for MQTT
Stars: ✭ 391 (+1121.88%)
Mutual labels:  automation, homebridge, homekit
Homebridge Dacp
Remotely control Apple TV and iTunes via HomeKit.
Stars: ✭ 128 (+300%)
Mutual labels:  automation, homebridge, homekit
Homebridge Homematic
Homematic plugin for homebridge: https://github.com/nfarina/homebridge
Stars: ✭ 163 (+409.38%)
Mutual labels:  automation, homebridge, homekit
homebridge-switcheroo
Simple on/off or multiswitch radio buttons for http reqs. Useful for lights, A/V systems, home automation, whatever
Stars: ✭ 38 (+18.75%)
Mutual labels:  homebridge, homekit
homebridge-dyson-fan
A Homebridge plugin for controlling a Dyson fan.
Stars: ✭ 17 (-46.87%)
Mutual labels:  homebridge, homekit
homebridge-konnected
A Homebridge plugin for Konnected Alarm Panel devices
Stars: ✭ 25 (-21.87%)
Mutual labels:  homebridge, homekit
Homebridge Smartthings
SmartThings Homebridge Plugin
Stars: ✭ 323 (+909.38%)
Mutual labels:  homebridge, homekit
homebridge-crestron
homebridge & crestron
Stars: ✭ 47 (+46.88%)
Mutual labels:  homebridge, homekit
homebridge-lg-thinq-ac
Homebridge plugin for LG ThinQ-enabled portable air conditioner
Stars: ✭ 44 (+37.5%)
Mutual labels:  homebridge, homekit
Hoobs
Build your Smart Home with HOOBS. Connect over 2,000 Accessories to your favorite Ecosystem.
Stars: ✭ 325 (+915.63%)
Mutual labels:  homebridge, homekit
homebridge-tradfri-plugin
Ikea Tradfri plugin for Homebridge
Stars: ✭ 56 (+75%)
Mutual labels:  homebridge, homekit
HomeKit-Bridge
Enabled HomeKit integration via Homebridge for Indigo Home Automation
Stars: ✭ 43 (+34.38%)
Mutual labels:  homebridge, homekit
homebridge-ecobee3-sensors
Homebridge plugin that exposes Ecobee 3 sensors as HomeKit accessories.
Stars: ✭ 21 (-34.37%)
Mutual labels:  homebridge, homekit
homebridge-ranger
A HomeKit range extender for Bluetooth Low Energy (BLE) accessories.
Stars: ✭ 65 (+103.13%)
Mutual labels:  homebridge, homekit
Homebridge Tplink Smarthome
TP-Link Smarthome Plugin for Homebridge
Stars: ✭ 277 (+765.63%)
Mutual labels:  homebridge, homekit
Homebridge Unifi Protect
📹 Complete HomeKit integration for UniFi Protect with full support for most features including autoconfiguration, motion detection, and multiple controllers: https://homebridge.io
Stars: ✭ 335 (+946.88%)
Mutual labels:  homebridge, homekit
Homebridge Webos Tv
Homebridge plugin for LG webOS TVs
Stars: ✭ 433 (+1253.13%)
Mutual labels:  homebridge, homekit
Homebridge Camera Ffmpeg
Homebridge Plugin Providing FFmpeg-based Camera Support
Stars: ✭ 726 (+2168.75%)
Mutual labels:  homebridge, homekit
homekit-compatible-temperature-and-humidity-sensor
Build a HomeKit-compatible Bluetooth Temperature and Humidity Sensor
Stars: ✭ 17 (-46.87%)
Mutual labels:  homebridge, homekit

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.

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 (>6.0.0)
  4. node-gyp
  5. python (2.7) and python-dev

Installation

  1. git clone https://github.com/ericmagnuson/rmcontrol.git && cd rmcontrol
  2. sudo python setup.py install
  3. export FLASK_APP=rmcontrol; python -m flask initdb
  4. python run.py

RM Control can be interacted with by visiting the included web interface found at http://127.0.0.1:5000 or by talking directly with the API as described farther below.

VM Initialization (Under construction.)

  1. curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh
  2. sudo bash nodesource_setup.sh
  3. sudo apt update
  4. sudo apt install build-essential git libavahi-compat-libdnssd-dev nodejs node-gyp python-setuptools python-pip python-dev
  5. pip install pycrypto
  6. sudo reboot now
  7. sudo npm install -g --unsafe-perm request homebridge homebridge-httpmulti
  8. To install RM Control, follow the steps in Installation above.
  9. Using Homebridge-HttpMulti, configure Homebridge to send commands to the RM Control API. See config.json.sample for an example.

Supervisor Setup

  1. sudo apt install supervisor
  2. In /etc/supervisor/conf.d/, add two configuration files, rmcontrol.conf and homebridge.conf. See sample files for help.
  3. sudo systemctl enable supervisor
  4. sudo systemctl start supervisor

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

  • Add progress icon when learning.
  • Finish edit capability.
  • Gracefully handle errors if RM2 cannot be found.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].