{"id":15540623,"url":"https://github.com/chatch/nova-sds011","last_synced_at":"2025-06-28T04:38:26.804Z","repository":{"id":65464370,"uuid":"55879113","full_name":"chatch/nova-sds011","owner":"chatch","description":"Nova SDS011 PM sensor serial reader","archived":false,"fork":false,"pushed_at":"2016-04-22T13:23:49.000Z","size":17,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-01T15:47:40.208Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chatch.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}},"created_at":"2016-04-10T03:36:09.000Z","updated_at":"2025-02-25T01:16:09.000Z","dependencies_parsed_at":"2023-01-24T17:05:13.836Z","dependency_job_id":null,"html_url":"https://github.com/chatch/nova-sds011","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chatch/nova-sds011","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatch%2Fnova-sds011","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatch%2Fnova-sds011/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatch%2Fnova-sds011/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatch%2Fnova-sds011/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chatch","download_url":"https://codeload.github.com/chatch/nova-sds011/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatch%2Fnova-sds011/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262376256,"owners_count":23301346,"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":[],"created_at":"2024-10-02T12:14:09.505Z","updated_at":"2025-06-28T04:38:26.772Z","avatar_url":"https://github.com/chatch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nova-sds011\n[![](https://img.shields.io/npm/v/nova-sds011.svg)](https://www.npmjs.com/package/nova-sds011)\n[![Build Status](https://travis-ci.org/chatch/nova-sds011.svg?branch=master)](https://travis-ci.org/chatch/nova-sds011)\n\n[Nova SDS011](http://inovafitness.com/upload/file/20150311/14261262164716.pdf) PM sensor serial reader\n\n## Quickstart\n\nPlugin the Nova and run \"node index.js\". (NOTE: script assumes the Nova is at /dev/ttyUSB0)\n\n## Library Usage\n\nUse [serialport](https://www.npmjs.com/package/serialport) with this library to read values:\n\n```\nlet serialport = require(\"serialport\")\nlet sds011 = require('nova-sds011')\nlet serial = new serialport.SerialPort(\"/dev/ttyUSB0\", {\n    baudrate: 9600\n})\nserial.on('data', function (data) {\n    let pmValues = sds011(data)\n    if (!pmValues) {\n        log.error('failed to parse buffer [' + data.toString('hex') + ']')\n        return\n    }\n    console.info(\"pm2.5: \" + pmValues.pm2_5 + \"\\tpm10: \" + pmValues.pm10)\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatch%2Fnova-sds011","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchatch%2Fnova-sds011","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatch%2Fnova-sds011/lists"}