{"id":20521631,"url":"https://github.com/tedivm/headedhome","last_synced_at":"2025-04-14T02:36:26.798Z","repository":{"id":145202347,"uuid":"163472619","full_name":"tedivm/HeadedHome","owner":"tedivm","description":"An IOT Button for leaving the office.","archived":false,"fork":false,"pushed_at":"2019-01-03T02:11:13.000Z","size":5,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T02:36:16.306Z","etag":null,"topics":["aws-iot-button","bart-api","twilio"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/tedivm.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":"2018-12-29T03:35:47.000Z","updated_at":"2023-10-25T06:00:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3f1e007-cc38-42e7-9eae-3051acc921d5","html_url":"https://github.com/tedivm/HeadedHome","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedivm%2FHeadedHome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedivm%2FHeadedHome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedivm%2FHeadedHome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedivm%2FHeadedHome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tedivm","download_url":"https://codeload.github.com/tedivm/HeadedHome/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248812098,"owners_count":21165367,"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":["aws-iot-button","bart-api","twilio"],"created_at":"2024-11-15T22:30:26.279Z","updated_at":"2025-04-14T02:36:26.792Z","avatar_url":"https://github.com/tedivm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HeadedHome Button\n\nThe \"HeadedHome\" app is a simple lambda function meant to work with an AWS IoT Button. It uses the BART API to find when the next catchable trains are coming (taking into account the walk from the office), which it uses to estimate the time which I'll get home.\n\nOne a single push of the button it sends me a text message with the train depature times and the estimated time I'll be home if I left then. A double push of the button also sends my fiance a text message letting her know when I'll be home.\n\n## Configuration\n\n### Building\n\nBefore creating the lamdba package edit the settings on the top of `app.py` to match your specific setup.\n\nOnce done, run `make package`. You can then upload the `dist/function.zip` file using the AWS Console.\n\n\n### Environmental Variables\n\n* TWILIO_ACCOUNT\n* TWILIO_TOKEN\n* TWILIO_PHONE\n* MY_NUMBER\n* SO_NUMBER\n\n\n## Lambda Settings\n\n* Handler Function: `app.lambda_handler`\n* Memory: 128mb (the minimum)\n* Timeout: 10 seconds (the API calls are the biggest cost, but generally requests take less than two seconds)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftedivm%2Fheadedhome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftedivm%2Fheadedhome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftedivm%2Fheadedhome/lists"}