Replies: 1 comment 2 replies
-
I mean, while your question is valid, there's not much debugging to do here on this specific function as it's just a wrapper for calling the URL to download such footage from Ring. You can just make the request directly if you like using the request function from RestClient and substituting appropriate values for the variables: The call to that URL with proper values either returns something (an MP4 file), or it returns an error. Basically, this is the same URL used by the Ring app when you open the timeline view. It depends on having a Ring subscription and periodic snapshots enabled on the camera, otherwise there won't be anything to download from Ring. |
Beta Was this translation helpful? Give feedback.
-
Maybe I'm just a noob, and it's something simple, but I can't figure it out.
I got the rest-client-example to work in VSCode, and have modified it to get snapshots from one of the cameras. I want to get regular snapshots, and stitch them together as a timelapse. There is a function
RingCamera.getPeriodicalFootage
that seems it would be useful; but, for some reason, I can't seem to get the response to retrieve anything.I have tried debugging the client, but the .ts code is missing from the module. That code is in the client, but not the one in the node_modules folder. It just has the js and map files. I have tried compiling the ts, but I get crazy errors when I do.
How do I debug into the typescript files and not into the compiled JS?
Beta Was this translation helpful? Give feedback.
All reactions