Closed psypol closed 5 years ago
Hi @psypol, that's helpful, but I also need to see the request payload (a.k.a. request body or form data) that was sent with that http request. You can see it at the bottom of the Headers tab in the network tab of your browser's developer tools.
Hi. sorry for the answer delay.
here comes the requested info :
{parentId: "51D2837VAxxxx", deviceId: "51D2837VAxxxx", olsonTimeZone: "Europe/Belgrade"}
deviceId: "51D2837VAxxxx"
olsonTimeZone: "Europe/Belgrade"
parentId: "51D2837VAxxxx"
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
up
hi psypol, i'm new to all this and was wondering if i could enlist your help on how to snapshot each of my arlo cameras either when the image changes (ie motion is detected). is that what you're doing or maybe you're doing it every X minutes? either way, any help
@jeffreydwalter thank you so much! i used the code from "Taking-Full-Screen-Snapshots" and it is executing but returning an error. i do have more cameras than the arlo account limit allows but i leave them deactivated and switch them around as needed. is there a way your code can accommodate for this scenario?
Request (POST https://my.arlo.com/hmsweb/users/devices/fullFrameSnapshot) failed: {'data': {'error': '2222', 'message': "Your account does not support the addition of another device. Now's a great time to upgrade your account. Or you can remove one of your other devices.", 'reason': 'Device Not Provisioned'}, 'success': False}
@molotov6969, in the code, you'll need to check the "state": "provisioned",
attribute of your camera before attempting to use it.
honestly i have no idea how to modify the Taking-Full-Screen-Snapshots script to do that.
@molotov6969 I recommend you read up on Python and figure it out. GetDevices()
returns a Python collection of all your Arlo devices. GetDevices("camera")
returns a collection of camera objects, GetDevices("basestation")
returns a collection of basestation objects.
The basic idea, is that you need to check to see if your device is provisioned, here is a contrived example of checking your camera:
if camera[0].state == "provisioned":
# camera provisioned, do stuff
else:
# camera not provisioned, don't do stuff
i appreciate the vote of confidence. i'll give it my best shot. thanks!
as a test, i removed my 2 extra cameras that were over the limit. however, i'm sill getting the exact same error as before.
@molotov6969 please don't hijack other people's issues for support. If you want help with this open your own github issue and provide all of the requested information.
@psypol I haven't forgotten about you... You might try using TriggerFullFrameSnapshot()
. It calls a different endpoint which returns a full-frame snapshot.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Reporting here my request made as a commit comment :
"working on a Arlo GO i still have a problem with the full screen snapshot. While the dashboard makes snaps with a resolution of 1980x1080 .. the function gives me a picture with a resolution of 1280x720
Am i doing something wrong ? my snaps looks like this and i make no further changes on the file snapshot.jpg
arlo = Arlo(USERNAME, PASSWORD) cameras = arlo.GetDevices('camera') snapshot_url = arlo.TriggerFullFrameSnapshot(cameras[0], cameras[0]) # ArloPro IS Camera AND basestation arlo.DownloadSnapshot(snapshot_url, 'snapshot.jpg')
snapshop.jpg is desperately at 1280x720 and not the expected awesome 1980x1080 the cam can provide Thanks in advance for any help"
==== jeffrey's answer : "You need to inspect the browser requests and see what it's doing when you trigger a snapshot" If you paste those requests here I can update the library."
So here comes the browser request :
takeSnapshot
response is :
{"success":true}
i hope this is the expected output. Otherwise please let me know thanks