Getting error when trying to email snapshot
Posted: Monday 28 November 2022 17:38
Hello,
I am currently trying to integrate an old Foscam C1 Lite into Domoticz.
I added it int cameras and when I click onto the photo camara icon a snapshot gets downloaded to my PC download folder.
When I click onto the video camera icon I the video output of the camera is getting displayed in a frame on the screen.
But when I try to relate the camera to a switch in the lower section of the camera page I only get the following error messages in the domoticz log:
2022-11-28 17:18:10.793 Error: SMTP Mailer: Error sending Email to: <[email protected]> !
2022-11-28 17:18:10.793 Error: libcurl: (56)
2022-11-28 17:18:10.793 Error: Failure when receiving data from the peer
2022-11-28 17:18:10.793
Text in the url field of the camera definition reads:
/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=adminpassword
Note: I omitted the http: in the following samples so the text will not be converted to a link:
From the internet browser I can enter //192.168.0.123:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=adminpassword"
and get a snapshot displayed in the browser.
Entering the following command in the shell of the domoticz server:
sudo curl '//192.168.0.123:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=adminpassword' --output /home/pi/domoticz/snapC1L.img
will write a snapshot to the directory.
Am I missing something here?
Any hints are welcome.
Best regards
Al
I am currently trying to integrate an old Foscam C1 Lite into Domoticz.
I added it int cameras and when I click onto the photo camara icon a snapshot gets downloaded to my PC download folder.
When I click onto the video camera icon I the video output of the camera is getting displayed in a frame on the screen.
But when I try to relate the camera to a switch in the lower section of the camera page I only get the following error messages in the domoticz log:
2022-11-28 17:18:10.793 Error: SMTP Mailer: Error sending Email to: <[email protected]> !
2022-11-28 17:18:10.793 Error: libcurl: (56)
2022-11-28 17:18:10.793 Error: Failure when receiving data from the peer
2022-11-28 17:18:10.793
Text in the url field of the camera definition reads:
/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=adminpassword
Note: I omitted the http: in the following samples so the text will not be converted to a link:
From the internet browser I can enter //192.168.0.123:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=adminpassword"
and get a snapshot displayed in the browser.
Entering the following command in the shell of the domoticz server:
sudo curl '//192.168.0.123:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=adminpassword' --output /home/pi/domoticz/snapC1L.img
will write a snapshot to the directory.
Am I missing something here?
Any hints are welcome.
Best regards
Al