I’ve been testing different ways to get the CircuitSetup 6 channel energy meters working over ethernet, and I finally have a solution! This has been a long requested feature, since a lot of people don’t have good wifi where their circuit breaker boxes are located.
Definitely interested in this! I’ll be keeping an eye out for more of the adapter boards.
Side question: Would it be possible to isolate the ESP32 power supply from the energy meter PCB and use the POE addon for the Lilygo board? Trying to plan out some modifications to my setup, and I’d like to be able to keep the ESP board powered via POE on a UPS when I switch between AC Main, Generator, and Battery Backup (Bluetti).
You would have to remove component br1 (voltage rectifier) from the meter to power the esp32 and ICs via POE. I may put a jumper on the main board for a future revision.
Was thinking something like the ESP32-H2 or the C6 should work, would need to confirm the pinout. Saw you already have a library, so think it should be possible.
Unfortunately, the H2 or C6 would each require a different adapter. They wouldn’t be able to support all 42 current channels either since they’re more limited on GPIO’s than the S3. The ATM90E32 library is specific to Arduino, and there’s the ESPHome integration, but some additional coding would be needed to get data between SPI and Zigbee. ESPHome doesn’t yet support Zigbee on ESP32 chips.
Thanks, I hadn’t dug into the hardware design yet. This is a project I’ve wanted to do, just hadn’t had time to sit down and design it. Still think this will save me time on the hardware design. I found your repo and will dig into the design, was planning on building it in Arduino anyway, so the library is perfect. Ideally the smaller ESP will cover my requirements, since I don’t need the full 42 channels, but worst case I can adapt to another mc. I have multiple projects using arduino and xbee, so worst case that’s an option.
Also something interesting to keep an eye on: LilyGO just released the T-ETH-Elite which has the POE on-board, but also has LTE and LoRA shields, which could allow for reading remote panels (e.g. shops/outbuildings without direct internet).
Also take a look at what the code is doing in esphome for startup and setting calibrations. Properly setting the offset registers for power is currently being worked on.
I’m curious what you’re coding things in and how you plan on connecting everything? It would have to be added to Z2M and ZHA, right?