This app will enable the Foscam alarm when set to a certain mode and disable the alarm when changed to a different mode. This will need a Foscam device type.
I like it! Giving it a try.
Instead of selecting the presence sensors themselves, why not just trigger on modes? I already have ST going into away mode when my presence sensors leave.