FHEM Forum

FHEM - Hausautomations-Systeme => Unterstützende Dienste => Thema gestartet von: mfeske am 08 März 2021, 11:13:05

Titel: Geofency an gefancy / Roommate nur im webbhook test
Beitrag von: mfeske am 08 März 2021, 11:13:05
Hallo zusammen,

ich nutze schon relativ lange Geofency für IOS und bin zu frieden. In letzter Zeit hat jedoch FHEM den Status für roommate nicht angepasst, obwohl im notify eine entsprechende Reaktion vorhanden ist. Sofern ich den webhook im Geofency mit betreten / verlassen teste funktioniert es fehlerfrei.

list Michael.location
Internals:
   DEF        geofancy:currLoc_Michael.* set rr_location_michael:FILTER=location!=$EVTPART1 location $EVTPART1
   FUUID      5c5007a6-f33f-a44f-2e2e-640b11aa2c74851c
   NAME       Michael.location
   NOTIFYDEV  geofancy
   NR         391
   NTFY_ORDER 50-Michael.location
   REGEXP     geofancy:currLoc_Michael.*
   STATE      2021-03-08 08:03:55
   TRIGGERTIME 1615187035.74278
   TYPE       notify
   READINGS:
     2021-03-07 19:45:35   state           active
Attributes:
   room       Haus


list rr_location_michael

Internals:
   DEF        Eltern,Bewohner
   DURATIONTIMER 1615198221.47684
   FUUID      5c5007a8-f33f-a44f-ae72-de1ba1ff1ccafaf2
   FVERSION   20_ROOMMATE.pm:0.195330/2019-06-02
   NAME       rr_location_michael
   NOTIFYDEV  global,
   NR         405
   NTFY_ORDER 50-rr_location_michael
   READY      1
   RESIDENTGROUPS Eltern,Bewohner
   STATE      home
   SUBTYPE    adult
   TYPE       ROOMMATE
   READINGS:
     2021-03-07 19:41:24   durTimerAbsence 00:00:00
     2021-03-07 19:41:24   durTimerAbsence_cr 0
     2021-03-08 11:09:21   durTimerPresence 15:27:57
     2021-03-08 11:09:21   durTimerPresence_cr 928
     2019-02-26 18:36:37   durTimerSleep   00:00:00
     2019-02-26 18:36:37   durTimerSleep_cr 0
     2021-03-07 19:41:24   lastArrival     2021-03-07 19:41:24
     2021-03-07 18:50:58   lastDeparture   2021-03-07 18:50:58
     2021-03-07 19:41:24   lastDurAbsence  00:50:26
     2021-03-07 19:41:24   lastDurAbsence_cr 50
     2021-03-07 18:50:58   lastDurPresence 45:03:13
     2021-03-07 18:50:58   lastDurPresence_cr 2703
     2021-03-08 08:03:55   lastLocation    home
     2021-03-07 18:50:58   lastMood        calm
     2021-03-07 19:41:24   lastState       absent
     2021-03-08 08:03:55   location        work
     2021-03-07 19:41:24   mood            calm
     2021-03-07 19:41:24   presence        present
     2021-03-07 19:41:24   state           home
     2019-02-26 18:37:18   wayhome         0
   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


Der webhook Test zeigt in den Logs folgendes:
2021.03.08 11:14:04 2: ROOMMATE set rr_location_michael location underway
2021.03.08 11:14:09 2: ROOMMATE set rr_location_michael location home
2021.03.08 11:14:09 3: CUL_HM set gong_LED led greenL 1
2021.03.08 11:14:10 3: CUL_HM set gong_MP3 playTone 0,001,0 1 10 108000
2021.03.08 11:14:19 2: ROOMMATE set rr_location_michael location underway
2021.03.08 11:14:56 1: Perfmon: possible freeze starting at 11:14:55, delay is 1.316


Ich habe jetzt durch testen herausgefunden, das webhook Test auch nur erfolgreich ist, wenn ich in einem WLan bin, sobald ich UMTS nutze gibt es einen timeout. Ich befürchte fast Vodafone hat die Ports gesperrt.

Gruß
Micha
Titel: Antw:Geofency an gefancy / Roommate nur im webbhook test
Beitrag von: Migul47 am 02 Mai 2021, 10:41:00
Hallo,

hab seit ca. einer Woche das gleiche Problem. Über VPN klappt es noch. Hab allerdings T-Mobile. Hast du schon mal einen Test im Internet versucht? Da klappt es bei mir. Konnte das Problem auf die Weiterleitung von Myfritz eingrenzen. Hab jetzt einen anderen DNS, da klappt es wieder.