[erledigt] nach HTTP Aufruf Log Eintrag unterdrücke

Begonnen von Mitch, 15 Oktober 2020, 21:12:58

Vorheriges Thema - Nächstes Thema

Mitch

Hallo Zusammen,

ich schalte aus fhem die Motion Detection in meinem MotionEye Server ein und aus.
Geht wunderbar, allerdings gibt es "unschön" Logeinträge.

Mache ich es mit einer sub in myUtils mit curl:
Done
Camera 3 Detection paused

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    32  100    32    0     0  32000      0 --:--:-- --:--:-- --:--:-- 32000
                                 Dload  Upload   Total   Spent    Left  Speed
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current


Mach ich es mit GetHttpFile direkt aus dem DOIF:
Done
2020.10.15 21:07:17 2: Motion.Actor: { GetHttpFile("192.168.0.206:7999", "/3/detection/pause") }: Camera 3 Detection paused


Nur zwei Zeilen, besser als curl, aber ich brauche gar keinen Logeintrag.
Kann man den irgendwie unterdrücken?

Achso, nochwas, nicht so schlimm, aber evtl. auch vermeidbar.
Der DOIF meldet immer:
error

{ GetHttpFile("192.168.0.206:7999", "/1/detection/pause") }: Camera 1 Detection paused
Done
{ GetHttpFile("192.168.0.206:7999", "/2/detection/pause") }: Camera 2 Detection paused
Done
{ GetHttpFile("192.168.0.206:7999", "/3/detection/pause") }: Camera 3 Detection paused
Done


Kann man das evtl. auch unterdrücken?

Vielen Dank schonmal!
FHEM im Proxmox Container

Mitch

Oh man, machmal aber echt...

habe alles so wie ich wollte. Einfach ein return mit dran:
{ GetHttpFile("motioneye:7999", "/1/detection/start");return }
FHEM im Proxmox Container