Camera switch on/off using relay pin

Hello guys,
I have been using 2 relays on cube autopilot for a while now. One to trigger shutter and one to switch camera on/off (DIY Multiport cable for Sony camera). The issue is, I’m able to use relay on my ch7 to switch on/off, but can’t use it as a mission command. I have tried using it as mission command but it only switches on the camera and doesn’t switch off. It’s vice versa sometimes and it’s inconsistent.
I really want feature on Mission planner & QGC to test relay pins on ground before launch of aircraft. Even the CLI is pulled out in latest arducopter versions.
Thank you!
Sorry for posting this topic both on cubepilot and ardupilot.
@tridge @tridge2 Any suggestions?