Wanted to post how I got this all working because I couldn’t find anything on the web about enabling SPI on a wt32-eth01 OR how to use a wt32-eth01 with a 6-channel energy monitor because you wanted to get off wi-fi.
Connect your wt32-eth01 board to your usb serial adapter like pictured:
Install the ESPHome ADD-ON to your home assistant, so you can program blank esp32 boards.
Plug your usb serial adapter into a computer that can access your home assistant WEB GUI.
In your ESPHome add-on, add a new device.
When It asks how to install it, choose the USB serial option, for me it was (COM6)
Once successful, you now need to add an ESPHome INTEGRATION in home assistant NOTE: you must do this each time you add a new ESPHome board to your house. The add-on is only for programming the boards, not for utilizing them, thats what the integration is for.
Next wire up the wt32-eth01 to your energy board like pictured:
At the bottom of this post is the code that got it working. NOTE: for some reason if you try to use GPIO12 for something, it prevents the ethernet port from initializing.
You may have to reboot your home assistant instance if auto discovery isn’t working properly, but you can now go to your settings > devices/services > integrations tab > ESPHome > Devices, and see your values.
Someone needs to make adapter boards that can go over the existing pins on the CircuitSetup board and then can adapt to newer boards for simple swap outs.
I’m actually working on one for the T-ETH-Lite ESP32-S3. It has enough GPIOs for the add-on board CS pins (12 are needed for 6 add-on boards to measure 42 current channels).
The WT32-ETH01 will only work with the a single main board, but I still may make an adapter for that too if there is enough interest.
Not entirely true, the WT32-ETH01 can support 1x Main Board, AND 2x Expander Boards. To get it all together, I developed this wiring harness. I may get together with you later on your adaptors. Here are my wiring diagrams:
I sent you a contact msg on your CS website. Ideally I need to monitor only 2 power sources at 4 RV pedestals, so the dual channel card would be ideal. However I need to use ethernet not WiFi, Bluetooth or SPI, so the LilyGo T-ETH-Lite bd is needed. I also want to power the whole shebang with PoE so the ESP32-S3 Power POE Shield comes into play, tho that seems rather pricey for just a PoE option. PoE sure would simplify the installation tho.