Crystal Broadlink
A simple Crystal API for controlling IR controllers from Broadlink. At present, the following devices are currently supported:
bold devices names has been tested successfully
- SP1
- SP2
- SP2
- Honeywell SP2
- SPMini
- SP3
- OEM branded SP3
- SP3S
- SPMini2
- OEM branded SPMini
- OEM branded SPMini2
- SPMiniPlus
- RM
- RM2
- RM Mini
- RM Pro Phicomm
- RM2 Home Plus
- RM2 Home Plus GDT
- RM2 Pro Plus
- RM2 Pro Plus2
- RM2 Pro Plus3
- RM2 Pro Plus_300
- RM2 Pro Plus BL
- RM2 Pro Plus HYC
- RM2 Pro Plus R1
- RM2 Pro PP
- RM Mini Shate
- A1
- Mp1
- MP1
- Honyar oem mp1
- Hysen
- Hysen controller
- S1C
- S1 (SmartOne Alarm Kit)
- Dooya
- Dooya DT360E (DOOYA_CURTAIN_V2)
Installation
Add this to your application's shard.yml
:
dependencies:
broadlink:
github: faustinoaq/broadlink
Usage
require "broadlink"
Broadlink.discover(timeout: 3) # get your local ip by connecting to 8.8.8.8:53
Broadlink.discover(timeout: 3, local_ip_adress: "192.168.0.10")
TODO Write usage instructions here
Development
TODO Write development instructions here
Contributing
- Fork it (https://github.com/faustinoaq/broadlink/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- mjg59 Matthew Garrett - original author
- faustinoaq Faustino Aguilar - creator, maintainer