{"id":18985723,"url":"https://github.com/paul-reed/node-red-contrib-rf-decode","last_synced_at":"2026-02-12T15:03:06.938Z","repository":{"id":65462050,"uuid":"165308273","full_name":"Paul-Reed/node-red-contrib-rf-decode","owner":"Paul-Reed","description":"A node-red node to decode rf packet data","archived":false,"fork":false,"pushed_at":"2022-02-21T16:32:40.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T12:19:11.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Paul-Reed.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":"2019-01-11T20:54:01.000Z","updated_at":"2022-02-21T16:32:43.000Z","dependencies_parsed_at":"2023-01-24T15:35:17.182Z","dependency_job_id":null,"html_url":"https://github.com/Paul-Reed/node-red-contrib-rf-decode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Paul-Reed/node-red-contrib-rf-decode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paul-Reed%2Fnode-red-contrib-rf-decode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paul-Reed%2Fnode-red-contrib-rf-decode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paul-Reed%2Fnode-red-contrib-rf-decode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paul-Reed%2Fnode-red-contrib-rf-decode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Paul-Reed","download_url":"https://codeload.github.com/Paul-Reed/node-red-contrib-rf-decode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paul-Reed%2Fnode-red-contrib-rf-decode/sbom","scorecard":{"id":108324,"data":{"date":"2025-08-11","repo":{"name":"github.com/Paul-Reed/node-red-contrib-rf-decode","commit":"24ae034b3ac04d550018f359a3b7d3e68ac741ff"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/11 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":"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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":"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 'master'"],"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"}}]},"last_synced_at":"2025-08-15T11:32:28.098Z","repository_id":65462050,"created_at":"2025-08-15T11:32:28.099Z","updated_at":"2025-08-15T11:32:28.099Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271371123,"owners_count":24747990,"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-20T02:00:09.606Z","response_time":69,"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-11-08T16:27:53.838Z","updated_at":"2026-02-12T15:03:06.896Z","avatar_url":"https://github.com/Paul-Reed.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"node-red-contrib-rf-decode\n====================\n\nA \u003ca href=\"https://nodered.org\" target=\"_new\"\u003eNode-RED\u003c/a\u003e node that decodes RF data packets received via a serial node from a RFM2Pi or RFM69Pi board (as used by the \u003ca href=\"https://openenergymonitor.org\" target=\"_new\"\u003eopenenergymonitor\u003c/a\u003e project (emoncms).\n\nInstall\n-------\n\nRun the following command in your Node-RED user directory - typically `~/.node-red`\n\n    npm install node-red-contrib-rf-decode\n\nUsage\n-----\n\n\n### Inputs\n\nThe input into the node is normally received via the serial port `/dev/ttyAMA0` at a baud rate of 38400, and introduced into node-RED using a serial in node.\n\nThe format takes the form of byte packets;  \n`OK 23 22 1 0 0 0 0 237 94 188 4 (-61)`  \nalthough it may be a different length, depending upon the transmitting device.\n\nThe resultant UTF8 ascii string from the serial in node is then decoded by the `rf-decode` node.\n\n### Outputs\n\nThe output msg includes;\n - ack: \"OK\" (acknowledgement of msg integrity\n - node: 23 (The originating node ID of the sending device)\n - rssi: -61 (The RSSI of the sending device)\n - time: 1547147593051 (Epoch timestamp of time received by the `rf-decode` node)\n - An array of the decoded sensor data, which can then be easily parsed.\n\n### Example Flow\n\n```\n[{\"id\":\"d237620a.0c054\",\"type\":\"function\",\"z\":\"c53060.842a0fa\",\"name\":\"emonTH 23\",\"func\":\"// Change this to the node number required\\nif(msg.node == 23) {\\n  msg.temp = (msg[0])/10;\\n  msg.exttemp = (msg[1])/10;\\n  msg.hum = (msg[2])/10;\\n  msg.batt = (msg[3])/10;\\n  msg.pulse = msg[4];\\nreturn msg;    \\n} else {\\n    return null;\\n    }\",\"outputs\":1,\"noerr\":0,\"x\":500,\"y\":920,\"wires\":[[\"d3aafc26.df883\"]]},{\"id\":\"d3aafc26.df883\",\"type\":\"debug\",\"z\":\"c53060.842a0fa\",\"name\":\"\",\"active\":true,\"tosidebar\":true,\"console\":false,\"tostatus\":false,\"complete\":\"true\",\"x\":660,\"y\":920,\"wires\":[]},{\"id\":\"fa74f41f.09ed78\",\"type\":\"inject\",\"z\":\"c53060.842a0fa\",\"name\":\"Example data\",\"topic\":\"\",\"payload\":\"OK 23 22 1 0 0 0 0 237 94 188 4 (-61)\",\"payloadType\":\"str\",\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"x\":161,\"y\":920,\"wires\":[[\"655a22f5.34ba5c\"]]},{\"id\":\"ce6fb45d.8c2da8\",\"type\":\"function\",\"z\":\"c53060.842a0fa\",\"name\":\"Diverter 10\",\"func\":\"if(msg.node == 10) {\\nmsg.grid = msg[0];\\nmsg.solar = msg[1];\\nmsg.divert = msg[2];\\nmsg.volts = (msg[3])/1e2;\\nmsg.temp = (msg[4])/1e2;\\nreturn msg;    \\n} else {\\nreturn null;\\n}\",\"outputs\":1,\"noerr\":0,\"x\":500,\"y\":960,\"wires\":[[\"d361ebb4.106268\"]]},{\"id\":\"d361ebb4.106268\",\"type\":\"debug\",\"z\":\"c53060.842a0fa\",\"name\":\"\",\"active\":false,\"tosidebar\":true,\"console\":false,\"tostatus\":false,\"complete\":\"true\",\"x\":660,\"y\":960,\"wires\":[]},{\"id\":\"655a22f5.34ba5c\",\"type\":\"rf-decode\",\"z\":\"c53060.842a0fa\",\"name\":\"\",\"x\":334,\"y\":940,\"wires\":[[\"d237620a.0c054\",\"ce6fb45d.8c2da8\"]]},{\"id\":\"305fcb31.dc1024\",\"type\":\"serial in\",\"z\":\"c53060.842a0fa\",\"name\":\"Serial in\",\"serial\":\"37141735.229d68\",\"x\":171,\"y\":960,\"wires\":[[\"655a22f5.34ba5c\"]]},{\"id\":\"37141735.229d68\",\"type\":\"serial-port\",\"z\":\"\",\"serialport\":\"/dev/ttyAMA0\",\"serialbaud\":\"38400\",\"databits\":\"8\",\"parity\":\"none\",\"stopbits\":\"1\",\"newline\":\"\\\\n\",\"bin\":\"false\",\"out\":\"char\",\"addchar\":false,\"responsetimeout\":\"10000\"}]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaul-reed%2Fnode-red-contrib-rf-decode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaul-reed%2Fnode-red-contrib-rf-decode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaul-reed%2Fnode-red-contrib-rf-decode/lists"}