Turn the alarm on an off?

SPC Web Gateway support issues
Post Reply
petar
Posts: 1
Joined: Fri 24 Oct 2014, 09:01

Turn the alarm on an off?

Post by petar » Fri 24 Oct 2014, 12:32

Hi, I just browsed through the specification but couldn't find how you can turn the alarm on an off. I want to build an app for my phone that uses GPS to identify when I am getting close to home and automatically turn off the alarm. Is this possible?

gol
Webbplatsadministratör
Posts: 80
Joined: Sun 01 Jun 2014, 19:38

Re: Turn the alarm on an off?

Post by gol » Fri 24 Oct 2014, 17:58

Hi Petar,
You use the Area Set Command to switch the alarm on/off.

If you only have one area the commands are:

PUT area/1/set
PUT area/1/unset

It is also possible to part set an area. For more info please see documentation.

One way to detect that a mobile is close home is to check if the mobile has wifi connection. Please read more here http://www.zwaveforum.se/viewtopic.php? ... 8628271fa0 (swedish)

Post Reply