Announcement

Collapse
No announcement yet.

Trying to run script to send command from Homeseer to Allonis

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Trying to run script to send command from Homeseer to Allonis

    I'm trying to send commands from Homeseer to Allonis myServer, but every time I try I get an error:
    Running script(2) &hs.PluginFunction("BLML2HS", "", "MLServeCmd", {"Macro|SetVariable|my_variable1~hi!SetVariable|my_variab le2 ~there"}), init error: Invalid character
    No matter what command I send (the above is from the example in the documentation) I get this error. Any ideas? I've been using this plugin for years to send commands from myServer to Homeseer, but have never tried sending from Homeseer to myServer. Thanks!


    UPDATE - If I use &nhs.PluginFunction - it works fine.. Thanks
    Last edited by brett_cp; August 15, 2018, 01:41 PM.

    #2
    Can you try this:

    Code:
    &hs.PluginFunction("BLML2HS", "", "MLServeCmd", New Object(){"Macro|SetVariable|my_variable1~hi!SetVariable|my_variable2 ~there"})
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment

    Working...
    X