This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
https://en.wikipedia.org/wiki/Digest_access_authentication
https://stackoverflow.com/questions/9534602/what-is-the-difference-between-digest-and-basic-authentication
Hope you have something on the links i gave you.
@JasperB you're hyperlink isn't working
Here's a list of all the URL's.
Depending on your model, it's probably something like:
http://[IP_ADDRESS]/cgi-bin/snapshot.cgi?loginuse=[USERNAME]&loginpas=[PASSWORD]
http://[ip-adress]/cgi-bin/snapshot.cgi?loginuse=[username]&loginpas=[password]
This one works in my browser but i comes with a popup to enter credentials, i can say remember them and it works.
If i put the admin-password@ infront of it, "image grabber" doesn't make a screenshot. It comes back with the green checkmarker so it looks like it going good.
http://[USERNAME]:[PASSWORD]@[IP_ADDRESS]/cgi-bin/snapshot.cgi?loginuse=[USERNAME]&loginpas=[PASSWORD]
if not, it’s your flow that’s not working.
https://upload.wikimedia.org/wikipedia/commons/f/f1/Google_Blogs.JPG
Then, if your flows are triggered, do you get that image?
In essence, as I don’t know what all you have working and what you don’t, I’m just checking if the problem is actually grabbing the image from the camera, or if the problem is in the flow (ie, the image is just not sent)
Would love to see this work again. Is there something I can do to trouble shoot this? Can I send you log files?
I use it with Foscam without any problem.
Various older and newer Foscam camera's
Using this URL: http://[localIP]/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=[USERNAME]&pwd=[PASSWORD]&
(which works in a browser)
Using below flow to test (for who want to know it is the NFC tag of my sons Super Mario Amibo ):
@Eternity : Do you use the same URL's?
Is there maybe a token URL form the web I can try?
Thanks for the quick response by the way!
You can use any JPG file from the web to test with; for example:
https://forum.athom.com/uploads/editor/li/e9jximxjm2c3.jpg
†Ûiÿý}Û^¼×M5ÓÏ<÷÷ ‹æâŸð† úèÇ'Ü‚'&
Using the web URL gives me also an unopenable x.jpg
http://<IP_Address>:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=<username>&pwd=<password>
Do you have a weird character in your user or password?
http://IP:PORT/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=XXXXX&pwd=ZZZZZ
This doesn't:
http://IP:PORT/cgi-bin/snapshot.cgi?loginuse=XXXXX&loginpas=ZZZZZ
The url I use is: http://IP:PORT/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=NAME&pwd=PASS
UPDATE
It's working for 3 of my 5 Foscam ip camera's (various types), so I guess I will have to use different URL's format for the not working ones. But, having it working is a nice step, the rest will be finding the right url.
UPDATE 2
My other Foscam camera's work too now, with url format: http://IP:PORT/snapshot.cgi?user=NAME&pwd=PASS
Two flows are used:
After an alarm, an image is grabbed and a Telegram is send:
Followed by this flow to send the screenshots via Telegram and e-mail:
Nice to know.. it is possible to use the same flow for sending multiple images (ignore the AND column, it's only for testing right now). For different screenshots I have set a delay of 10 seconds between the 'grabs' :
In the mean time I have done a reboot of Homey. Did not help.
The first URL in the last post of @Eternity works for me in a browser. The second one does not, so I'm definitely using the right one.
Simplified the password of the account on the Foscam I'm using. Did not help.
Also created and used new account for the grabber on the Foscam with admin priviledge. Did not help.
Can somebody please use the Image Grabber app with a link to a picture on the internet that works so I can rule out any setting in my Foscams? Please post the link you use here. Thanks!
https://forum.athom.com/uploads/CTZ50Q5RAOEI.jpg
https://forum.athom.com/uploads/userpics/325/p79373ZDOO3HM.jpg
Instead of doing it in one flow like I showed in my previous post I did it like @Eternity in two flows; One for actual grabbing of the picture, and one for sending the mail. First tried it with my profile pic and after succes did it with my Foscams. Nice!
Thank you all for the effort!
@Eternity : One question left: Are you able to make a distinction between an image grabbed because of movement or an image grabbed because of the doorbell pressed?