Hallo zusammen,
ich verwende mehrere notify zum schalten der Location. EgiGeoZone schaltet korrekt und das Ereignis wird auch an FHEM übermittelt:
2017.07.18 17:54:57 2: ROOMMATE set rr_location_michael location home
.
define Michael.location notify geofancy:currLoc_Michael.* set rr_location_michael:FILTER=location!=$EVTPART1 location $EVTPART1
attr Michael.location room Haus
Als notify sehe ich in der Weboberfläche ein Michael.location 2017-07-18 17:54:57 aber bei der location bleibt ein Fragezeichen :-(
list von Michael.location:
DEF geofancy:currLoc_Michael.* set rr_location_michael:FILTER=location!=$EVTPART1 location $EVTPART1
NAME Michael.location
NOTIFYDEV geofancy
NR 386
NTFY_ORDER 50-Michael.location
REGEXP geofancy:currLoc_Michael.*
STATE 2017-07-19 15:10:24
TYPE notify
READINGS:
2017-07-17 22:29:43 state active
Attributes:
room Haus
Ein List auf rr_location_michael zeigt korrekte Werte:Internals:
CHANGED
DEF Eltern,Bewohner
DURATIONTIMER 1500446222.94894
NAME rr_location_michael
NOTIFYDEV global,
NR 400
NTFY_ORDER 50-rr_location_michael
READY 1
RESIDENTGROUPS Eltern,Bewohner
STATE ???
TYPE ROOMMATE
READINGS:
2017-07-17 20:51:18 durTimerAbsence 00:00:00
2017-07-17 20:51:18 durTimerAbsence_cr 0
2017-07-17 20:51:18 durTimerPresence 00:00:00
2017-07-17 20:51:18 durTimerPresence_cr 0
2017-07-17 20:51:18 durTimerSleep 00:00:00
2017-07-17 20:51:18 durTimerSleep_cr 0
2017-07-19 06:58:46 lastLocation home
2017-07-19 08:05:31 location work
TIMER:
rr_location_michael_DurationTimer:
HASH rr_location_michael
MODIFIER DurationTimer
NAME rr_location_michael_DurationTimer
Attributes:
alias Michael
devStateIcon .*home:user_available:absent .*absent:user_away:home .*gone:user_ext_away:home .*gotosleep:scene_toilet:asleep .*asleep:scene_sleeping:awoken .*awoken:scene_sleeping_alternat:home .*:user_unknown:home
group location
icon people_sensor
room Haus,Residents
rr_realname group
sortby 1
webCmd state
Allerdings auch hier ein state mit ??? :-(
Nachtrag: Ich habe jetzt ein initiales set rr_location_michael home
durchgeführt, also keine Fragezeichen mehr sondern ein ein home als state.
trotz 2017.07.19 15:10:24 2: ROOMMATE set rr_location_michael location work
kommt es aber nicht zum state absent :-(
Gruß
Micha