From d6e11f92fa562dc6c909d666dd86ae730a20d472 Mon Sep 17 00:00:00 2001 From: delmar <> Date: Wed, 10 Mar 2021 21:43:07 +0000 Subject: [PATCH] 49_IPCAM: added POST for custom commands cmd01-cmd15 git-svn-id: https://svn.fhem.de/fhem/trunk@23922 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/49_IPCAM.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fhem/FHEM/49_IPCAM.pm b/fhem/FHEM/49_IPCAM.pm index 8be7a02ae..b763e3f82 100644 --- a/fhem/FHEM/49_IPCAM.pm +++ b/fhem/FHEM/49_IPCAM.pm @@ -839,11 +839,13 @@ DetailFn { attr ipcam cmd01 led_mode=0
attr ipcam cmd02 resolution=8
+
  • cmd01data, cmd02data, ...
    You can define the POST data that is to be sent with the according cmd.
    If this is defined, the request will be POST instead of GET.
    Example:
    attr ipcam cmd01data [{"cmd":"Login"},{"cmd":"SetOSD"}] +
  • cmdPanLeft, cmdPanRight, cmdTiltUp, cmdTiltDown, cmdStep
    Depending of the camera model, are different commands necessary.