How can I switch between output and alternative function modes in an STM? - DevHeads IoT Integration Server