Skip to content
/ arlosrvc Public

A Service to Automate Mode Change for Arlo Security Cameras

License

Notifications You must be signed in to change notification settings

ptagr/arlosrvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to arlosrvc - A Service to Automate Mode Change for Arlo Security Cameras

[New] Use a deployed solution

Endpoints :

Refer to this section for learning how to issue requests. (Replace localhost with the above endpoints)

How to Run

  • You can run this as a standalone node server or in a docker on your local machine.
  • To run this as a standalone node server, > - Install npm on your machine > - Run the command npm install followed by node server.js
  • To run this in a docker > - First install docker on your machine > - Then run ./scripts/dockerBuild.sh followed by ./scripts/dockerLocal.sh
  • In either case, the server console should be greeted with the familiar message: Magic happens on port 8080

How to Issue Requests against the service

Arm the Arlo System

  • Run the curl command after replacing ARLO_USERNAME and ARLO_PASSWORD with yours. curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'username=ARLO_USERNAME&password=ARLO_PASSWORD&mode=mode1' "http://localhost:8080/api/arm"
  • The above request assumes that the mode to arm the system is mode1. Refer to Finding the mode section to verify if this is correct.
  • You should get an output :
    200 OK````
    
    

Disarm the Arlo System

  • Run the curl command after replacing ARLO_USERNAME and ARLO_PASSWORD with yours.
    curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'username=ARLO_USERNAME&password=ARLO_PASSWORD&mode=mode0' "http://localhost:8080/api/disarm"
  • The above request assumes that the mode to arm the system is mode0. Refer to Finding the mode section to verify if this is correct.
  • You should get an output :
    200 OK````
    
    

Finding the mode

  • Log onto https://arlo.netgear.com
  • Go to modes and select your base station
  • The next screen shows your available modes:
    • The first mode is mode0
    • The second mode is mode1 and so on.

Report Issues

About

A Service to Automate Mode Change for Arlo Security Cameras

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published