Dumb Door Bell 220v to Smart Bell -Will this work?

Someone else solved it simply by added a reed switch…