Announcement

Collapse
No announcement yet.

Autelis Plugin Script access

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

    Autelis Plugin Script access

    Hi,
    I'm trying to write a script that will control the pool. I was doing a simple

    hs.SetDeviceValueByRef(refId, (double)value, true);

    where the refId was for a feature.

    If I set the value to 1 (turning on from the off setting), the feature shows activated in Homeseer....until the autelis plugin pulls the status...which then resets back to 0. There was no autelis activity in the logs.

    What do I need to do to control the pool from the autelis plugin. Simply changing the device value doesn't seem to work.

    Appreciate the help.

    Greg

    #2
    Solved

    OK, looks like I need to do the call using the CAPI controller

    hs.CAPIControlHandler(hs.CAPIGetSingleControl(refId,true ,val,false,true));

    Sorry for the noise

    Comment

    Working...
    X