Semi-Artificial Photoelectrochemistry Through Perovskite Integration And Elucidation Of The Local Environment