You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which Arlo hardware do you have (camera types - [Arlo, Pro, Q, etc.], basestation model, etc.)?
Arlo Pro
What did you do?
Ran this program:
from arlo import Arlo
import logging
USERNAME =
PASSWORD =
logging.basicConfig(filename='example2.log',level=logging.DEBUG)
try:
# Instantiating the Arlo object automatically calls Login(), which returns
an oAuth token that gets cached.
# Subsequent successful calls to login will update the oAuth token.
arlo = Arlo(USERNAME, PASSWORD)
# At this point you're logged into Arlo.
print "in"
# Get the list of devices and filter on device type to only get the basesta
tion.
# This will return an array which includes all of the basestation's associa
ted metadata.
basestations = arlo.GetDevices('basestation')
# Get the list of devices and filter on device type to only get the cam\
era.
# This will return an array which includes all of the camera's associat
ed metadata.
cameras = arlo.GetDevices('camera')
# Tells the Arlo basestation to trigger a snapshot on the given camera.
# This snapshot is not instantaneous, so this method waits for the resp
onse and returns the url
# for the snapshot, which is stored on the Amazon AWS servers.
print "ready"
snapshot_url = arlo.TriggerFullFrameSnapshot(basestations[0], cameras[0
])
print "url"
print snapshot_url
# This method requests the snapshot for the given url and writes the im\
age data to the location specified.
# In this case, to the current directory as a file named "snapshot.jpg"
# Note: Snapshots are in .jpg format.
arlo.DownloadSnapshot(snapshot_url, 'snapshot.jpg')
except Exception as e:
print(e)
What did you expect to see?
Production of a snapshot and output from my print statements
What did you see instead?
403 Client Error: Forbidden for url: https://my.arlo.com/hmsweb/login/v2
Here is the debug output:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): my.arlo.com:443
DEBUG:urllib3.connectionpool:https://my.arlo.com:443 "POST /hmsweb/login/v2 HTT\
P/1.1" 403 None
I do not have 2FA enabled.
This worked for me last fall, and I was using Debian buster at that time.
Does this issue reproduce with the latest release?
Yes.
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
What version of Python are you using (
python -V
)?Python 2.7.16
What operating system and processor architecture are you using (
python -c 'import platform; print(platform.uname());'
)?('Linux', 'edmon-linux', '5.5.10', '#1 SMP Thu Mar 19 00:56:26 PDT 2020', 'x86_
64', '')
Debian buster
Which Python packages do you have installed (run the
pip freeze
orpip3 freeze
command and paste output)?Which version of ffmpeg are you using (
ffmpeg -version
)?Which Arlo hardware do you have (camera types - [Arlo, Pro, Q, etc.], basestation model, etc.)?
Arlo Pro
What did you do?
Ran this program:
from arlo import Arlo
import logging
USERNAME =
PASSWORD =
logging.basicConfig(filename='example2.log',level=logging.DEBUG)
try:
# Instantiating the Arlo object automatically calls Login(), which returns
an oAuth token that gets cached.
# Subsequent successful calls to login will update the oAuth token.
arlo = Arlo(USERNAME, PASSWORD)
# At this point you're logged into Arlo.
print "in"
# Get the list of devices and filter on device type to only get the basesta
tion.
# This will return an array which includes all of the basestation's associa
ted metadata.
basestations = arlo.GetDevices('basestation')
era.
# This will return an array which includes all of the camera's associat
ed metadata.
cameras = arlo.GetDevices('camera')
# Tells the Arlo basestation to trigger a snapshot on the given camera.
# This snapshot is not instantaneous, so this method waits for the resp
onse and returns the url
# for the snapshot, which is stored on the Amazon AWS servers.
print "ready"
snapshot_url = arlo.TriggerFullFrameSnapshot(basestations[0], cameras[0
])
print "url"
print snapshot_url
age data to the location specified.
# In this case, to the current directory as a file named "snapshot.jpg"
# Note: Snapshots are in .jpg format.
arlo.DownloadSnapshot(snapshot_url, 'snapshot.jpg')
except Exception as e:
print(e)
What did you expect to see?
What did you see instead?
Does this issue reproduce with the latest release?
Yes.
The text was updated successfully, but these errors were encountered: