{"id":17673614,"url":"https://github.com/codetheweb/rtlamr","last_synced_at":"2025-08-01T23:43:52.220Z","repository":{"id":85614162,"uuid":"129569340","full_name":"codetheweb/rtlamr","owner":"codetheweb","description":"A wrapper for rtlamr","archived":false,"fork":false,"pushed_at":"2018-08-13T16:10:49.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-05T09:04:04.346Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codetheweb.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-04-15T02:10:26.000Z","updated_at":"2018-04-15T23:33:59.000Z","dependencies_parsed_at":"2023-04-05T15:17:05.908Z","dependency_job_id":null,"html_url":"https://github.com/codetheweb/rtlamr","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"f5e498c095df4f1d118e7cacf38cc4b40823c791"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/codetheweb/rtlamr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codetheweb%2Frtlamr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codetheweb%2Frtlamr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codetheweb%2Frtlamr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codetheweb%2Frtlamr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codetheweb","download_url":"https://codeload.github.com/codetheweb/rtlamr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codetheweb%2Frtlamr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268314677,"owners_count":24231031,"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-08-01T02:00:08.611Z","response_time":67,"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-24T05:42:37.369Z","updated_at":"2025-08-01T23:43:52.134Z","avatar_url":"https://github.com/codetheweb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rtlamr-node\n\n[![forthebadge](https://forthebadge.com/images/badges/made-with-javascript.svg)](https://forthebadge.com)\n[![forthebadge](https://forthebadge.com/images/badges/built-with-resentment.svg)](https://forthebadge.com)\n\nA wrapper for [rtlamr](https://github.com/bemasher/rtlamr) in NodeJS.  To use this, rtlamr must be in your $PATH.\n\n## Installation\n\n  `npm install codetheweb/rtlamr-node`\n\n## Usage\n\n```javascript\nconst rtlamr = require('rtlamr-node');\n\n// Get single meter reading\nrtlamr.single({id: xxxxxxxx}).then((data) =\u003e {\n  console.log(data);\n});\n\n// Get stream of multiple meter readings\nrtlamr.run({duration: 300}, (error, stream) =\u003e {\n  stream.on('data', (data) =\u003e {\n    console.log(data);\n  });\n\n  stream.on('end', () =\u003e {\n    console.log('Finished!');\n  });\n});\n```\n\n**Make sure `rtl_tcp` is running when using `rtlamr-node`.**\n\n`run()` takes the same arguments as the original `rtlamr`.  For example, to connect to a remote RTL_TCP server, you would pass in `{'server': '192.168.0.xxx:zzzz'}` as an argument.\n\n`single()` takes an object with two properties, `id` and `timeout`.  `timeout` is in seconds and is optional.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodetheweb%2Frtlamr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodetheweb%2Frtlamr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodetheweb%2Frtlamr/lists"}