one of my goals for 2020 is to wake up more earlier than 2019 and this my initial efforts to do that (and hopefully successfully). it will work just turning on and off the yeelight's lamp. that's it!
this application is suppose to be used within your openwrt's router, but it is possible to extract the application and use in your computer.
- clone this folder to OPENWRT_SDK/package
- make menuconfig
- select this module
- make package/alarm-yeelight/compile
- clone this repository
- edit FIXED_LOCAL_ADDRESS definition to your local address
- git submodule init && git submodule update
- access src folder
- make
- execute ./alarm-xaiomi