Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save unresolvedsymbol/da495fe4b9c8395b67984f13640795c7 to your computer and use it in GitHub Desktop.
Save unresolvedsymbol/da495fe4b9c8395b67984f13640795c7 to your computer and use it in GitHub Desktop.
Controlling YeeLights without proprietary chinese apps.md
When I first bought these bulbs very cheap off AliExpress for about $20 an RGB bulb.
They also have light strips and etc that I'm sure this will apply to.
On my laptop:
I have installed yeecli which is a python module with a cli tool.
I have aliases eg.
```bash
pip install yee
# and for my aliases
# find this yourself obviously, all hostnames start with yeelight and iirc you can manually use the python module to search for them
BULB="192.168.1.183"
alias yee="yee --effect smooth --auto-on --ip $BULB"
alias bb="yee brightness"
alias bt="yee temperature"
alias bo="yee turn off"
alias bi="yee turn on"
alias bs="yee toggle" # idea thrown in for toggling, bulb switch
```
You may need to still temporarily install their app to setup it's 2.4GHz WiFi connection.
I have uninstalled it on all my android phones now and use Termux with the same such commands and aliases as my laptop.
My last goal is to have my pebble or amazfit bip watch control them using Termux:Tasker but I seem to have no luc with this at the moment. (See my issue in the termux-tasker repo ig)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment