Hi, I have a home installation with Shelly components to turn lights on and off. With the mobile application this works fine (Shelly 2.5 and Shelly 1PM).
Unfortunately, there is no wireless LAN switch that I can place anywhere to control one of these devices. My idea now is to use an ESP32 or ESP8266. With a box (with pushbutton) and an ESP it should be possible to control such a device via WLan? Maybe someone has done this before. I don’t have much experience with programming, but my Node MCU is blinking.
With pleasure I accept suggestions or a useful program. Thomas K.
Translated with DeepL.com/Translator (free version)
Hi Thomas.
I’ve never experimented with Shelly devices and we don’t have any tutorials about that subject.
But can you better explain what you’re trying to achieve?
Basically, you want to control a Shelly device using an ESP32 or ESP8266 via Wi-Fi (but without internet)? Is that it?
You need to flash the Shelly device with a custom firmware. It has TX, RX, GPIO 0 and GND pins, so you should be able to upload new firmware. It uses an ESP8266, so you should be able to upload Arduino code.
If you want to control it without internet, you can set it as an access point, and then, connect to its network using your smartphone:
Example of access point:https://randomnerdtutorials.com/esp8266-nodemcu-access-point-ap-web-server/
Example of web server: https://randomnerdtutorials.com/esp8266-web-server/
Many people program their Shelly devices using Tasmota (it’s very popular among these devices, but we don’t have any tutorials about these but the documentation is good): https://github.com/arendst/Tasmota/wiki/Shelly-1
Let me know if you need further help.
Regards,
Sara