Semiconductors for energy conversion and optoelectronics are increasingly complex: soft, chemically mixed, low-dimensional, and rich in defects. Their properties cannot be understood from static calculations of ideal crystals, because atomic motion, phase transformations, defects, charge localization, and interfaces shape their electronic, optical, and transport behaviour. This project develops a predictive, finite-temperature description of these phenomena by combining electronic-structure calculations (VASP, CP2K, FHI-aims, ABINIT) with machine-learned interatomic potentials of the neuroevolution-potential family in GPUMD, including charge-aware and tensorial models. We address four linked challenges: finite-temperature defects, polarons, and self-trapped excitons, including at semiconductor–water interfaces; correlated lattice dynamics, phase behaviour, mixing, and ion transport in Pb-, Sn-, and Ge-based halide perovskites; surfaces and interfaces in perovskite devices, molecular templating and passivation, and degradation by water; and vibrational, dielectric, and optical observables computed from finite-temperature trajectories. The materials are halide and oxide perovskites, lead-free perovskite-inspired semiconductors, and photoelectrochemical materials such as BiVO4, studied in close collaboration with experimental groups that provide direct validation through NMR, diffraction, and spectroscopy. The results will guide the design of stable and efficient solar cells, photoelectrodes, and related devices.