{"id":15115459,"url":"https://github.com/vperlerin/AMSCam","last_synced_at":"2025-09-27T21:30:37.876Z","repository":{"id":181967717,"uuid":"90234898","full_name":"vperlerin/AMSCam","owner":"vperlerin","description":"Control your AMSCam and your PI from a device on your network","archived":false,"fork":false,"pushed_at":"2017-08-08T13:33:09.000Z","size":2532,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-26T01:48:51.256Z","etag":null,"topics":["ams-cam","nodejs","raspberry-pi"],"latest_commit_sha":null,"homepage":"http://www.amsmeteors.org","language":"HTML","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/vperlerin.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}},"created_at":"2017-05-04T07:36:35.000Z","updated_at":"2021-11-26T08:37:26.000Z","dependencies_parsed_at":"2023-07-18T20:01:03.830Z","dependency_job_id":null,"html_url":"https://github.com/vperlerin/AMSCam","commit_stats":null,"previous_names":["vperlerin/amscam"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vperlerin%2FAMSCam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vperlerin%2FAMSCam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vperlerin%2FAMSCam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vperlerin%2FAMSCam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vperlerin","download_url":"https://codeload.github.com/vperlerin/AMSCam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234460506,"owners_count":18836837,"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","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":["ams-cam","nodejs","raspberry-pi"],"created_at":"2024-09-26T01:43:52.366Z","updated_at":"2025-09-27T21:30:32.176Z","avatar_url":"https://github.com/vperlerin.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"[![N|Solid](http://www.amsmeteors.org/_members/ico/apple-touch-icon-114x114-precomposed.png)](http://www.amsmeteors.org)\n# AMSCam\n\nThe AMSCam app allows you to interact with your AMS Cam \u0026 Raspberry Pi from a device on your network.\n\n  - Browse detections\n  - Setup / Config\n  - Shutdown / Restart PI\n  - ...\n  \n```diff\n- WARNING: YOU NEED TO LAUNCH THIS APP BEFORE STARTING USING YOUR CAMERA\n- AS IT IS REQUIRED TO UPDATE THE CAMERA PASSWORD FIRST.\n```  \n  \n\n\n\n## Installation\n\n### 1- Clone github repositories\nClone this repository and fireball_camera directory.\n\nOn your PI, go to /home/pi and:\n```sh\n$ cd /home/pi\n$ git clone https://github.com/vperlerin/AMSCam.git\n```\n\nOn your PI, /home/pi:\n```sh\n$ git clone https://github.com/mikehankey/fireball_camera.git\n```\n\n### Add your app as sudoer on the PI\nOn your PI, \n```sh\n$ sudo vi /etc/sudoers\n\n```\nThen, add the following lines to the file:\n```\nwww-data ALL=/sbin/shutdown\nwww-data ALL=NOPASSWD: /sbin/shutdown\nwww-data ALL=/sbin/restart\nwww-data ALL=NOPASSWD: /sbin/restart\n```\n\n## Add you as sudoer on the PI\n```sh\n$ sudo vi /etc/hosts\n```\nThen add the following line under root\n```\n127.0.1.1    ams[ID]\n```\nwhere [ID] is the ID of your Device (ex: ams22)\n\n### Install \nOn your PI, go to /home/pi/fireball_camera and:\n```sh\n$ sudo python ./setup/install.py\n```\n\nTo see the app in action, open your browser (Firefox or Chrome) on your computer (warning: your computer has to be on the same LAN than the PI). Point your browser to \n```\nhttp://[PI_IP]:80\n```\n\u003e (replace [PI_IP] by the local IP of your Raspberry PI - ex: http://192.168.0.11:80/)\n\n## Setup the autostart (optional)\nIf not already done, you can setup the automatic start of the AMSCam app on your PI:\n```sh\n$ sudo vi /etc/rc.local\n```\nThen, add the following line at the beginning of the file:\n```\nsudo /usr/local/bin/node /home/pi/AMSCam/app.js \u0026\n```\n \n\n#  Troubleshooting\n\n## Missing Python Packages\n\nIf you receive an error message about pycrypto / AES, please\n\n```sh\n$ sudo pip install pycrypto\n```\n\n\n## 'forever' Missing\n\nIf you receive an error message about forever, please\n\n```sh\n$ sudo npm install forever -g\n```\n\n## Stop the app from the PI\n```sh\n$ killall node\n```\nOR\n```sh\n$ killall forever\n```\n\n## Update Nodejs\nYou may want to update Nodejs on your Raspberry PI:\n```sh\n$ sudo npm cache clean -f\n$ sudo npm install -g n\n$ sudo n stable\n$ sudo ln -sf /usr/local/n/versions/node/\u003cVERSION\u003e/bin/node /usr/bin/node \n```\nex: VERSION: 7.8.0\n\n## Change VNC Viewer resolution\n```sh\n$ sudo raspi-config\n\u003e Advanced options\n\u003e Enable VNC Server\n\u003e Finish\n```\n\n```sh\n$ sudo reboot\n```\n\nOnce the PI has reboot:\n```sh\n$ sudo vi /boot/config.txt\n```\n\nAnd add the following lines:\n```\nhdmi_ignore_edid=0xa5000080\nhdmi_group=2\nhdmi_mode=85\n```\nThen, reboot the VNC Viewer. \n \n \n## Camera API Doc\nSee under /docs\n\n\n## Log\n* 2017/07/10 - Change port from 3000 to 80 (allow remote access)\n\n\n## License\n\n(The MIT License)\n\nCopyright (C) 2011-2017 by Mike Hankey, LLC\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvperlerin%2FAMSCam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvperlerin%2FAMSCam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvperlerin%2FAMSCam/lists"}