Hi all,
I don’t know if this is the best place to post this, since I don’t even have a yaml to share yet, but anyway.
I would like to build a device that opens a windows, and integrate it into HomeAssistant using ESPHome. Used with my existing temperature sensors, it could open windows strategically to create a through-draft, and used with my existing wind and rain sensors, it could close windows when a storm is brewing.
I am aware that commercial options for this exist, but they are terrifyingly expensive, and none that I have found online are available in my country anyway. So I have to DIY it if I want this. Also, it cannot be terribly ugly, or my wife will press the abort button.
Now, all of my windows look like this: https://imgur.com/TxuUX1p
There is a handle mechanism for closing it, which I will probably just remove. But at the bottom, there is an arm. When you open the window, it slides along a rail, and you tighten a screw to hold the window open. I don’t remember seeing windows like these any time I was overseas, but they are standard here.
Now, it seems to make the most sense to me to add a motor to the existing hardware, or at least, to piggyback on the existing concept. The reason for this is that the mounting points for this hardware are standardised and built into every windowframe in my house, so there are points I can pass bolts through without modifying the windowframe.
What I have thought of doing is this: put a servo motor at the fulcrum, like this: https://imgur.com/NbaiWul
It will swing the arm outward, sliding the locking head along the rail and pushing the window open. Given the dodgy state of the brass, it may be that friction will be too high to work well, but I can easily replace the old rail with a smooth rod - or even a linear rail.
I have a couple of metal gear servos that I picked up on sale a few months ago that apparently have 20kg/cm of torque, which seems like it should be powerful enough to move the window. However, what I am concerned about is that a servo would get wrecked doing this kind of work regularly. Surely it would need to remain powered the whole time if it is to hold the window open? Wouldn’t the stress of wind on the armature translate to stress on the gears?
Is there a more suitable (affordable) motor to use? Or a better way of opening the window entirely?
Or a method of relieving stress on the armature? I thought of using a second small motor to turn the screw of the locking mechanism, or replacing the locking mechanism with something mechanically similar like a peg through a hole in the sliding arm, which could be inserted/retracted with a solenoid.
Any kind of input or ideas would be appreciated, I’m spitballing here.