Hi there!
I'm thinking how nice it would be if the Domoticz security panel could automatically be armed when me and my phone exit a virtual geo-fence around my house (let's say when i get more than 120 meters away from my house) and automatically disarmed when me and my phone get back inside the virtual geofence.
Geo-fence based triggers are not a problem, there are several Android apps which can flip switches based on geo-fences. However, I have no idea how to arm/disarm the security panel in an automatic way, for example through JSON code. Is there any way to change the state of the security panel by JSON code, by scripts, by events, etc? I could not find any information about this. If there is such a way, how can the security PIN be transmitted in this automatic way?
Thank you!
Automatically arm/disarm security panel based on geo-fencing
Moderators: leecollings, remb0
- BazsoDombiAndras
- Posts: 56
- Joined: Thursday 08 January 2015 9:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v4.10717
- Location: Cluj-Napoca, Romania
- Contact:
Re: Automatically arm/disarm security panel based on geo-fencing
I think you can use the (paid) Domoticz app (Android only) for this. This app supports geo-fencing and you can flip a dummy switch that could arm/disarm your security panel.
- BazsoDombiAndras
- Posts: 56
- Joined: Thursday 08 January 2015 9:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v4.10717
- Location: Cluj-Napoca, Romania
- Contact:
Re: Automatically arm/disarm security panel based on geo-fencing
Thank you! Yes, I eventually figured out the same solution. I was surprised that the dummy switches can change the status of the Security Panel without transmitting a PIN, but I'm happy that it works. The only difference is that I use the Domotica app for flipping the dummy switch based on location. The Geo-fencing of the Domoticz app is worthless, it won't accept my location no matter what I do (not even if I give it coordinates). Domotica, on the other hand is 3 times cheaper and works well 

-
- Posts: 3
- Joined: Friday 17 March 2017 7:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Automatically arm/disarm security panel based on geo-fencing
Hey guys, I'm trying to figure this out myself. I created a dummy switch, but can't find a way to set the status for the security panel in Blockly or in the settings for the dummy switch.
Could you please explain to me how you have done this?
Could you please explain to me how you have done this?
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: Automatically arm/disarm security panel based on geo-fencing
did you try something like this?
I admit I use LUA to set it... never used blocky for such need
I admit I use LUA to set it... never used blocky for such need
- Attachments
-
- Cattura-1.jpg (13.5 KiB) Viewed 1802 times
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
-
- Posts: 3
- Joined: Friday 17 March 2017 7:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Automatically arm/disarm security panel based on geo-fencing
Thanks for your reply.
Yes, that's basically what I tried to do, but couldn't find an option to set the status for the panel.
Isn't the blue block just a notification for the log? Or can this also be used for setting the panel status?
Haven't used Lua before, but maybe I should get into that.
Would you mind sharing what your script looks like, and how to add it to the switch?
Yes, that's basically what I tried to do, but couldn't find an option to set the status for the panel.
Isn't the blue block just a notification for the log? Or can this also be used for setting the panel status?
Haven't used Lua before, but maybe I should get into that.
Would you mind sharing what your script looks like, and how to add it to the switch?
-
- Posts: 4
- Joined: Tuesday 07 July 2015 18:16
- Target OS: NAS (Synology & others)
- Domoticz version: 2.2619
- Contact:
Re: Automatically arm/disarm security panel based on geo-fencing
I'm looking for the same thing, why can't I set the alarm panel state in Blockly? Does anyone have an easy workaround.
-
- Posts: 53
- Joined: Saturday 05 August 2017 20:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Automatically arm/disarm security panel based on geo-fencing
Anybody found a solution? Having the same problem.
Who is online
Users browsing this forum: Google [Bot] and 1 guest