Man committed string of offences after attending ex's home :