M5Stack Dial - ESP32-S3 Smart Rotary Knob

Hi there!

I have made my own integration using ESPHome. If anyone is interested, here you can find the full code and instructions.

Hope you like it!

6 Likes

@Brano69 @EnsconcE I was able to fix the error by changing the C++ lambda and was able to compile under ESPHome 2025.5.2. Maybe there are some breaking changes in the newer ESPHome releases.

I have raised an issue on GitHub Compile error and solution · Issue #2 · Skons/M5Dial · GitHub

1 Like

Pretty basic and I need to upload the transparent web icons although these are easy to find online and are in the esphome directory directly. YAML needs some tweaking. Hope to have some updates. Not a developer so a lot of it is pieces (specifically the LVGL) from others I managed to get working together.


1 Like

Please help!!!
The installation of “Mr. Avocado” proceeded without any problems. The values of the state of the vacuum cleaner, lights, air conditioner loaded and loaded without problems and displayed on the display
However, when I want to set a value (give a command) from the display nothing happens
If you can help!!!



I solved it :slight_smile: I forgot to enable Allow the device to perform Home Assistant actions"

1 Like

I am glad you got It working!

This one has popped up in more threads probably then any other issue regarding whyy something in HA can’t be controlled from an ESPHome device. I had the same issue with the first device that either controlled or read sensor data from HA and not something directly attached to the ESP32 pins. I know it’s documented but it’s just one of those things deep in the settings were most don’t go. I think I spent a good 2 hours the first time, assuming I was doing something wrong, before doing a search and immediate face palm after checking one box resolved everything. Wasn’t even aware it was an option until then. The good thing is you will never forget it in the future.

Hello to all

I’m using this code for a several time that is working like a charme, until some new update for the ESPHome Builder


m5-dial-for-esphome

Now I have this errors when I try to perform the update availabl via ESPHome Builder: `*****************************************************************

44 | #include “Network.h”
| ^~~~~~~~~~~
compilation terminated.
*** [.pioenvs/m5dial/lib64d/WiFi/WiFi.cpp.o] Error 1
*** [.pioenvs/m5dial/lib64d/WiFi/WiFiAP.cpp.o] Error 1
In file included from /data/cache/platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiSTA.h:30,
from /data/cache/platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFi.h:34,
from /data/cache/platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/AP.cpp:7:
/data/cache/platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.h:44:10: fatal error: Network.h: No such file or directory


  • Looking for Network.h dependency? Check our library registry!
  • CLI > platformio lib search “header:Network.h”
  • Web > PlatformIO Registry

44 | #include “Network.h”
| ^~~~~~~~~~~
compilation terminated.
*** [.pioenvs/m5dial/lib64d/WiFi/AP.cpp.o] Error 1`

Can some one please help me in oder to solve this issue? Thank you