• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Control Shelly Switch(es) with ESP

Q&A Forum › Category: Home Automation › Control Shelly Switch(es) with ESP
0 Vote Up Vote Down
THOMAS KOEPPEL asked 6 years ago

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)

Question Tags: Shelly, Switch
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

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

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.