Sony ht nt5 Soundbar control

Hi all,
I have a verasecure and recently picked up a Sony ht nt5 Soundbar. Anyone have any tips on how to get the vera secure to talk to the soundbar? My ultimate goal is to be able to turn on and off the soundbar depending on the mode vera is currently in.

Thanks a bunch