Hallo, ich habe testweise mal Fhem auf der DS216play installiert.
Leider funktioniert das erste Define schon nicht
define Denon_da presence lan-ping 192.168.178.213
Internals:
ADDRESS 192.168.178.213
DEF lan-ping 192.168.178.213
INTERVAL_NORMAL 30
INTERVAL_PRESENT 30
MODE lan-ping
NAME Denon_da
NOTIFYDEV global
NR 20
NTFY_ORDER 50-Denon_da
STATE absent
TYPE PRESENCE
READINGS:
2018-04-28 15:38:34 model lan-ping
2018-04-28 16:28:49 presence absent
2018-04-28 16:28:49 state absent
helper:
ABSENT_COUNT 0
Attributes:
room System
Der Verstärker ist per lan-ping vom Raspi aus wunderbar erreichbar.
Nur die DS sagt "absent" >:(
Kann mich mal jemand in die richtige Richtung schubsen??
Keiner eine Idee? :(
Mal versucht, vom NAS das Gerät anzupingen?
Was sagt das FHEM logfile?
Leider sind NAS mit FHEM Exoten im FHEM-Zoo.
Bitte in deiner PRESENCE-Definition mal das Attribut "verbose" auf 5 setzen und anschließend ein set <NAME> statusRequest durchführen. Das FHEM-Log anschließend hier bitte zur Verfügung stellen.
Vielen Dank
Gruß
Markus
Zitat von: Wernieman am 07 Mai 2018, 13:06:57
Leider sind NAS mit FHEM Exoten im FHEM-Zoo.
Also bei mir läuft FHEM auf einem Synology DS413j problemlos ;)
Sorry, dass ich jetzt erst antworte, aber inzwischen waren andere Sachen etwas wichtiger.
Jetzt komme ich wieder dazu, mich etwas um das Thema FHEM zu kümmern.
zum Thema:
Das einzige, was das Log hergibt, ist das:
ping: socket: Operation not permitted
ping: socket: Operation not permitted
2018.09.03 23:57:52 5: PRESENCE (Denon_da) - blocking scan result: Denon_da|0|absent
2018.09.03 23:57:52 4: PRESENCE (Denon_da) - rescheduling next check in 30 seconds
2018.09.03 23:58:22 5: PRESENCE (Denon_da) - stopping timer
2018.09.03 23:58:22 5: PRESENCE (Denon_da) - starting blocking call for mode lan-ping
2018.09.03 23:58:22 5: PRESENCE (Denon_da) - starting ping scan: Denon_da|192.168.178.213|0|4
2018.09.03 23:58:22 5: PRESENCE (Denon_da) - ping command returned with output:
ping: socket: Operation not permitted
ping: socket: Operation not permitted
2018.09.03 23:58:22 5: PRESENCE (Denon_da) - blocking scan result: Denon_da|0|absent
2018.09.03 23:58:22 4: PRESENCE (Denon_da) - rescheduling next check in 30 seconds
2018.09.03 23:58:52 5: PRESENCE (Denon_da) - stopping timer
2018.09.03 23:58:52 5: PRESENCE (Denon_da) - starting blocking call for mode lan-ping
2018.09.03 23:58:52 5: PRESENCE (Denon_da) - starting ping scan: Denon_da|192.168.178.213|0|4
2018.09.03 23:58:52 5: PRESENCE (Denon_da) - ping command returned with output:
ping: socket: Operation not permitted
ping: socket: Operation not permitted
2018.09.03 23:58:52 5: PRESENCE (Denon_da) - blocking scan result: Denon_da|0|absent
2018.09.03 23:58:52 4: PRESENCE (Denon_da) - rescheduling next check in 30 seconds
2018.09.03 23:58:54 5: PRESENCE (Denon_da) - starting local scan
2018.09.03 23:58:54 5: PRESENCE (Denon_da) - starting blocking call for mode lan-ping
2018.09.03 23:58:54 5: PRESENCE (Denon_da) - starting ping scan: Denon_da|192.168.178.213|1|4
2018.09.03 23:58:54 5: PRESENCE (Denon_da) - ping command returned with output:
ping: socket: Operation not permitted
ping: socket: Operation not permitted