{"id":15533953,"url":"https://github.com/khanguslee/ant-plus-app","last_synced_at":"2025-11-11T22:30:58.879Z","repository":{"id":106155675,"uuid":"131822321","full_name":"khanguslee/ant-plus-app","owner":"khanguslee","description":"Investigation into creating a console application with ant-plus","archived":false,"fork":false,"pushed_at":"2018-09-24T08:34:24.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-29T05:35:36.911Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/khanguslee.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":"2018-05-02T08:37:29.000Z","updated_at":"2025-02-17T12:59:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0518834-95ae-4bff-8227-0ef45e4f50db","html_url":"https://github.com/khanguslee/ant-plus-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khanguslee/ant-plus-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanguslee%2Fant-plus-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanguslee%2Fant-plus-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanguslee%2Fant-plus-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanguslee%2Fant-plus-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khanguslee","download_url":"https://codeload.github.com/khanguslee/ant-plus-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanguslee%2Fant-plus-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283943855,"owners_count":26920580,"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-11-11T02:00:06.610Z","response_time":65,"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-02T11:40:31.146Z","updated_at":"2025-11-11T22:30:58.863Z","avatar_url":"https://github.com/khanguslee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ANT+ App\nRepository on getting the Power 2 Max power meter connected to the ant+ garmin usb dongle and writing data to the command line.\n\n# Getting Started\nEssentially follows the installation of the [ant-plus library](https://github.com/Loghorn/ant-plus) on javascript. However, the following are the steps that I took to get it working.\n\n## Windows\n### Installation of ANT+ USB \n1.  Download [Zadig](https://zadig.akeo.ie/) and install it\n2.  Plug in your ant+ dongle into a USB port\n3.  Open up Zadig\n4.  Go into Options -\u003e List All Devices\n5.  Select ANT USB-m Stick as the selected USB driver\n6.  Reinstall the driver to WinUSB\n\n## Linux\n1. Make sure you have the latest node.js and npm libraries\n2. Run `sudo apt-get install build-essential libudev-dev` to install necessary files for the ant-plus nodejs library\n3. Find the vendor and product ID by running the command `lsusb`. \n\nExample output:\n```\nBus 005 Device 005: ID 0fcf:1009 Dynastream Innovations, Inc. ANTUSB-m Stick\n```\nIn this example, it tells us that the vendor ID is 0fcf and the product ID is 1009 of the USB\n\n4. Create a new udev rule\n```\nsudo vi /etc/udev/rules.d/ant-usb-m.rules\n```\nThis will open up the vi text editor and create a file at that location\n\n5. Put the following into the rules file\n```\nSUBSYSTEM==\"usb\", ATTRS{idVendor}==\"0fcf\", ATTRS{idProduct}==\"1009\", RUN+=\"/sbin/modprobe usbserial vendor=0x0fcf product=0x1009\", MODE=\"0666\", OWNER=\"pi\", GROUP=\"root\"\n```\n\n6. Check that the system identifies the new USB\n```\nls /dev/ttyUSB0\n```\nThe console should output `/dev/ttyUSB0`\n\n7. Unplug the USB and run the script by typing `node index.js`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhanguslee%2Fant-plus-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhanguslee%2Fant-plus-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhanguslee%2Fant-plus-app/lists"}