FHEM Forum

FHEM - Hardware => Einplatinencomputer => Thema gestartet von: Icinger am 10 Februar 2014, 19:36:54

Titel: Kein Ping möglich für PRESENCE - Berechtigungsproblem?
Beitrag von: Icinger am 10 Februar 2014, 19:36:54
Hi Leute,

mache grade meine ersten Schritte mit fhem auf meinem Pi.
Soweit mal eine super sache, allerdings hab ich momentan scheinbar ein Problem mit irgendwelchen Berechtigungen oder so.

Ich möchte als Anwesenheitserkennung 2 Androidhandys überwachen.

In der fhem-config siehts so aus:
define Stefan PRESENCE lan-ping android-bcc672fac54189c7
attr Stefan home_structure AtHome
define Petra PRESENCE lan-ping android-ddc89e907f897ac7
attr Petra home_structure AtHome

define AtHome structure home_structure Stefan Petra
attr AtHome clientstate_behavior relative
attr AtHome clientstate_priority present absent
attr AtHome devStateIcon present:HOME_Status.1 absent:HOME_Status.3
attr AtHome icon HOME_Status.1


allerdings habe ich im Logfile leider ständig die Fehlermeldungen:
2014.02.10 19:17:47 2: PRESENCE: error while processing device Stefan - Could not execute ping command: "ping -c 4 android-bcc672fac54189c7"
2014.02.10 19:18:08 2: PRESENCE: error while processing device Petra - Could not execute ping command: "ping -c 4 android-ddc89e907f897ac7"
2014.02.10 19:18:17 2: PRESENCE: error while processing device Stefan - Could not execute ping command: "ping -c 4 android-bcc672fac54189c7"
2014.02.10 19:18:39 2: PRESENCE: error while processing device Petra - Could not execute ping command: "ping -c 4 android-ddc89e907f897ac7"


Hat jemand eine Ahnung, woran das scheitern könnte?

Danke im voraus,

Ici
Titel: Antw:Kein Ping möglich für PRESENCE - Berechtigungsproblem?
Beitrag von: betateilchen am 10 Februar 2014, 20:03:33
probiers mal mit den IP Adressen.