Oleg Oleg
RUSSIAN FEDERATION, THE • + Follow
Edit Project
Description
MQTT wifi wall switch
MQTT wifi wall switch using ESP8266-01
Switch can be controlled via MQTT or touch button.
it is well suited for 68mm Europe wall boxes.
Switch is based on wifi board ESP8266-01.
Code is implemented in Arduino. Source files can be found in repository.
This project requires 220V mains to operate properly
If you are not familiar with mains DO NOT TRY TO INSTALL THIS SWITCH
Proceed only if you know what you are doing !!!
Wiring
Be sure you know what you are doing! Never touch any live wires ! Be sure to turn off electricity when dealing with mains!
If you do not have Neutral wire in the wall box (which you probably don`t), you will have to wire new cable and connect it to Neutral.
MQTT broker
To use this switch you need to have an MQTT broker like Mosquitto installed on a server or RaspeberryPi in your local wifi network.
To install Mosquitto, please follow this guide: Setup mosquitto MQTT broker
or this guie for RaspberryPi: Setup mosquitto MQTT broker on RPi
The bast practise is to set static IP address to the MQTT
broker server or raspberryPi running mosquitto.
WifiSwitch settings
This switch is using WifiManager project to set-up switch parameters.
When the switch is connected to mains,
it tries to connect to configured Wifi network and MQTT broker.
If it is not able to connect or is not configured, it enters the configuration mode.
Configuration mode
When in configuration mode, the switch creates its own wifi network.
This network`s SSID consists of string "ESP_HOME" followed by its MAC address
e.g: ESP_HOME A1:B2:3A:4E:2D:E2
This network has no Password.
After you connect to this network (e.g using smartphone) enter IP address
192.168.4.1
Then configure:
wifi SSID
wifi Password
MQTT broker IP (or DNS name)
MQTT broker port
MQTT username
MQTT password
MQTT topic
Jun 04,2020
4,394 views
end-flag
MQTT wifi wall switch
Switch can be controlled via MQTT or touch button.
it is well suited for 68mm Europe wall boxes.
4394
19
0
10.00 (2)
Published: Jun 04,2020
BOM(Bill of materials)
Purchase
Donation Received ($)
Under the
Attribution-ShareAlike (CC BY-SA)
License.

Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW
ESP32-S3 4.3inch Capacitive Touch Display Development Board, 800×480, 5-point Touch, 32-bit LX7 Dual-core Processor
BUY NOW
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(19)

Upload photo
0 / 10000
It looks like you have not written anything. Please add a comment and try again.
You can upload up to 5 images!
Image size should not exceed 2MB!
File format not supported!
-
micbanand Nov 09,2024
-
Engineer Aug 29,2024
-
W.M. Thilakshi Priyangika Herath Jun 15,2024
-
Sergii Mar 02,2024
-
Zoran Nikolic Jan 30,2024
-
Engineer Dec 08,2023
-
Ömer KANOĞLU Aug 25,2023
-
Engineer Aug 21,2023
-
Engineer Jul 17,2023
-
Engineer Jun 30,2022
-
Engineer Dec 18,2021
-
Jernej Chuchek Jul 17,2021
-
claudio nizza Apr 17,2021
-
Engineer Nov 30,2020
-
Engineer Jul 27,2020
-
Piotr Karpiewski Jul 05,2020
-
Serkan GURSOY Jun 15,2020
-
Dan PlasmaDan Jun 06,2020
-
Arpad Attila Bakos Jun 06,2020
View More
VOTING
2 votes
- 2 USER VOTES
10.00
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Design
1/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Usability
2/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Creativity
3/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Content
4/4

-
10design
-
10usability
-
10creativity
-
10content
10.00

-
10design
-
10usability
-
10creativity
-
10content
10.00
More by Oleg Oleg
-
Small passive DC constant current electronic load IntroductionA small passive DC adjustable constant current (CC) electronic load with temperature-con...
-
Small jlinkV9 downloader V1.0 Adopt typec interface, stm32f205 master control, lead SWD, SWO, support virtual serial port, resista...
-
IP2325 dual string lithium battery charging module Miniature charger for dual lithium batteries.Since the IP2325 does not have a charge balancing funct...
-
Electronic switch The operating voltage is within 30V. Depends on the PMOS voltage.
-
Power supply module NAE20S08 Is based on SY8288A / JW5068A series power supply ic Volume: 10x10x6mm Input range: 4-23vin Output: ...
-
Solder paste dispenser A portable miniature intelligent electric SMT solder paste dispensing pen supports quantitative extr...
-
Development Board STM32F103RET6 Development Board Series STM32F103RET6Resources on the board3.3/5.0/12V power input/output pinReset ...
-
DAPLINK and STM32 minimum system combination DAPLINK and STM32 minimum system combination, one data cable can complete the download and debugging...
-
USB to RS232 This is a program verification board. The main verification content is the function of USB to RS232 ...
-
ESP Air Burner The ESP downloader with Air Burnner interface uses probes instead of DuPont cables.
-
Docking station USB3.1 Using GL3520 USB 3.1 HUB chip,Supports super high speed, high speed and full speed USB connection, f...
-
RX5808 open source receiver 5.8g open source receiver, can receive 5.8g signal, AV video signal output. Rx5808 dual-reception fu...
-
5.8G image transmission module It can be used for AV signal audio and video wireless transmission; baby monitor; wireless camera se...
-
GRBL-ESP32 esp32s 3d is suitable for GRBL and marlin software
-
STM32 Sensor Node A Small STM32F103C8T6 board with all functional pins exposed. Similar to the BluePill Board except:N...
-
2.8 inch TFT touch screen The module uses a 2.8-inch TFT color LCD screen. The module is compatible with punctual atomic 2.8TF...
-
LED dot matrix clock LED dot matrix electronic clock based on 51 single chip microcomputer.Based on STC15W4K series ultra...
-
STM32F411Cx 401Cx minimum system + J-LINK debugger The STM32F411 / 401 microcontroller belongs to the STM32 Dynamic Efficiency series. These devices ar...
-
Small passive DC constant current electronic load IntroductionA small passive DC adjustable constant current (CC) electronic load with temperature-con...
-
Small jlinkV9 downloader V1.0 Adopt typec interface, stm32f205 master control, lead SWD, SWO, support virtual serial port, resista...
-
IP2325 dual string lithium battery charging module Miniature charger for dual lithium batteries.Since the IP2325 does not have a charge balancing funct...
-
Electronic switch The operating voltage is within 30V. Depends on the PMOS voltage.
-
Power supply module NAE20S08 Is based on SY8288A / JW5068A series power supply ic Volume: 10x10x6mm Input range: 4-23vin Output: ...
-
Solder paste dispenser A portable miniature intelligent electric SMT solder paste dispensing pen supports quantitative extr...
-
Development Board STM32F103RET6 Development Board Series STM32F103RET6Resources on the board3.3/5.0/12V power input/output pinReset ...
-
DAPLINK and STM32 minimum system combination DAPLINK and STM32 minimum system combination, one data cable can complete the download and debugging...
-
USB to RS232 This is a program verification board. The main verification content is the function of USB to RS232 ...
-
ESP Air Burner The ESP downloader with Air Burnner interface uses probes instead of DuPont cables.
-
Docking station USB3.1 Using GL3520 USB 3.1 HUB chip,Supports super high speed, high speed and full speed USB connection, f...
-
RX5808 open source receiver 5.8g open source receiver, can receive 5.8g signal, AV video signal output. Rx5808 dual-reception fu...
You may also like
-
-
Commodore 64 1541-II 1581 Floppy Disk Drive C64 Power Supply Unit USB-C 5V 12V DIN connector 5.25
167 1 3 -
Easy to print simple stacking organizer with drawers
87 0 0 -
-
-
-
Modifying a Hotplate to a Reflow Solder Station
1137 1 6 -
MPL3115A2 Barometric Pressure, Altitude, and Temperature Sensor
638 0 1 -
-
Nintendo 64DD Replacement Shell
495 0 2 -
V2 Commodore AMIGA USB-C Power Sink Delivery High Efficiency Supply Triple Output 5V ±12V OLED display ATARI compatible shark 100W
1442 4 3