{"id":16894188,"url":"https://github.com/jsuereth/raspberry-potter","last_synced_at":"2025-10-30T22:43:57.691Z","repository":{"id":66607426,"uuid":"63907219","full_name":"jsuereth/raspberry-potter","owner":"jsuereth","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-23T22:29:14.000Z","size":441,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-30T22:43:53.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/jsuereth.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}},"created_at":"2016-07-21T22:47:46.000Z","updated_at":"2022-09-01T17:49:22.000Z","dependencies_parsed_at":"2023-03-22T20:48:27.764Z","dependency_job_id":null,"html_url":"https://github.com/jsuereth/raspberry-potter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jsuereth/raspberry-potter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsuereth%2Fraspberry-potter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsuereth%2Fraspberry-potter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsuereth%2Fraspberry-potter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsuereth%2Fraspberry-potter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsuereth","download_url":"https://codeload.github.com/jsuereth/raspberry-potter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsuereth%2Fraspberry-potter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281896642,"owners_count":26580138,"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-10-30T02:00:06.501Z","response_time":61,"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-10-13T17:17:57.040Z","updated_at":"2025-10-30T22:43:57.673Z","avatar_url":"https://github.com/jsuereth.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Harry Potter wand automation\n\nThis project aims to detect motion from IR sources (or reflectors), classify into a \"shape\" and fire events for home automation.\n\n## Hardware\n\n- [Raspberry PI 3](https://www.raspberrypi.org/products/raspberry-pi-3-model-b/)\n- [IR Positioning Camera](http://www.dfrobot.com/index.php?route=product/product\u0026product_id=1088)\n- *Pending*\n  - IR LEDs\n  - Microphone and/or motion sensor\n\n## Basic Software Design\n\n- Upon sound/motion sensing, IR LEDs blast IR from the raspberry PI unit and/or \"wand\" device\n- Generate an image of last 'N' positions for each tracked IR source\n- Use OpenCV to classify image against trained 'spell shapes'.  Fire an event when a spell shape is above a confidence threshold.\n- Call the configured event handler for a given spell.\n\n## Physical design\n\n*TODO - fill this in once we've built a housing for the unit*\n\n\n## Spell Handlers\n\n*TODO figure out what these look like and how to configure them*.\n\nIdeas\n- LED control (on/off)\n- Play audio file/audio stream (on/off)\n- Remote automation API calls (wink/nest, etc.)\n  - Light Switch\n  - Lock/Unlock \n\n# Task list\n\n- [X] Basic IR tracking camera controls, sensitivity settings, etc.\n- [ ] local LED controller\n- [ ] Motion/Sound activated IR LED\n- [ ] OpenCV model training\n- [ ] Home automation API hooks\n- [ ] Local Audio controller\n- [ ] Physical housing\n\n\n# Licensing\n\nStill investigating what to use for this.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsuereth%2Fraspberry-potter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsuereth%2Fraspberry-potter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsuereth%2Fraspberry-potter/lists"}