After reading this forum for a while, I’ve noticed there is no good solution for two problems:
- WWW Digest authentication
- Samsung SmartCam SNH-P6410BN (possibly other SmartCams too, although I don’t have them)
As you suspect camera is using digest auth. For more details here is a good wiki link to read about it: http://en.wikipedia.org/wiki/Digest_access_authentication#Overview .
I’ve used @pstuart bits and pieces from generic camera, then added implementation for SmartCam and www digest auth.
There are some weird limits in the API through physicalgraph.device.HubAction, so Digest authentication is working via 2-step click. It’s just to get the token, but then it’s all about just one click to get the picture.
You can get the code here: https://github.com/KowszewiczGrzegorz/SmartThings/tree/master/Devices/Samsung%20SmartCam%20SNH-P6410BN