Aeotec Nano 3 Way Wiring Issue

I have been reviewing the forums for the similar 3 way wiring issues and I can’t seem to find one that is quite like what I have. I am hoping someone on here has seen something similar or who understands how I should hook this up. Below is a wiring diagram I made of how the current 3 way switch is wired. I am not sure how I should hook up the Output and Switch wires in this configuration. I would like to have the device in Gang Box 1 if possible, but I am not sure if that will work or not. Any advice would be appreciated. Thanks in advance!

@Silver_Bullet
This should provide the answer Aeotec Nano Switch 3-way Wiring. You’ll mount your Nano at the fixture.