Please login or register.

Login with username, password and session length
Advanced search  

News:

The Buster PiX10Hub is here! Created by the Community, for the Community.:)% #:)

Pages: 1 [2]

Author Topic: Program code to arm/disarm HG security control?  (Read 181 times)

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 19
  • Posts: 1321
Re: Program code to arm/disarm HG security control?
« Reply #15 on: January 13, 2020, 07:50:47 PM »

Not really. The Custom API command option covers everything for automation and saves having to navigate all those options. Itís actually easier to test the API command on a the browser bar first before trying it in the Wizard. You have all the info you need on the API commands in the HG documentation. The next step would be to create your own C# scripts and incorporate all the logic in one place.

Iím assuming my solution resolved your problem. Youíre over thinking everything. Keep it all simple. Write down what you want to achieve before attempting to create a solution. Youíll save yourself hours of frustration.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 266
  • Posts: 9698
  • I don't work for X10, I use it successfuly!
    • Tuicemen Software
Re: Program code to arm/disarm HG security control?
« Reply #16 on: January 14, 2020, 07:04:07 AM »

I actually find my self going back to the documentation more and more lately. My memory isn't  what it was think I have a leak  rofl
Thats one reason why I post & share some of my creations.
Glad to see you got everything worked out mike.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Find extra info @ My forum

mike

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 940
Re: Program code to arm/disarm HG security control?
« Reply #17 on: January 14, 2020, 10:16:32 AM »

Yes, I too am clicking on the program help more too  :)

I looked at the api info but couldnot find anything on Control.Disarm or armhome armaway commands so went my other way.    Petera, your suggestion to pick program security came too late;  I already solved it by modifying the other programs to do what I needed.
Logged
Pages: 1 [2]
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.