Replies: 2 comments
-
|
oh i forget to say that i have already search and try the commands in terminal given by PTYERS user in other discussion. (Can you please run the following in your terminal curl -X POST 'http://yourcameraip/cgi-bin/api.cgi?user=yourusername&password=yourpassword' -d '[{"cmd": "SetWhiteLed", "param": { "WhiteLed": {"bright" : 100, "channel": 0, "mode": 1, "state": 1}}}]' should turn on LEDs) After have change for my IP and name and password, i try and receive this message: https://gyazo.com/9b4a5f4cff95f7f5c660da2ed6411da4 I use Home Assistant Operating System. |
Beta Was this translation helpful? Give feedback.
-
|
After further research and various tests, these commands work on the 823a camera.
curl -X POST 'http://192.168.1.**/cgi-bin/api.cgi?user=******&password=***********' -d '[{"cmd":"AudioAlarmPlay","action": 0, "param": {"alarm_mode": "manul", "manual_switch": 1, "times": 2, "channel": 0}}]'
curl -X POST 'http://192.168.1.**/cgi-bin/api.cgi?user=******&password=***********' -d '[{"cmd":"AudioAlarmPlay","action": 0, "param": {"alarm_mode": "manul", "manual_switch": 0, "times": 2, "channel": 0}}]'
curl -X POST 'http://192.168.1.**/cgi-bin/api.cgi?user=******&password=***********' -d '[{"cmd":"AudioAlarmPlay","action": 0, "param": {"alarm_mode": "times", "manual_switch": 1, "times": 3, "channel": 0}}]'
curl -X POST 'http://192.168.1.**/cgi-bin/api.cgi?user=******&password=***********' -d '[{"cmd": "SetWhiteLed", "param": { "WhiteLed": {"bright" : 100, "channel": 0, "mode": 1, "state": 1}}}]'
curl -X POST 'http://192.168.1.**/cgi-bin/api.cgi?user=******&password=***********' -d '[{"cmd": "SetWhiteLed", "param": { "WhiteLed": {"bright" : 100, "channel": 0, "mode": 1, "state": 0}}}]' |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
HI, i have a 823a camera, and i search the commands for siren on/off and LED on/off.
I would like use it in HomeAssistant.
I use already the cam with (command topos) and it first preset (zoomed on the door of the home when sensor 'door opened' is on).
For that i use the commands ptz and that works well.
I would like...
1/ add the LED light ON too, but i find only command for the IR and nothing about LED.
2/ I using ALARMO too, i would like use the 823a siren, when a sensor active ON Alarmo, that send to me a SMS and ON all light of the home and activate the SIREN of the KEYPAD v2, then i would like too to activate the SIREN of the 823a in more.
TY for help
Beta Was this translation helpful? Give feedback.
All reactions