Zigbee Actor to open/close a window

Hi,

i’ve got a window with a motor attached to it. The motor can be controlled with a two button switch. One for opening the window and the other one for closing the window.

Now i’m looking for a way to integrate this into my existing homeassistant smart home. I’m primarily using zigbee2mqtt to control all of the devices. So zigbee would be the prefered standard to use.

I know there are solutions out there but i’m a bit overwhelmed by it. Maybe one of you could give me a bit of advice on the topic.

i’ve found several actors. But they all seem to adress the topic of opening/closing blinds. I’m not sure if i could go with one of these for windows as well.

The electrical system is a german one.

Thanks in advance.

Stephan

I would use an ESP32 development board with 2 relays on them. I like the Lilygo T-series boards as they also have easy to access I/O pin outs as well.

Use each relay and wire as a button, one for open and one for close. You can also wire the old buttons that would be cut off as physical buttons to control through input ports.

I am guessing your buttons are momentary, so easiest option would be to count how many seconds it takes to open and close and then code momentary time in ESPHome to match. Or use door sensors to monitor open/close status, finally you could use a current sensor to measure when motor hits its limit.