-
Hello,
since today I am owner of a RLC-511WA Camera.
Now I want to integrate the Light of the Camera in my Smarthome System.
Does anyone know how to trigger the light via a http request?
I need only the trigger for On/Off in my local network.
I would be happy if someone have an example for me.
Regards
SvenReply QuoteShare0- Share this Post
-
copy the link
Copied!
-
@user_760471719375079_760471719375079 This is fairly easy. Change IP and credentials. I have no time to test it :).
Switch ON:
curl -s -k -X POST -H "Content-Type : application/json" -d "[{\"cmd\":\"SetWhiteLed\",\"param\": {\"WhiteLed\": {\"bright\":100,\"channel\":0,\"mode\":1,\"state\": 1}}}]" "https://192.168.X.YY/cgi-bin/api.cgi?cmd=SetWhiteLed&user=KING&password=ENGINEER"
Switch OFF:
curl -s -k -X POST -H "Content-Type : application/json" -d "[{\"cmd\":\"SetWhiteLed\",\"param\": {\"WhiteLed\": {\"bright\":100,\"channel\":0,\"mode\":1,\"state\": 0}}}]" "https://192.168.X.YY/cgi-bin/api.cgi?cmd=SetWhiteLed&user=KING&password=ENGINEER" -
@joseph_1979
Hello,
response on 823A and E1 Outdoor with admin as user and admin pw:
[
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "invalid user",
"rspCode" : -27
}
}
]
RLC-511WA - http Requests to trigger the light
-
Hello,
since today I am owner of a RLC-511WA Camera.
Now I want to integrate the Light of the Camera in my Smarthome System.
Does anyone know how to trigger the light via a http request?
I need only the trigger for On/Off in my local network.
I would be happy if someone have an example for me.
Regards
Sven
All Categories