I am trying to get the geofencing in Vera Edge to work and read VeraProximity is a great app.
The app works great except I don’t know how to change a mode (home and away) when I enter or leave the geofenced area. I can toggle virtual switch’s or kick scenes off but not sure how to change the mode…
The official vera app geofencing didn’t work that well for me. How are others doing geofencing?
Use Vera Proximity to toggle switches or scenes as you have described. You then need to make the scene have an action to change the home mode state. I suggest using the Home Modes plugin (MiOS Apps) for this because it makes it a lot easier. You can do it without the plugin by using luup code. I don’t know the code right off hand but you should be able to search the forum and find it.
One thing that I do different than what I described above is that I use Vera Proximity to toggle a multiswitch and I use PLEG for my logic rather than scenes. The reasoning behind this is that I use the multiswitch to show my status (home/away) as well as my wife’s status (home/away) and the PLEG uses that to determine whether the house should be in home or away mode. I also use ping sensors as a back up for the geofencing because it is still not 100% reliable at this point.
[quote=“lingerba, post:2, topic:188498”]Use Vera Proximity to toggle switches or scenes as you have described. You then need to make the scene have an action to change the home mode state. I suggest using the Home Modes plugin (MiOS Apps) for this because it makes it a lot easier. You can do it without the plugin by using luup code. I don’t know the code right off hand but you should be able to search the forum and find it.
One thing that I do different than what I described above is that I use Vera Proximity to toggle a multiswitch and I use PLEG for my logic rather than scenes. The reasoning behind this is that I use the multiswitch to show my status (home/away) as well as my wife’s status (home/away) and the PLEG uses that to determine whether the house should be in home or away mode. I also use ping sensors as a back up for the geofencing because it is still not 100% reliable at this point.[/quote]
Similar usage here under UI 5. I use Vera Proximity to set Multi switches for everyone on the house except one daughter who uses iPhone, her switch is set by PLEG accessing the iPhone app… In addition PLEG can determine if no one is home it will then set the DSC Alarm to Armed Away.
Installed: Thu Aug 20 2015. 90 Day Evaluation Period which allows a total of 4 PLEG and/or PLTS plugins.
Triggers
Name Description
tHannahSwitchA Hannah Home/Away is turned off
tHannahSwitchH Hannah Home/Away is turned on
tNickSwitchA Nick Home/Away is turned off
tNickSwitchH Nick Home/Away is turned on
Modes
Mode Name
Home Home
Away Away
Conditions
Name Repeat Expression
cSwitchOn No tHannahSwitchH or tNickSwitchH
cSwitchOff No tHannahSwitchA or tNickSwitchA
Actions for Condition: cSwitchOff
Device Action
Mode Setting SetHouseMode Mode=2
Actions for Condition: cSwitchOn
Device Actions:
Mode Setting SetHouseMode Mode=1
You have to Enter your Vera Credentials (for remote access) and then List your Veras.
Until you “List your Veras” csan successfully see your Veras you will not be able to send commands to it.
What you have will work, but I think you can be more efficient with it. So I just have a couple of suggestions for you.
First, I recommend using a multi-switch rather than multiple virtual switches. Basically one multi-switch does exactly the same thing as 8 virtual switches. It is kind of just a personal preference, but it will be a lot cleaner to have on one “device” rather than separate devices. I believe it also saves memory on Vera as well. You can name each switch something specific too which makes it really easy to use.
Next, it seems like you have 2 switches for each person, one being “home” and one be “away”. Just like above, that will work, but you can be more efficient with it. I just have 1 switch (as part of a multi-switch) for each person. If the switch is on, it means the person is home. If the switch is off, it means the person is away. You can do the same thing for your overall home mode as well.
[quote=“lingerba, post:9, topic:188498”]What you have will work, but I think you can be more efficient with it. So I just have a couple of suggestions for you.
First, I recommend using a multi-switch rather than multiple virtual switches. Basically one multi-switch does exactly the same thing as 8 virtual switches. It is kind of just a personal preference, but it will be a lot cleaner to have on one “device” rather than separate devices. I believe it also saves memory on Vera as well. You can name each switch something specific too which makes it really easy to use.
Next, it seems like you have 2 switches for each person, one being “home” and one be “away”. Just like above, that will work, but you can be more efficient with it. I just have 1 switch (as part of a multi-switch) for each person. If the switch is on, it means the person is home. If the switch is off, it means the person is away. You can do the same thing for your overall home mode as well.[/quote]
Lingerba
Thanks for the recommendations.
I now have the multiswitch installed and configured for 2 switches as you recommended.
Really appreciate you and all the others who posted.
Thanks
N
Best Home Automation shopping experience. Shop at Ezlo!