PRESENCE liefert keine Rückmeldung

Begonnen von sw85, 31 August 2014, 08:46:19

Vorheriges Thema - Nächstes Thema

Timmy.m

Hallo sw85.

Ich habe das gleiche Problem.

http://forum.fhem.de/index.php/topic,25580.msg185744.html#msg185744

Leider auch keine Lösung, außer das ich die FHEM neu starte nach Modifikationen an FHEM.

Grüße Tim
FHEM5.9@RaspPi.3B|HMLAN|CUL868V3|1Wire|HUE|FritzBox|BotVacDconnected|3xKindleDisplay|
FHEM2FHEM|
FHEM5.9@RaspPi.2B|nanoCul868|TCM310|JeeLinkClone|RFXTRX433E|ZWave|Zigbee|xiaomi
RaspberryMatic@RaspPi.3B+ in Planung

bamm-bamm

Also MIT Zeitangabe funktioniert das bei mir einwandfrei:

"define Sony PRESENCE lan-ping 192.168.55.60 900"

Spuckiii

Hallo guckt euch doch mal das Modul Roommate in Verbindung mit Geofency an.  Sollte es auch (glaube ich) für Android geben. funktioniert super bei mir. (Iphone 5).

sw85

Hallo Zusammen,

ich habe noch mal ein bisschen rumprobiert. Für mich sieht es so aus, als würde PRESENCE das Ping-Ergebnis einfach nicht verarbeiten. Unabhängig davon ob das Handy im WLAN ist, hört zumindest die Log-Datei nach dem Ergebnis auf. Ich finde nirgends einen Eintrag, dass der Presense-Wert geändert wurde:

Handy abwesend:
2014.09.20 08:47:37 5: PRESENCE (Handy) - stopping timer
2014.09.20 08:47:37 5: PRESENCE (Handy) - starting blocking call for mode lan-ping
2014.09.20 08:47:38 5: PRESENCE (Handy) - starting ping scan: Handy|192.168.2.18|0|4
2014.09.20 08:47:38 1: HMLAN_Parse: HMLAN1 new condition ok
2014.09.20 08:47:42 3: Device Heizung_WZ added to ActionDetector with 000:10 time
2014.09.20 08:47:51 5: PRESENCE (Handy) - ping command returned with output:
PING 192.168.2.18 (192.168.2.18) 56(84) bytes of data.

--- 192.168.2.18 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3005ms


Handy anwesend:
2014.09.20 08:54:11 5: PRESENCE (Handy) - stopping timer
2014.09.20 08:54:11 5: PRESENCE (Handy) - starting blocking call for mode lan-ping
2014.09.20 08:54:11 5: PRESENCE (Handy) - starting ping scan: Handy|192.168.2.18|0|4
2014.09.20 08:54:11 1: HMLAN_Parse: HMLAN1 new condition ok
2014.09.20 08:54:14 5: PRESENCE (Handy) - ping command returned with output:
PING 192.168.2.18 (192.168.2.18) 56(84) bytes of data.
64 bytes from 192.168.2.18: icmp_req=1 ttl=64 time=13.9 ms
64 bytes from 192.168.2.18: icmp_req=2 ttl=64 time=22.4 ms
64 bytes from 192.168.2.18: icmp_req=3 ttl=64 time=50.4 ms
64 bytes from 192.168.2.18: icmp_req=4 ttl=64 time=73.7 ms

--- 192.168.2.18 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 13.941/40.156/73.776/23.653 ms


In beiden Fällen passiert nichts mehr (zumindest nichts was mit Precence zu tun hätte) bis ich fhem neu starte.
Geofency kommt nicht in Frage, da es das für Android nicht gibt.
System 1: NUC mit Intel Celeron: Fhem mit Tablet-UI, VPN, Nextcloud und Kodi
System 2: RPI 2 mit DHT22, 433Mhz-Sender und Raspi-Cam
Peripherie: HM-Lan mit Fensterkontakten und Heizkörperthermostaten, HarmonyHub, Altes Tablet als Bildschirm