"Integrating" Kidde Smoke Alarms?

I am not a licensed electrician but here is my setup and a local inspector didn’t have any issues with it 5 years ago when this was modified by adding another smoke with an addition.

The relay has both high and low voltage so be sure to use proper cabling. Then exposing the contact outside should be fine.