Originally posted by travisdh
View Post
Code:
Sub Main(ByVal Parm As Object) Try Dim CO(6) As Object CO(0) = "iphone" 'must be matched with a device name already in the plugin or 'All Clients' CASE SENSITIVE CO(1) = "Test Body" 'message body CO(2) = "Test Message" 'message text CO(3) = "high" 'low/normal/high/emergency CO(4) = "tugboat" 'message sound from list already in HomeSeer - must match CO(5) = Nothing CO(6) = Nothing hs.PluginFunction("Pushover 3P", "", "Pushscript", CO) Catch ex As Exception hs.WriteLog("", "Exception in script: " & ex.Message) End Try End Sub
Code:
hs.PluginFunction("Pushover 3P", "", "Pushscript", New Object() {"iphone", "test body", "test messages", Nothing, Nothing, Nothing, Nothing})
Comment