{"id":15932503,"url":"https://github.com/nbortolotti/arlocamservice","last_synced_at":"2025-09-11T13:10:53.858Z","repository":{"id":82240989,"uuid":"118371359","full_name":"nbortolotti/ArloCamService","owner":"nbortolotti","description":"Project that aims to provide a set of services to interact with Arlo systems.","archived":false,"fork":false,"pushed_at":"2023-05-01T20:18:04.000Z","size":14,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-24T18:57:09.158Z","etag":null,"topics":["arlo","flask-restful","google-assistant","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nbortolotti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-01-21T20:32:07.000Z","updated_at":"2023-12-13T09:06:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"896931e8-b4af-4d9d-af96-a6c0ff91d416","html_url":"https://github.com/nbortolotti/ArloCamService","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nbortolotti/ArloCamService","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbortolotti%2FArloCamService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbortolotti%2FArloCamService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbortolotti%2FArloCamService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbortolotti%2FArloCamService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nbortolotti","download_url":"https://codeload.github.com/nbortolotti/ArloCamService/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbortolotti%2FArloCamService/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274640912,"owners_count":25322843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arlo","flask-restful","google-assistant","python"],"created_at":"2024-10-07T02:02:11.600Z","updated_at":"2025-09-11T13:10:53.839Z","avatar_url":"https://github.com/nbortolotti.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arlo Cam Service\n Project that aims to provide a set of services to interact with\n [Arlo](https://www.arlo.com) systems.\n\n# Architecture\nThe project proposes an architecture based on App Engine Flexible environment.\nThe mechanism of interaction in Gunicorn and Flask\n\n# UC covering webhook to response Google Assistant Agent action\n\n```\ndef connect_tensor_xray():\n    try:\n        arlo = PyArlo('user', read_file(\"pass.txt\"))  # connect to pyarlo library\n        cam = arlo.cameras[2]  # selecting cam\n        cam.schedule_snapshot()  # take picture\n\n        time.sleep(3) # wait if is necesarry\n\n        r = requests.get(\"url_endpoint\" + cam.snapshot_url) \n        return r\n    except Exception as e:\n        return [{\"error\"}]\n\n\n@app.route('/arlo', methods=['POST'])\ndef tensor_photo():\n   try:\n        req = request.get_json(silent=True, force=True)\n        action = req.get('result').get('action')\n\n        # detect action from DialogFlow agent description.\n        if action == 'image.analysis':\n\n            tags = connect_tensor_xray() # method to use the integration to TensorPhotoXRay\n\n            for element in tags:\n                for key, value in element.iteritems():\n                    if \"dog\" in key:\n                        # Compose the response to API.AI\n                        res = {'speech': 'Your pet is inside your house in the main room',\n                               'displayText': 'Your pet is inside your house in the main room',\n                               'contextOut': req['result']['contexts']}\n\n        else:\n            res = {'speech': 'nothing', 'displayText': 'nothing'}\n\n        final = make_response(jsonify(res))\n        return final\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbortolotti%2Farlocamservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbortolotti%2Farlocamservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbortolotti%2Farlocamservice/lists"}