Roof light automation

Hi all

I’m brand new to HA and have a yellow box on order. Exciting! I’m an experienced Java/JS programmer (30y+) but not confident on the hardware side.

My home has 3 large roof windows that I’d like to automate as follows:

  • auto close when rain is detected
  • open/close based on internal room temperature

My existing hardware is as follows:

  • Window controller that drives the window motors via two 240v inputs (open/close). Motors are 24v but that doesn’t matter
  • Tado room thermostats that currently control the UFH. I’m hoping these will provide the room temperature readings.

And so what I’m missing is:

  • Rain sensor
  • Relay/bridges/io modules to interface with the rain sensor and window controller.

Any advice much appreciated:

  • Z-wave, zigbee or thread
  • Externally powered rain sensor suggestion (not wanting battery powered). I’m tempted to use dumb one connected to an io module?
  • Compatible interface for the window controller
  • Will I be able to use Tado as the internal temp sensor?

Regards
Paul