This project allows you to wirelessly control the power of an electrical device, such as an evaporative cooler! 🌬️
With a built-in web interface, you can control the device from any browser. You can even add the web page as a web application to your mobile home screen for quick access. Just tap the icon and start controlling your device instantly.
- 🛜 Two operating modes:
- Access Point Mode: Creates its own WiFi network for direct connection.
- Station Mode: Connects to an existing WiFi network.
- 🎛️ Web-based control panel – No need for additional apps!
- 🔧 Easy configuration – Set the device name, web page title, and host address in the
Wifi_Controller.inofile. - ⚡ Over-the-Air (OTA) updates – Upload new firmware directly from the web page.
- 🔄 Auto-switching WiFi – If no WiFi credentials are set, the device creates an Access Point.
- Flash the ESP8266 with the provided firmware using the Arduino IDE.
- On first startup, the module will try to connect to a WiFi network.
- If no credentials are stored, it will create an Access Point named "Cooler" (you can change this in the code).
- Connect to the device and access the settings page (📷 see below).
- Set up your WiFi credentials and switch between modes as needed.
- Control your device via the web interface!
Control the device easily from the web page.
Configure the WiFi mode and update settings.
Upload new firmware remotely using Over-the-Air updates.
- Compile the binary file:
- In Arduino IDE, go to
Sketch➝Export Compiled Binary.
- In Arduino IDE, go to
- Upload the
.binfile to the Update tab in the web interface. - Click Upload, and the ESP8266 will restart with the new firmware!
Modify these values in Wifi_Controller.ino to personalize your device:
#define DEVICE_NAME "Cooler"
#define WEB_TITLE "Cooler Controller"
#define HOST_ADDRESS "192.168.4.1"Change them to fit your needs! 🎯
This project is licensed under the MIT License.
For questions or suggestions, feel free to reach out via email: 📧 [email protected]