Smoke detector wiring help

I live in a townhome and they said all smoke detectors are out of date and need to be changed 

no problem I swapped them all and tested them and they all work


yesterday we had an inspection and I didn’t pass because new code says they now must be tied to the sprinkler systen

what I need is a interconnect relay module

my issue is I’m not sure how it wires in,

I’ll post a couple pdf next but my smoke detectors (3of them wired together ) shows I just use black white and red wire


thr module shows 4 different ways to hook up with alarm pulls but none for a sprinkler, I just want confirmation on the way I should wire it in

thanks for any help

Just splice the hot (black) wire, strip a good 8 inches off and then wrap that around the sprinkler pipe.