{"id":38767571,"url":"https://github.com/blues/note-nodered","last_synced_at":"2026-01-17T12:01:35.585Z","repository":{"id":49069302,"uuid":"326790350","full_name":"blues/note-nodered","owner":"blues","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-29T14:30:29.000Z","size":302,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-12-26T17:50:41.928Z","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/blues.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-04T19:42:18.000Z","updated_at":"2025-02-09T01:21:50.000Z","dependencies_parsed_at":"2022-09-19T00:32:04.604Z","dependency_job_id":null,"html_url":"https://github.com/blues/note-nodered","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":0.2941176470588235,"last_synced_commit":"035a0d584fc5d8512a5da660c3c2b183b13b6f09"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/blues/note-nodered","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blues%2Fnote-nodered","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blues%2Fnote-nodered/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blues%2Fnote-nodered/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blues%2Fnote-nodered/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blues","download_url":"https://codeload.github.com/blues/note-nodered/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blues%2Fnote-nodered/sbom","scorecard":{"id":244867,"data":{"date":"2025-08-11","repo":{"name":"github.com/blues/note-nodered","commit":"035a0d584fc5d8512a5da660c3c2b183b13b6f09"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/19 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"57 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-cph5-m8f7-6c5x","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-5wg4-74h6-q47v","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-h452-7996-h45h","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-wm7h-9275-46v2","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-fqg8-vfv7-8fj8","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4","Warn: Project is vulnerable to: GHSA-wc69-rhjr-hc9g","Warn: Project is vulnerable to: GHSA-56x4-j7p9-fcf9","Warn: Project is vulnerable to: GHSA-v78c-4p63-2j6c","Warn: Project is vulnerable to: GHSA-44fp-w29j-9vj5","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-v923-w3x8-wh69","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-wpg7-2c88-r8xv","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-776f-qx25-q3cc"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T07:23:17.445Z","repository_id":49069302,"created_at":"2025-08-17T07:23:17.445Z","updated_at":"2025-08-17T07:23:17.445Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T11:50:55.898Z","status":"ssl_error","status_checked_at":"2026-01-17T11:50:55.569Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-17T12:01:35.129Z","updated_at":"2026-01-17T12:01:35.485Z","avatar_url":"https://github.com/blues.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# note-nodered\n\nNode JS library with Custom Node Red package for communication with Blues Wireless Notecard over I²C or Serial (UART) connections.\n\nThis Node Red package enables you to control the Notecard by developing flows in Node Red where a server is connected to the Notecard. For I²C connections, a Raspberry Pi or similar host is required.\n\n## Installation\n\n### Add Notecard Package\nWith Node Red pallet manager search for `node-red-contrib-notecard`\n\nFor manual installation, follow the steps suggested by the following video:\n  https://youtu.be/2bmWBU2xnHc\n\nYou can access the source in the repo here:\n  https://github.com/blues/note-nodered \n\n### Enable I2C or Serial on Raspberry Pi\nThe I2C interface on the Raspberry Pi must be enabled if using a [Notecarrier-PI Hat](https://shop.blues.io/products/carr-pi)\n\nThe serial interface on the Raspberry Pi must be enabled if using a [Notecarrier-A*](https://shop.blues.io/collections/notecarrier) or [Notecarrier-B](https://shop.blues.io/collections/notecarrier/products/carr-b).\n\nAssuming you are using a Raspbian-based operating system distribution on the Raspberry Pi:\n - [I2C configuration](https://dev.blues.io/build/tutorials/sensor-tutorial/notecarrier-pi/raspberry-pi/python/#configure-the)\n\n - [Serial configuration](https://dev.blues.io/build/tutorials/sensor-tutorial/notecarrier-al/raspberry-pi/python/#configure-serial-between-and)\n\n\n\n## Usage\n\nAdd a `Notecard Request` node to a Node Red flow from the node pallet on the left-hand side of the interface.\n\nPopulate input message `payload` field with a JSON object conforming to a [Notecard request](https://dev.blues.io/reference/complete-api-reference/introduction/).\n\nThe Notecard response will appear in the `payload` field of the output as a JSON object.\n\n### Configuration\nThe `Notecard Request` node must select a `Notecard` configuration node.\n\nIf there is no configuration node available, select `Add new notecard-config`, and click the edit button.\n\n![Notecard Config Node](images/notecard-config-screenshot.png)\n\n#### Configuration Node Settings\nThe default Notecard Configuration node settings support the default Raspberry Pi and Notecard configurations.\nIn most cases, additional configuration is not required.\n\n__Connection__\nSelect the connection type used to communicate with Notecard.  When using the Notecarrier-Pi, make sure `I2C` is selected.  If using a USB port, select `serial`.\n\n__Bus Number__\nThe I2C bus number must be set to the port number being used by the I2C module on the Raspberry Pi.  It is a value between [0, 7] inclusive.\n\n__Address__\nThe default address for the Notecard is 0x17 (23).  If that has been changed, then set the address value to the new Notecard address.\n![Communication Settings](images/notecard_request_comms_properties.png)\n\n__Port__ \nSerial port which Notecard is connected to when using `serial` communication option.\n\n__Baud Rate__\nThe baud rate in bits-per-second used to communicate with Notecard over serial. Use 115200 only if using the [Auxiliary Serial Port](https://discuss.blues.io/t/what-is-aux-rx-tx-and-how-do-i-use-it/153).\n\n### Sending Notecard Requests\nThe `Notecard Request` node accepts Notecard requests formed as JSON object.\n\nSet the value of the input  `msg.payload` to a Notecard request.\n\nHere is an example using an `Inject` node:\n\n![Message Payload](images/notecard_request_payload.png)\n\n__Response__\n\nThe `Notecard Request` will output the response from the Notecard in the `msg.payload` field as a JSON object.\n\n```json\n{\n    \"_msgid\":\"ece314b1.2b8478\",\n    \"payload\":{\n        \"body\":{\n            \"org\":\"Blues Wireless\",\n            \"product\":\"Notecard\",\n            \"version\":\"notecard-1.5.2\",\n            \"ver_major\":1,\n            \"ver_minor\":5,\n            \"ver_patch\":2,\n            \"ver_build\":12200,\n            \"built\":\"Dec  7 2020 19:28:29\"\n        },\n        \"version\":\"notecard-1.5.2.12200\",\n        \"device\":\"dev:xxxxxxxxxxxxxxx\",\n        \"name\":\"Blues Wireless Notecard\",\n        \"type\":11,\n        \"sku\":\"NOTE-NBNA500\"\n    },\n    \"topic\":\"\"\n}\n```\n\n## Examples\nThe [examples](examples/) directory contains example Node Red flows:\n\n- [Get Notecard Version](examples/notecard-version-request.json)\n\n\n#### Simple Flow Example Layout\n![Simple Notecard Request Flow](images/example-layout-screenshot.png)\n\n## Compatibility\nVersion 1.x.x is not backwards compatible with version 0.x.x.  There is no expectation of support for importing flows developed with previous versions of this package.\n\nVersion 1.x.x does *not* support JSON strings as request inputs or response outputs.  All requests and responses are formatted as a JSON object.\n\n### Migration\n`Notecard Request` nodes are a drop in replacement in the diagram if using JSON objects for input and output.  \n\nBe sure to set the Notecard Config node in each case.  \n\nAny JSON string inputs need to be parsed to JSON objects prior to input into this node.\n\n## Contributing\n\nWe love issues, fixes, and pull requests from everyone. By participating in this project, you agree to abide by the Blues Inc [code of conduct](https://blues.github.io/opensource/code-of-conduct).\n\nFor details on contributions we accept and the process for contributing, see our [contribution guide](CONTRIBUTING.md).\n\n## Running the Tests\n\nIf you're planning to contribute to this repo, please be sure to run the tests before submitting a PR. \n\nTests can only be run on Raspberry Pi connected to Notecard over I2C\n\nNavigate to the root folder and execute\n\n```bash\nnpm test\n```\n\n## More Information\n\nFor additional Notecard SDKs and Libraries, see:\n\n* [note-python](https://github.com/blues/note-python) for Python support\n* [note-c](https://github.com/blues/note-c) for Standard C support\n* [note-go](https://github.com/blues/note-go) for Go\n* [note-arduino](https://github.com/blues/note-arduino) for Arduino \n\n## To learn more about Blues Wireless, the Notecard and Notehub, see:\n\n* [blues.com](https://blues.com)\n* [notehub.io][Notehub]\n* [wireless.dev](https://wireless.dev)\n\n## License\n\nCopyright (c) 2021 Blues Inc. Released under the MIT license. See [LICENSE](LICENSE) for details.\n\n[code of conduct]: https://blues.github.io/opensource/code-of-conduct\n[Notehub]: https://notehub.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblues%2Fnote-nodered","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblues%2Fnote-nodered","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblues%2Fnote-nodered/lists"}