{"id":18387345,"url":"https://github.com/kherrick/pi-motion","last_synced_at":"2026-05-18T02:36:19.854Z","repository":{"id":31884546,"uuid":"35453204","full_name":"kherrick/pi-motion","owner":"kherrick","description":"Control and monitor a PIR sensor through a web app","archived":false,"fork":false,"pushed_at":"2017-09-02T18:50:06.000Z","size":29645,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T07:45:14.746Z","etag":null,"topics":["cylonjs","rasbperry-pi","web-components"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Tivix/django-rest-auth","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kherrick.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}},"created_at":"2015-05-11T22:22:00.000Z","updated_at":"2024-11-09T06:32:51.000Z","dependencies_parsed_at":"2022-07-12T09:24:37.071Z","dependency_job_id":null,"html_url":"https://github.com/kherrick/pi-motion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kherrick/pi-motion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kherrick%2Fpi-motion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kherrick%2Fpi-motion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kherrick%2Fpi-motion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kherrick%2Fpi-motion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kherrick","download_url":"https://codeload.github.com/kherrick/pi-motion/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kherrick%2Fpi-motion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"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":["cylonjs","rasbperry-pi","web-components"],"created_at":"2024-11-06T01:25:47.240Z","updated_at":"2026-05-18T02:36:19.835Z","avatar_url":"https://github.com/kherrick.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"pi-motion\n========\n\n## About\n Control and monitor a PIR sensor through a web app. Successfully utilized on a Raspberry Pi Zero.\n\n![alt tag](https://github.com/kherrick/pi-motion/blob/master/images/pi-motion-board.jpg) ![alt tag](https://github.com/kherrick/pi-motion/blob/master/images/pi-motion-breadboard.png)\n\n## Development\n* Get the required dependencies:\n  * `cd /opt`\n  * `sudo curl -O https://nodejs.org/dist/v7.6.0/node-v7.6.0-linux-armv6l.tar.xz`\n  * `sudo tar -xJpvf node-v7.6.0-linux-armv6l.tar.xz`\n  * `sudo ln -s /opt/node-v7.6.0-linux-armv6l/bin/node /usr/local/bin/node`\n  * `sudo ln -s /opt/node-v7.6.0-linux-armv6l/bin/npm /usr/local/bin/npm`\n\n* Clone the repository:\n  * `cd ~`\n  * `git clone https://github.com/kherrick/pi-motion`\n  * `cd pi-motion`\n  * `bin/init.sh`\n\n* Run unit tests, and see a coverage report:\n  * `bin/gulp test`\n  * `bin/gulp test-coverage`\n\n![alt tag](https://github.com/kherrick/pi-motion/blob/master/images/pir-sensor-enabled.png) ![alt tag](https://github.com/kherrick/pi-motion/blob/master/images/charts.png)\n\n## Configure and Launch\nCheck out the [config file](https://github.com/kherrick/pi-motion/blob/master/app/config.js) and change the options to access the web application from another browser (TV, phone, etc.). Next, serve the web app and cylon wiring app:\n\n* `cd ~/pi-motion`\n* `bin/gulp serve`\n\nWith just the defaults set, open a browser on the Pi, and go to [https://localhost:3000](https://localhost:3000) to view the [Robeaux](https://github.com/hybridgroup/robeaux) dashboard that is built into the Cylon.js framework (be sure to allow the browser to view the content behind the self signed certificate). Then browse to [http://localhost](http://localhost) to view the web application.\n\n## Read more\nView a write up about the project @ [http://karlherrick.com/dev/2015/04/29/pi-motion/](http://karlherrick.com/dev/2015/04/29/pi-motion/)\n\n[![Build Status](https://travis-ci.org/kherrick/pi-motion.svg?branch=master)](https://travis-ci.org/kherrick/pi-motion)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkherrick%2Fpi-motion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkherrick%2Fpi-motion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkherrick%2Fpi-motion/lists"}