Login problems with camera
Posted: Wednesday 02 December 2020 12:21
Hello! I'm trying to get my hacked XiaoFang 1s working in Domoticz. The problem: sometimes I see the snapshot in the preview ( 'Test connection'), but never in the Camera settings page or elsewhere in Domoticz.
- When I try to open the image url manually (http://x.x.x.x/cgi-bin/currentpic.cgi?u ... d=password) while I'm not yet logged in in my camera in another browser tab, the browser (Chrome) still asks me to manually enter the credentials.
- I can see the snapshot preview in Domoticz when I'm logged in in my camera another browser tab. But when I open http://x.x.x.x:8080/camsnapshot.jpg?idx=1 there is nothing - even when I'm logged in.
I think the problem lies in Domoticz not able to log in the camera, however this does not explain that visiting the image url manually doesn't show me an image. How do I solve this?
I'm running Domoticz Version 2020.2
---------
EDIT: fixed! Apparenty I needed to name the camera 'dafang' instead of 'camera', and the credentials are in the fields instead of in de url. Still unsure how this solved my problem but I'm a happy user now
- When I try to open the image url manually (http://x.x.x.x/cgi-bin/currentpic.cgi?u ... d=password) while I'm not yet logged in in my camera in another browser tab, the browser (Chrome) still asks me to manually enter the credentials.
- I can see the snapshot preview in Domoticz when I'm logged in in my camera another browser tab. But when I open http://x.x.x.x:8080/camsnapshot.jpg?idx=1 there is nothing - even when I'm logged in.
I think the problem lies in Domoticz not able to log in the camera, however this does not explain that visiting the image url manually doesn't show me an image. How do I solve this?
I'm running Domoticz Version 2020.2
---------
EDIT: fixed! Apparenty I needed to name the camera 'dafang' instead of 'camera', and the credentials are in the fields instead of in de url. Still unsure how this solved my problem but I'm a happy user now