I’m trying to configure my camera to move to certain point called “8”.
I’ve created shell_command in my configuration.yaml
camera_foscam_camera_preset_off: curl "https://192.168.XXX.XXX/cgi-bin/CGIProxy.fcgi?cmd=ptzGotoPresetPoint&name=8&usr=XXX&pwd=XXX”
and as a result I get in log:
ERROR (MainThread) [homeassistant.components.shell_command] Error running command: curl "https://192.168.XX.XXX:443/cgi-bin/CGIProxy.fcgi?cmd=ptzGotoPresetPoint&name=8&usr=XXX&pwd=XXX”
, return code: 2
NoneType: None
What is wrong? Normally when I type “https://192.168.XXX.XXX/cgi-bin/CGIProxy.fcgi?cmd=ptzGotoPresetPoint&name=8&usr=XXX&pwd=XXX” in my web browser, camera normally gets to that point and says on the webpage:
<CGI_Result>
0
0
</CGI_Result>