Announcement

Collapse
No announcement yet.

Script for arm/disarm system

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

    Script for arm/disarm system

    Im new to homeseer but I have been trying to get a script to work that will take input from hstouch field (code +1) for disarm or (code + 2) for away etc and send it to the plugin but the example in the help file doesn't work as it says that it can not find hspi_vistaalarm.

    Has anyone been able to get a script to work for this?

    #2
    scripting for hs3 is different.

    you will need to use the hs.pluginfunctionI() routine to make calls to any hs3 plugin. there should be plenty of examples of how to use this
    Mark

    HS3 Pro 3.0.0.534
    Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
    Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
    Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

    Comment


      #3
      Originally posted by crosenblum View Post
      Im new to homeseer but I have been trying to get a script to work that will take input from hstouch field (code +1) for disarm or (code + 2) for away etc and send it to the plugin but the example in the help file doesn't work as it says that it can not find hspi_vistaalarm.

      Has anyone been able to get a script to work for this?
      I ended up doing this in a different way.

      I recreated the keypad on HSTouch and created individual events for sending the numbers to the panel, then mapped the HSTouch numbers to the events. So when "1" is pressed on HSTouch it runs the event that sends "1" to the panel.

      Comment

      Working...
      X