{"id":28346887,"url":"https://github.com/asteinheiser/connected-koozie","last_synced_at":"2026-07-15T10:32:46.822Z","repository":{"id":92524135,"uuid":"82740294","full_name":"ASteinheiser/connected-koozie","owner":"ASteinheiser","description":"Utilizes machine learning to determine when a drink is taken and sends that as a message via Meshblu!","archived":false,"fork":false,"pushed_at":"2017-03-16T23:24:31.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-06-22T02:41:16.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ASteinheiser.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,"zenodo":null}},"created_at":"2017-02-22T00:04:52.000Z","updated_at":"2019-02-04T17:06:47.000Z","dependencies_parsed_at":"2023-08-21T07:00:48.458Z","dependency_job_id":null,"html_url":"https://github.com/ASteinheiser/connected-koozie","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ASteinheiser/connected-koozie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASteinheiser%2Fconnected-koozie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASteinheiser%2Fconnected-koozie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASteinheiser%2Fconnected-koozie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASteinheiser%2Fconnected-koozie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ASteinheiser","download_url":"https://codeload.github.com/ASteinheiser/connected-koozie/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASteinheiser%2Fconnected-koozie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35501664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-15T02:00:06.706Z","response_time":131,"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":"2025-05-27T15:11:33.860Z","updated_at":"2026-07-15T10:32:46.817Z","avatar_url":"https://github.com/ASteinheiser.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connected Koozie\n\nStrap a Tiny Tile to any koozie and make it a smart koozie! Using the built in accelerometer data, Meshblu, and machine learning, the smart koozie will let you know when you have taken a sip of your drink. This could be used for IoT drinking games, personal health, etc.\n\n## Usage\n\n#### Machine Learning\n- Run trainer.js to start sending your accelerometer values to Meshblu. Press [Enter] to send current values with gesture flag 'false'. Type any key, then [Enter] to send values with gesture flag 'true'.\n\n- Run createDataSet.js to create a json file containing your accelerometer values as such:\n\n`node createDataSet.js \u003e trainingSet.json`\n\n- To generate a prediction model, use node-svm as such:\n\n`node-svm train trainingSet.json predictionModel.json`\n\n#### Connector\n- Run connector.js to send messages to Meshblu when you take a sip from your smart koozie! The connector utilizes the generated predictionModel.json file from machine-learning to determine what counts as a sip.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasteinheiser%2Fconnected-koozie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasteinheiser%2Fconnected-koozie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasteinheiser%2Fconnected-koozie/lists"}