Giter Club home page Giter Club logo

dropcam's People

Contributors

ampledata avatar joelcarrier avatar kronenpj avatar rsgalloway avatar tadeck avatar tedder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dropcam's Issues

get_image returning 404

Probably not the fault of this module in any way, but filing here to track it.

https://www.dropcam.com/api/v1/cameras.get_image is returning a 404 as of this afternoon.

https://www.dropcam.com/api/v1/cameras.get works however.

Inspecting the JS on the Dropcam web console, it looks like the URL they're still using is:

https://nexusapi.dropcam.com/get_image?width=nnn&uuid=xxx

This may be Cookie related.

The Cookie this module uses, per Dropcam.cookie, resembles this:

website_2=xxx; Domain=.dropcam.com; httponly; Path=/; secure

The Cookie returned by Dropcam's web port does not have the Domain, httponly, Path or secure fields.

Negating those fields resolves and reverting to the nexusapi url resolves the 404 problem and returns an image.

405 error when login

I tried to create a dropcam obj using d = Dropcam(<MY USERNAME>, <MY PASSWORD>) and get error HTTPError: HTTP Error 405: METHOD NOT ALLOWED. Should I use the username and password to login Dropcam website or something else?

login failure

login failed and returned status code 200. login json: {"status": 400, "items": [], "status_description": "bad-request", "status_detail": "No user is identified with this information."}

These same credentials work with this other library: https://github.com/alexlincoln/dropcam.

login succesfull but get_image has http failure

I was able to create a Dropcam instance and log in to my camera, but I'm having the following failure. I know that login was successful because I am able to access the properties such as camera on/off status. Can you recommend any trouble shooting? I'm running on linux. Thanks.

temp = c.get_image()
Traceback (most recent call last):
File "", line 1, in
File "build/bdist.linux-x86_64/egg/dropcam.py", line 147, in get_image
File "build/bdist.linux-x86_64/egg/dropcam.py", line 120, in _request
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden

Login Error

When I try to login I get this error. I am certain my credentials are correct, a possible bug?:

login failed and returned status code 200. login json: {"status": 400, "items": [], "status_description": "bad-request", "status_detail": "The username and password do not match"}
Traceback (most recent call last):
File "dropcam.py", line 267, in
os.getenv("password"))
File "dropcam.py", line 127, in init
self._login()
File "dropcam.py", line 139, in _login
raise Exception
Exception

.cameras() only return 1, but I have 2 in my account

Thanks for the great work. I just purchase the second dropcam and have trouble to obtain both image. Could you please have a look?

c = d.cameras()[1]
Traceback (most recent call last):
File "", line 1, in
IndexError: list index out of range

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.