Skip to content

Commit

Permalink
Promoted version to 1.1.0. Added change log and updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-stepanov committed Jan 12, 2019
1 parent e0e755e commit 9eb8cb9
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
19 changes: 19 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
ESP8266-YEELIGHT-SWITCH CHANGELOG:

v1.1.0 12 Jan 2019
Features:
* #1: Support for multiple bulb switching
Bug fixes:
* #6: Switch unlinking is not remembered

v1.0.0 05 Jan 2019
Features:
* Use of local API, meaning nearly instantaneous light switching;
* Support for Yeelight devices discovery on the network;
* Visible user feedback using the ESP8266's built-in LED;
* Support for Wi-Fi network reconfiguration;
* Web interface with mDNS support to configure the switch;
* Support for turning the bulb on or off via web interface, including a direct URL for toggle;
* Storing of the user-selected light device in EEPROM (survives power off);
* No hardcoded or entered bulb IP addresses;
* Detailed diagnostics sent over serial interface.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Arduino project for controlling an Yeelight bulb using an ESP8266 MCU and a push
Program features:
* Use of local API, meaning nearly instantaneous light switching;
* Support for Yeelight devices discovery on the network;
* Support for multiple bulbs switching;
* Visible user feedback using the ESP8266's built-in LED;
* Support for Wi-Fi network reconfiguration;
* Web interface with mDNS support to configure the switch;
Expand All @@ -13,20 +14,19 @@ Program features:
* Detailed diagnostics sent over serial interface.

Current known limitations:
* Only one bulb at a time is supported;
* The bulb has to be online when the switch boots, otherwise the switch will start unlinked;
* No power-saving optimisations have been made; the switch will not last long on a battery source.
* The switch is not intended to operate on battery; see issue #3 for more details.

Usage:
1. review the configuration settings at the top of the program; compile and flash your ESP8266;
1. boot with the push button pressed, connect your computer to the Wi-Fi network "ybutton1", password "Yeelight", go to the captive portal, enter and save your Wi-Fi network credentials;
1. in your Wi-Fi network, go to http://ybutton1.local, run the Yeelight scan and link the switch to the bulb found;
1. use the push button to control your bulb manually;
1. access to http://ybutton1.local/flip to toggle the bulb from a script.
2. boot with the push button pressed, connect your computer to the Wi-Fi network "ybutton1", password "Yeelight", go to the captive portal, enter and save your Wi-Fi network credentials;
3. in your Wi-Fi network, go to http://ybutton1.local, run the Yeelight scan and link the switch to the bulb found;
4. use the push button to control your bulb manually;
5. access to http://ybutton1.local/flip to toggle the bulb from a script.

LED response to the button:
* 1 blink - bulb flip OK;
* 1 + 2 blinks - the bulb did not respond;
* 1 + 2 blinks - one of the bulbs did not respond;
* 2 blinks - button not linked to a bulb;
* 1 long blink - Wi-Fi disconnected.

Expand Down
2 changes: 1 addition & 1 deletion esp8266-yeelight-switch.ino
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const int BUILTINLED = D4; // MCU pin connected to the built-in L

// Normally no need to change below this line
const char *APPNAME = "ESP8266 Yeelight Switch";
const char *APPVERSION = "1.1beta1";
const char *APPVERSION = "1.1.0";
const char *APPURL = "https://github.com/denis-stepanov/esp8266-yeelight-switch";
const unsigned int BAUDRATE = 115200; // Serial connection speed

Expand Down

0 comments on commit 9eb8cb9

Please sign in to comment.