ESP32 Wired (no WiFi)



  • Would it be possible to add support for ESP32 systems with ETH interfaces connected to Mysensors? For example LAN8720 or others. Or if it's something that's quite trivial - please give me some tips on how to run such a set.



  • Generally, the problem is solved. All you need to do is initialize the PHY for ESP32 using the ETH.h library from the Espresiff package. Then it's a matter of eliminating the Wi-Fi initialization that is automatically started for ESP32. Interestingly, you can use two IP addresses at the same time, one from the PHY and the other from Wi-Fi - of course, Mysensors responds to both. If anyone is interested in the solution - I invite you to talk. I started Mysensors on the PHY of the Kicony KC868-A16 board and it works great.



  • Nice work there!

    Thank you for sharing your success, I am sure there will be others who have an interest in this type of set up.



  • It seems that using an Ethernet PHY (like LAN8720) with the ESP32 in a MySensors setup requires a bit of extra configuration, including initializing the PHY using the ETH.h library and disabling the default Wi-Fi initialization. Interestingly, this setup allows for dual IP addresses, with one for the Ethernet connection and another for Wi-Fi, which can be useful in certain applications.


Log in to reply
 

Suggested Topics

  • 90
  • 7
  • 4
  • 13
  • 4
  • 1

0
Online

11.5k
Users

11.1k
Topics

112.8k
Posts