Hi, Patrick!
I’ve been trying to fix automatic home mode detection for a while. Yesterday I thought I had everything covered and working, with both geofencing and pingsensor detecting our phones connected to the home network. However, when I go into the reactorsensor to look today, the geofencing is false when at home. I’ve been trying to go into the Vera Mobile app to see if the geofence is right, which it is, and postioning on my phone is turned on, but still the geofence won’t update.
I hope you can help me trying to understand why the geofence won’t update (I’ve read the latest geofence post, but still need some explanation).
Some of the words in the logic summary are in Norwegian, and hope that’s OK.
EDIT: Here I am sitting at home, and suddenly it just changes house mode from home to away, even when the reactor is true on “Kenneth hjemme”. I really don’t understand this…
*************************************************** REACTOR LOGIC SUMMARY REPORT ***************************************************
Version: 3.3 config 19178 cdata 19082 ui 19195 pluginDevice 92
System: Vera version 1.7.4453 on Sercomm G450; loadtime 1564462002; systemReady 1564462018; Lua 5.1
Local time: 2019-07-30T14:08:18+0000; DST=0; ### Norway
House mode: plugin 2; system 2; tracking on
Sun data: { "stamp": 2019211, "civdawn": 1564451202, "nautdawn": null, "sunset": 1564516348, "nautdusk": null, "latitude": 60, "astrodusk": null, "longitude": 11, "civdusk": 1564520107, "astrodawn": null, "sunrise": 1564454960 }
Geofence: running in long mode, last update 13:59:00, data version 2
User 2326741 ishome=0 inlist= since=13:59:00
| 1 "Hjemme" type="home" status="" since=13:59:00
User 2538182 ishome=0 inlist= since=13:59:00
| 1 "Home" type="home" status="out" since=07:35:00
Raw: { "updated": 1564495684, "users_settings": [ { "id": 2326741, "ishome": 0 }, { "id": 2538182, "ishome": 0 } ], "mode": -1, "users": [ { "id": 2326741, "Level": 1, "Name": "kenmyh", "IsGuest": 0 }, { "id": 2538182, "Level": 1, "Name": "marthemyhre", "IsGuest": 0 } ], "usergeofences": [ { "geotags": [ { "radius": 250, "accuracy": 0, "id": 1, "color": "006e45", "ishome": 1, "name": "Hjemme", "address": "###", "longitude": "11", "latitude": "60", "PK_User": 2326741, "notify": 1 } ], "iduser": 2326741 }, { "geotags": [ { "radius": 250, "accuracy": 0, "id": 1, "status": "Exit", "color": "006e45", "ishome": 1, "name": "Home", "address": "###", "longitude": "11", "latitude": "60", "PK_User": 2538182, "notify": 0 } ], "iduser": 2538182 } ] }
====================================================================================================================================
Hjemmedeteksjon (#226)
Version 19082.14 07/29/19 15:02:41
Message/status: Not tripped
Condition group "Reactor Sensor 19" (OR) false as of 14:07:34 <root>
|-F-group "Kenneth hjemme" (OR) false as of 14:07:34 <grpg1f522n>
| |-F-ishome is 2326741,2538182 [2538182 => at 07:35:02; F/F as of 07:35:02/07:35:02] <cond0>
| |-F-ishome at 2326741,1 [out => at 13:59:02; F/F as of 04:04:02/04:04:02] <condfx0pwoy>
| |-F-service Kenneth tlf (227) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped = 1 [1 => 0 at 14:07:34; F/F as of 14:07:34/14:07:34] <condg37b66e>
|-F-group "Marthe hjemme" (OR) false as of 07:35:02 <grpg1f59gl>
| |-F-ishome is 2326741,2538182 [2538182 => at 07:35:02; F/F as of 07:35:02/07:35:02] <condg4qaklx>
| |-F-ishome at 2538182,1 [in => out at 07:35:02; F/F as of 07:35:02/07:35:02] <condg3804cv>
| |-F-service Marthe tlf (228) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped = 1 [1 => 0 at 07:31:49; F/F as of 07:31:49/07:31:49] <condg37sbtp>
Activity root.false
Change house mode to 2
Activity grpg1f59gl.true
Change house mode to 1
Activity grpg1f522n.true
Change house mode to 1
Events
07/30/19 13:06:24 runscene: scene=grpg1f522n.true, sceneName=grpg1f522n.true, group=1, notice=Starting scene group 1
07/30/19 13:06:24 endscene: scene=grpg1f522n.true, sceneName=grpg1f522n.true
07/30/19 13:06:24 sensorstate: state=true
07/30/19 13:21:34 devicewatch: device=227, old="1", name=Kenneth tlf, var=urn:micasaverde-com:serviceId:SecuritySensor1/Tripped, new="0"
07/30/19 13:21:34 condchange: newState=false, cond=condg37b66e, oldState=true
07/30/19 13:21:34 evalchange: newState=false, cond=condg37b66e, oldState=true
07/30/19 13:21:34 condchange: newState=false, cond=grpg1f522n, oldState=true
07/30/19 13:21:34 evalchange: newState=false, cond=grpg1f522n, oldState=true
07/30/19 13:21:34 condchange: newState=false, cond=root, oldState=true
07/30/19 13:21:34 evalchange: newState=false, cond=root, oldState=true
07/30/19 13:21:34 sensorstate: state=false
07/30/19 13:21:34 startscene: scene=root.false, sceneName=root.false
07/30/19 13:21:34 runscene: scene=root.false, sceneName=root.false, group=1, notice=Starting scene group 1
07/30/19 13:21:34 endscene: scene=root.false, sceneName=root.false
07/30/19 13:21:54 devicewatch: device=227, old="0", name=Kenneth tlf, var=urn:micasaverde-com:serviceId:SecuritySensor1/Tripped, new="1"
07/30/19 13:21:54 condchange: newState=true, cond=condg37b66e, oldState=false
07/30/19 13:21:54 evalchange: newState=true, cond=condg37b66e, oldState=false
07/30/19 13:21:54 condchange: newState=true, cond=grpg1f522n, oldState=false
07/30/19 13:21:54 evalchange: newState=true, cond=grpg1f522n, oldState=false
07/30/19 13:21:54 condchange: newState=true, cond=root, oldState=false
07/30/19 13:21:54 evalchange: newState=true, cond=root, oldState=false
07/30/19 13:21:54 startscene: scene=grpg1f522n.true, sceneName=grpg1f522n.true
07/30/19 13:21:54 runscene: scene=grpg1f522n.true, sceneName=grpg1f522n.true, group=1, notice=Starting scene group 1
07/30/19 13:21:54 endscene: scene=grpg1f522n.true, sceneName=grpg1f522n.true
07/30/19 13:21:54 sensorstate: state=true
07/30/19 13:46:30 action: action=Trip
07/30/19 13:46:30 sensorstate: state=true
07/30/19 13:59:02 devicewatch: name=Reactor, var=IsHome, device=92
07/30/19 13:59:06 action: action=Restart
07/30/19 13:59:06 start:
07/30/19 13:59:13 action: action=Restart
07/30/19 13:59:13 start:
07/30/19 13:59:21 action: action=Reset
07/30/19 13:59:21 sensorstate: state=false
07/30/19 13:59:21 startscene: scene=root.false, sceneName=root.false
07/30/19 13:59:21 runscene: scene=root.false, sceneName=root.false, group=1, notice=Starting scene group 1
07/30/19 13:59:21 endscene: scene=root.false, sceneName=root.false
07/30/19 13:59:27 action: action=Trip
07/30/19 13:59:27 sensorstate: state=true
07/30/19 14:07:34 devicewatch: device=227, old="1", name=Kenneth tlf, var=urn:micasaverde-com:serviceId:SecuritySensor1/Tripped, new="0"
07/30/19 14:07:34 condchange: newState=false, cond=condg37b66e, oldState=true
07/30/19 14:07:34 evalchange: newState=false, cond=condg37b66e, oldState=true
07/30/19 14:07:34 condchange: newState=false, cond=grpg1f522n, oldState=true
07/30/19 14:07:34 evalchange: newState=false, cond=grpg1f522n, oldState=true
07/30/19 14:07:34 condchange: newState=false, cond=root, oldState=true
07/30/19 14:07:34 evalchange: newState=false, cond=root, oldState=true
07/30/19 14:07:34 sensorstate: state=false
07/30/19 14:07:34 startscene: scene=root.false, sceneName=root.false
07/30/19 14:07:34 runscene: scene=root.false, sceneName=root.false, group=1, notice=Starting scene group 1
07/30/19 14:07:34 endscene: scene=root.false, sceneName=root.false
Devices
Marthe tlf (228) urn:schemas-demo-ted-striker:device:PingSensor:1 (0/-1); parent 0; plugin 1228
Kenneth tlf (227) urn:schemas-demo-ted-striker:device:PingSensor:1 (0/-1); parent 0; plugin 1228