Skip to content

Commit 9eb8cb9

Browse files
Promoted version to 1.1.0. Added change log and updated README
1 parent e0e755e commit 9eb8cb9

File tree

3 files changed

+27
-8
lines changed

3 files changed

+27
-8
lines changed

Changelog.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
ESP8266-YEELIGHT-SWITCH CHANGELOG:
2+
3+
v1.1.0 12 Jan 2019
4+
Features:
5+
* #1: Support for multiple bulb switching
6+
Bug fixes:
7+
* #6: Switch unlinking is not remembered
8+
9+
v1.0.0 05 Jan 2019
10+
Features:
11+
* Use of local API, meaning nearly instantaneous light switching;
12+
* Support for Yeelight devices discovery on the network;
13+
* Visible user feedback using the ESP8266's built-in LED;
14+
* Support for Wi-Fi network reconfiguration;
15+
* Web interface with mDNS support to configure the switch;
16+
* Support for turning the bulb on or off via web interface, including a direct URL for toggle;
17+
* Storing of the user-selected light device in EEPROM (survives power off);
18+
* No hardcoded or entered bulb IP addresses;
19+
* Detailed diagnostics sent over serial interface.

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Arduino project for controlling an Yeelight bulb using an ESP8266 MCU and a push
44
Program features:
55
* Use of local API, meaning nearly instantaneous light switching;
66
* Support for Yeelight devices discovery on the network;
7+
* Support for multiple bulbs switching;
78
* Visible user feedback using the ESP8266's built-in LED;
89
* Support for Wi-Fi network reconfiguration;
910
* Web interface with mDNS support to configure the switch;
@@ -13,20 +14,19 @@ Program features:
1314
* Detailed diagnostics sent over serial interface.
1415

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

2020
Usage:
2121
1. review the configuration settings at the top of the program; compile and flash your ESP8266;
22-
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;
23-
1. in your Wi-Fi network, go to http://ybutton1.local, run the Yeelight scan and link the switch to the bulb found;
24-
1. use the push button to control your bulb manually;
25-
1. access to http://ybutton1.local/flip to toggle the bulb from a script.
22+
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;
23+
3. in your Wi-Fi network, go to http://ybutton1.local, run the Yeelight scan and link the switch to the bulb found;
24+
4. use the push button to control your bulb manually;
25+
5. access to http://ybutton1.local/flip to toggle the bulb from a script.
2626

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

esp8266-yeelight-switch.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const int BUILTINLED = D4; // MCU pin connected to the built-in L
2424

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

0 commit comments

Comments
 (0)