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

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

  1. Fork it (https://github.com/faustinoaq/broadlink/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors