0.0
No commit activity in last 3 years
No release in over 3 years
Yeelight CLI client
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 0
~> 10.0
~> 3.0

Runtime

 Project Readme

YeelightCli

Remote control of yeelight bulbs in a local network.

Bulbs need turning on remote control through a local network

First of all

The bulbs have to be available to be controlled throught a local network using an open protocol. The easiest way to turn the remote control on is to use a mobile application such as "Yeelight" or "Mi Home".

Here is going to be some screenshots.

Installation

Add this line to your application's Gemfile:

gem 'yeelight_cli'

And then execute:

$ bundle

Or install it yourself as:

$ gem install yeelight_cli

Console client usage

Synopsis: yeelight [global options] command [command options] [arguments...]

You can get the full list of options and commands with yeelight -h

Global options

Here is the list of global options you can use for any command:

  • -l lamp_identifier perform a command only for a specific lamp using its identifier
  • -r room_name perform a command only for a specific room
  • -g group_name perform a command only for a specific group
  • -s subgroup_name perform a command only for a specific subgroup
  • -d duration_in_ms set a duration for command performing a light effect
  • -e show a stack trace in case of error

Commands

  • discover prints names, ids and icons of all the selected lamps(lamps in the current network by default) screenshot
  • graph shows the graph of all the selected lamps and so on

License

The gem is available as open source under the terms of the MIT License.