Thanks, that’s a lot clearer. I’m not very experienced with this kind of project (so may be wrong with my advice), but here are my initial thoughts.
I think you need to sniff how the controller is controlling the motors.
You could cut a spare RJ45 cord, and start with a multimeter and check voltages on the wires. If you get some RJ45 breakouts this would be easier. https://a.aliexpress.com/_mtNK09G
I’m not sure how safe tinkering with live 24v is. I’ve only fiddled with 5v.
My hunches would be:
It’s just acting as relay and turning power on/off or
If it’s got some electronics on the damper it might be using UART.
If it’s looking like the latter you could start investigating a similar approach to my project below.
You could always try posting/linking to this over on the ESPHome Discord. I had amazing help from ssieb over there for a vaguely similar project.
I suspect you’re going to have to do a fair bit of research and testing for this.
Here’s a very vaguely similar project I’m working on that may be of some use. It’s similar in the sense that there is basically a controller which is controlling two motors.
You do know that Ethernet and WiFi are not the same? It would make no sense to run Ethernet to the device just to provide power so that you can use WiFi.
You didn’t provide any specs or link to the valve, but most of them are 24VAC. You apply 24VAC to the valve to close it, remove power and it opens.
You have to get 24V to the damper, so why not use a 24VAC to 5VDC buck converter and a Wemos D1 mini at each valve? (ESP32 is way overkill for this). You can add a relay board to the Wemos to switch the power to the valve.
If this is on a central AC system, take care that you don’t close all of the dampers at the same time. The back-pressure could damage the fan unit, and if you close all dampers on a central heating system, you will likely damage the heat exchanger. (A very expensive repair).