No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 11 commits ahead, 1 commit behind bakkerr:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AbstractPL1167.h Initial commit Jul 24, 2015
LICENSE Initial commit Jul 24, 2015
Makefile Initial commit Jul 24, 2015
MiLightRadio.cpp
MiLightRadio.h Initial commit Jul 24, 2015
PL1167_nRF24.cpp
PL1167_nRF24.h
README.md Update README.md Jun 28, 2016
openmilight.conf.monit
openmilight.cpp Add support for emulating 4 milight bridges Jun 17, 2016
openmilight.init.d Add remote code for milight1 Jun 24, 2016
openmilight.service Remove debug and increase retries to 15 Mar 9, 2018

README.md

Install

Install https://github.com/mysensors/Raspberry.git

Compile this source

Usage

Usage: sudo ./openmilight [hdfslun:p:q:r:c:b:k:v:w:]

   -h                       Show this help
   -d                       Show debug output
   -f                       Fade mode
   -s                       Strobe mode
   -l                       Listening (receiving) mode
   -u                       UDP mode
   -n NN<dec>               Resends of the same message
   -p PP<hex>               Prefix value (Disco Mode)
   -1 RRRR<hex>             Code of remote for bridge 1 (Port 8891)
   -2 RRRR<hex>             Code of remote for bridge 2 (Port 8892)
   -3 RRRR<hex>             Code of remote for bridge 3 (Port 8893)
   -4 RRRR<hex>             Code of remote for bridge 4 (Port 8894)   
   -c CC<hex>               Color byte
   -b BB<hex>               Brightness byte
   -k KK<hex>               Key byte
   -v SS<hex>               Sequence byte
   -w SSPPRRRRCCBBKKNN<hex> Complete message to send
   
   For milight bridge emulation (replace ABCD with actual remote hex code, if simulating a real bridge/remote you can get the hex code by running openmilight -l (listen) and viewing the returned hex codes:
   ./openmilight -m -1 ABCD -2 ABCD -3 ABCD -4 ABCD

 Author: Roy Bakker (2015)
 Modifications for multiple milight bridges: Matthew Wire (2016)

 Inspired by sources from: - https://github.com/henryk/
                           - http://torsten-traenkner.de/wissen/smarthome/openmilight.php