From 4c75a17c4c7574b9b886abc9dbfe9ec08a465d83 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/fhem@23922 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/49_IPCAM.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FHEM/49_IPCAM.pm b/FHEM/49_IPCAM.pm index 8be7a02ae..b763e3f82 100644 --- a/FHEM/49_IPCAM.pm +++ b/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.