I have been testing this plugin from the website interface and everything has been working as anticipated. Now I am creating screens in HSTouch and need to send IR commands via a script.
I am trying to use the below sample script from the help file but it doesn't seem to be working but I could be substituting strings incorrectly.
Any help would be appreciated.
hs.PluginFunction("BLUSBUIRT", "", "SendIR", New Object(){"Device1","Power"})
I replace Device1 with Switch2 and Power with a2 but it doesn't appear to be sending the IR.
Below are screen shots:
IR Codes Created for Switch2
HSTouch Script
I am trying to use the below sample script from the help file but it doesn't seem to be working but I could be substituting strings incorrectly.
Any help would be appreciated.
hs.PluginFunction("BLUSBUIRT", "", "SendIR", New Object(){"Device1","Power"})
I replace Device1 with Switch2 and Power with a2 but it doesn't appear to be sending the IR.
Below are screen shots:
IR Codes Created for Switch2
HSTouch Script
Comment