You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Program features:
8
8
* Support for Wi-Fi network reconfiguration;
9
9
* Web interface with mDNS support to configure the switch;
10
10
* Support for turning the bulb on or off via web interface, including a direct URL for toggle;
11
-
* Storing of the user-selected device in EEPROM (survives power off);
11
+
* Storing of the user-selected light device in EEPROM (survives power off);
12
12
* No hardcoded or entered bulb IP addresses;
13
13
* Detailed diagnostics sent over serial interface.
14
14
@@ -19,7 +19,7 @@ Current known limitations:
19
19
20
20
Usage:
21
21
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", enter and save your Wi-Fi network credentials;
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
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
24
1. use the push button to control your bulb manually;
25
25
1. access to http://ybutton1.local/flip to toggle the bulb from a script.
@@ -32,11 +32,11 @@ Usage:
32
32
33
33
Prerequsites:
34
34
1. Hardware:
35
-
1. ESP8266
36
-
1. Push button connected to GPIO and pulled high;
35
+
1. ESP8266 (tested with ESP-12E Witty Cloud);
36
+
1. Push button connected to a GPIO and pulled high;
1. ESP8266 core for Arduino, https://github.com/esp8266/Arduino (version tested: 2.4.2);
40
+
1. WiFiManager library for Arduino, https://github.com/tzapu/WiFiManager (version tested: 0.14.0).
41
41
42
-
If you have an ESP with an onboard button, such as Witty Cloud Development board, the program can be used out of the box. Otherwise you need to wire the button and update the GPIO number in the source.
42
+
If you have an ESP with an onboard button, such as Witty Cloud Development board, the program can be used out of the box. Otherwise you need to wire the button and update the GPIO number in the source code.
0 commit comments