{"id":21831603,"url":"https://github.com/capevace/433mhz","last_synced_at":"2025-12-30T23:58:53.372Z","repository":{"id":57093109,"uuid":"77345699","full_name":"Capevace/433MHz","owner":"Capevace","description":"A Node module for sending data on a 433MHz transmitter via GPIO","archived":false,"fork":false,"pushed_at":"2021-11-30T18:44:17.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T23:41:48.682Z","etag":null,"topics":["433mhz","javascript","nodejs","raspberry-pi"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/433mhz","language":"Python","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/Capevace.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}},"created_at":"2016-12-25T22:47:41.000Z","updated_at":"2025-02-23T22:24:06.000Z","dependencies_parsed_at":"2022-08-22T21:41:04.308Z","dependency_job_id":null,"html_url":"https://github.com/Capevace/433MHz","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capevace%2F433MHz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capevace%2F433MHz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capevace%2F433MHz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capevace%2F433MHz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Capevace","download_url":"https://codeload.github.com/Capevace/433MHz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244804001,"owners_count":20513037,"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":["433mhz","javascript","nodejs","raspberry-pi"],"created_at":"2024-11-27T19:12:13.918Z","updated_at":"2025-12-30T23:58:53.344Z","avatar_url":"https://github.com/Capevace.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 433MHz\n\u003e A Node package to transmit data on a Raspberry Pi using a 433MHz sender.\n\nNote: I made this for my cheap remote outlets, I don't know if this is actually useful with other devices lol.\n\n**Be aware of command injection: the binary code you pass to `transmitCode` is passed directly into `exec` (no sanitization)!**\n\n## Installation\n```sh\nnpm install 433MHz\n```\n\n## Usage\n```js\nconst { transmitCode } = require('433MHz');\n\n// Input the code that you want to be transmitted\ntransmitCode('1111111111111111111010111');\n\n// You have multiple options to customize the transmission\ntransmitCode('1111111111111111111010111', {\n  transmitPin: 18,\n  shortDelay: 0.001,\n  longDelay: 0.005,\n  packetDelay: 0.05,\n});\n```\n\n### Options\n#### transmitPin\nThis is the pin, the data pin of the transmitter is connected to on the GPIO.\n**Default:** 18\n\n#### shortDelay\nThe short delay between pin output state changes.\n**Default:** 0.00037\n\n#### longDelay\nThe longer delay between pin output state changes.\n**Default:** 0.00101\n\n#### packetDelay\nThe delay between attempts (packets) of code data transmitted.\n**Default:** 0.01102\n\n## Changelog\n### Version 2.0.0\n- `transmitCode` now returns a Promise and the callback option has been removed\n- `transmitCode` is no longer the exported default, use `const { transmitCode } = require('...` instead\n\n### Version 1.1.0\n- Legacy version\n\n**Made by Lukas von Mateffy** (@Capevace)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapevace%2F433mhz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapevace%2F433mhz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapevace%2F433mhz/lists"}