{"id":19413525,"url":"https://github.com/wisehackermonkey/notifier-motioneye","last_synced_at":"2025-08-03T22:34:23.543Z","repository":{"id":132672175,"uuid":"419112507","full_name":"wisehackermonkey/notifier-motioneye","owner":"wisehackermonkey","description":"notifier-motioneye","archived":false,"fork":false,"pushed_at":"2021-10-20T02:47:28.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-24T21:49:58.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wisehackermonkey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2021-10-19T22:44:04.000Z","updated_at":"2021-10-20T02:47:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"1c2a760b-d7bf-4142-b784-85ef7bbdc1f2","html_url":"https://github.com/wisehackermonkey/notifier-motioneye","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wisehackermonkey/notifier-motioneye","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fnotifier-motioneye","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fnotifier-motioneye/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fnotifier-motioneye/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fnotifier-motioneye/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wisehackermonkey","download_url":"https://codeload.github.com/wisehackermonkey/notifier-motioneye/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fnotifier-motioneye/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268623692,"owners_count":24280144,"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-08-03T02:00:12.545Z","response_time":2577,"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":[],"created_at":"2024-11-10T12:33:38.760Z","updated_at":"2025-08-03T22:34:23.516Z","avatar_url":"https://github.com/wisehackermonkey.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# start program\n```\ngit clone https://github.com/wisehackermonkey/notifier-motioneye.git\n\nsudo bash install.sh \n\n\n# Edit login-watcher.sh \nrun \n\u003egpio readall\nSet PIN=\u003c your raspberry pi pin\u003e\nverify it worked \n\nbash blink_led.sh \u003cwPi Pin number\u003e\nbash blink_led.sh 25\n\n\u003enano login-watcher.sh \nEDiT\nPIN=25 to match your rpi's pin \n\n```\n### [zapty/forever-service: Provision node script as a service via forever, allowing it to automatically start on boot, working across various Linux distros and OS](https://github.com/zapty/forever-service)\n```\n\n# recommended way to run forever\nedit `-o \"25\"` -\u003e   `-o \"8\"`\nforever-service install login-watcher -s login-watcher.sh -f \" -c 'bash'\" -o \"25\"\n\nsudo service login-watcher start\nsudo service login-watcher status\n\n# delete serivce\nsudo forever-service delete login-watcher \n\n```\n#### Alternetivly\n```\n# manually run\nsudo apt-get install wiringpi\nnpm install -g forever \nnpm install -g forever-service\n\nbash login-watcher.sh\n\n```\n\n# Commands to interact with service login-watcher\n```\nStart   - \"sudo service login-watcher start\"\nStop    - \"sudo service login-watcher stop\"\nStatus  - \"sudo service login-watcher status\"\nRestart - \"sudo service login-watcher restart\"\n```\n\n\n\n\n```\napt-get install inotify-tools\n```\n\n# Scratch pad\n```\njournalctl -u motioneye -p info  | grep 'DEBUG:'\njournalctl -u motioneye --no-full\njournalctl -u motioneye  | grep 'DEBUG:'\n\n\njournalctl -u motioneye  --no-pager | grep 'DEBUG:'\n\njournalctl -u motioneye  --no-pager | grep 'creating mjpg client for camera'\n\njournalctl -f -u motioneye  --no-pager | grep 'DEBUG:'\n\njournalctl -f -u motioneye  --no-pager | grep 'DEBUG: 304 GET /'\n\njournalctl -f -u motioneye  --no-pager | grep 'GET /static/favicon'\n\n\njournalctl -f -u motioneye  -o json | grep 'DEBUG:'\n\njournalctl -f -u motioneye  | grep 'DEBUG: 304 GET /'\n\n\n\ninotifywait -m -e modify ./output.log\n\necho \"bh\" \u003e ./output.log\n\nWATCHFILE=/root/github/notifier-motioneye/output.log\n\nwhile true; do\n    while read j\n    do\n    echo \"file changed\"\n    break\n    done \u003c  \u003c(inotifywait -q -e modify $WATCHFILE)\ndone\nbash login-watcher.sh\n\n\necho \"out\" \u003e /sys/class/gpio/gpio9/direction\necho \"1\" \u003e /sys/class/gpio/gpio9/value\n\n\necho \"out\" \u003e /sys/class/gpio/gpio3/direction\necho \"1\" \u003e /sys/class/gpio/gpio3/value\n\n\ninstall wiringpi with dietpi software\ndietpi-software list | grep Wiring\n```\nroot@dietpi2:~# dietpi-software list | grep Wiring\nID 70 | =0 | WiringPi: GPIO interface library (C) | +Build-Essential | https://dietpi.com/docs/software/hardware_projects/#wiringpi\nID 166 | =0 | Audiophonics PI-SPC: Raspberry Pi power management module | +WiringPi | https://dietpi.com/docs/software/hardware_projects\n```\ndietpi-software install 70\n\ngpio mode 3 out\ngpio write 3 1\n\ngpio mode 26 out\ngpio write 26 1\n\ngpio mode 14 out\ngpio write 14 1\n\ngpio mode 15 out\ngpio write 15 1\n\n\ngit clone https://github.com/wisehackermonkey/notifier-motioneye.git\ngit remote set-url origin https://wisehackermonkey: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@github.com/wisehackermonkey/notifier-motioneye.git\n\njournalctl -u motioneye --no-pager\n\n\njournalctl -u motioneye --no-pager -g 'DEBUG: 304 GET /'\n```\n\n# links\n[how journalctl works -- i used this extensivly](https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisehackermonkey%2Fnotifier-motioneye","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwisehackermonkey%2Fnotifier-motioneye","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisehackermonkey%2Fnotifier-motioneye/lists"}