IoT Relay Plugin Sample Code