{"_id":"433mhz","_rev":"8-afaed0f059ff718faf5925194af47950","name":"433mhz","description":"A module for sending data on a 433MHz transmitter / receiver on a Raspberry Pi.","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"433mhz","version":"1.0.0","description":"A module for sending data on a 433MHz transmitter / receiver on a Raspberry Pi.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Capevace/433MHz.git"},"author":{"name":"Lukas von Mateffy","url":"@Capevace"},"license":"MIT","gitHead":"bcb49fc8027cb1818e9460a17ed7ddc5f247b98c","bugs":{"url":"https://github.com/Capevace/433MHz/issues"},"homepage":"https://github.com/Capevace/433MHz#readme","_id":"433mhz@1.0.0","scripts":{},"_shasum":"af5741294cbe513e8693d6978cc0403c959ec017","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"capevace","email":"capevace@gmail.com"},"dist":{"shasum":"af5741294cbe513e8693d6978cc0403c959ec017","tarball":"https://registry.npmjs.org/433mhz/-/433mhz-1.0.0.tgz","integrity":"sha512-8E8m3bbrNv2jU7iDCJIwuABwfZvrYIBgl29YeEvRlscoj2FvyGgZepa11lxNBvz5cjFRxTWBMFtXuHq6QlPLGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEtv3bZJSj1Sb8zEHhvLVNRPAndeNhUil9n0+8TMfzyQIhAOxy41gEgAzgC2AjJ7x+hKHbbucBCGGSL82j8+bmzdjK"}]},"maintainers":[{"name":"capevace","email":"capevace@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/433mhz-1.0.0.tgz_1482706515650_0.8903562400955707"},"directories":{}},"1.1.0":{"name":"433mhz","version":"1.1.0","description":"A module for sending data on a 433MHz transmitter / receiver on a Raspberry Pi.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Capevace/433MHz.git"},"author":{"name":"Lukas von Mateffy","url":"@Capevace"},"license":"MIT","gitHead":"dc37b4d84381e388c62a3682442a365dd619a7b7","bugs":{"url":"https://github.com/Capevace/433MHz/issues"},"homepage":"https://github.com/Capevace/433MHz#readme","_id":"433mhz@1.1.0","scripts":{},"_shasum":"88a296962569b1a517ad22982ff047271eeb5adb","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"capevace","email":"capevace@gmail.com"},"dist":{"shasum":"88a296962569b1a517ad22982ff047271eeb5adb","tarball":"https://registry.npmjs.org/433mhz/-/433mhz-1.1.0.tgz","integrity":"sha512-L2vZeVtHvASXD1h55KkQ7PMGI3++kh/8yTEbAD6eFUzgWvAxRq0iAvSJ0Q6auq2Ljea8SSXvs23RunvNlMyfrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDG8KTyDGRHQPSSfeqBFuBCYMushJ/yLJVEPPDzdQQGQIhAPVcxVzcgbezSBkys51BpmSdGDsUVUmyBKFWQXfMsCWE"}]},"maintainers":[{"name":"capevace","email":"capevace@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/433mhz-1.1.0.tgz_1483479480788_0.6842666692100465"},"directories":{}},"2.0.0":{"name":"433mhz","version":"2.0.0","description":"A module for sending data on a 433MHz transmitter / receiver on a Raspberry Pi.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Capevace/433MHz.git"},"author":{"name":"Lukas von Mateffy","url":"@Capevace"},"license":"MIT","gitHead":"07182e597b3b88715a373fe3a2ecc4bb77d23b17","bugs":{"url":"https://github.com/Capevace/433MHz/issues"},"homepage":"https://github.com/Capevace/433MHz#readme","_id":"433mhz@2.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-jV3m7C2X+1/NJwFYbXzswavZvXOygCyuSw+J57ANMyiVWMO8ZWExZoI/WoFR0sEWBO1nQRsSporhyimpmlYWDA==","shasum":"bf6ab2690e439300c9ab94011d81f4fe9f162a91","tarball":"https://registry.npmjs.org/433mhz/-/433mhz-2.0.0.tgz","fileCount":6,"unpackedSize":5250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhn5QCCRA9TVsSAnZWagAAwpMP/22UMozJ49TCpMgCXOtM\nYZh7ZPs8xal6D5lPWYQv1GLvuX4NW12AbTHJtv7bnnsjSjjC5hzrGUfusUia\nHxBPHEUegCgX+LxMKByg8YFd2zRudt6G3+a/5sJCbQbvcNDjdZSJgjC5vty9\n8cGN1zOladTCtIJ1KdernPy57IxV4EYvnHMsbdpS8N6JiwizaW+5XR2l95OL\nLYUF/TMr1q8yHWAYDifMFl6laQnhf5KF5nd4huY7Z+Kd+eyUshJCw/IZDZfl\nXwAE55YHzDtIG3kbLAiogYBoQ2EKK+v2L36Lww2U38nInrWGmQCwtGWKRrM7\nDSVBkCrAMSWQDP3JjOge6AmE6mHpy+0r43xM3bHIN11RHlPLTJUbNVjGRgw8\nD2uJhu7iUUzxEYxrhakMTfTMrLP6Bwsgj5sP1dgeOWB4RE5mOlCdamNyPcK2\nXrw/2A1eT2CNLyg8yuj1iDG7iFwLuqSCW3rb3QTFcGpEgHv4W2VkwrF5Zy+u\naJWGNMSXOPYKuVxqf15Vgd6C7/wtGRYmfs+19EWL3/X0Qa/MeFmClrKvafxQ\nSLDK54h7MAQGix5amT3KvbSwGj2dqr09fEDPTqXaZFtzuMkqMbs+wViCZT4G\nXAiBS3RFweGmnoRUuRslpiqnzfmssfKoe54OWkMY/TB3awLQ9gHQDu42EWKO\nWZfh\r\n=7xbM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICWINbx1bnpRKlaldtV18OnNtxbaCVreQZ1+Yx5w7xSDAiBcFidqXdMwcvyklr+x307BwiHh9V7zDvuFITWS35dIiQ=="}]},"_npmUser":{"name":"capevace","email":"luke@mateffy.me"},"directories":{},"maintainers":[{"name":"capevace","email":"luke@mateffy.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/433mhz_2.0.0_1637848066417_0.4324428126901192"},"_hasShrinkwrap":false}},"readme":"# 433MHz\n> 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","maintainers":[{"name":"capevace","email":"luke@mateffy.me"}],"time":{"modified":"2022-06-12T14:07:43.161Z","created":"2016-12-25T22:55:16.290Z","1.0.0":"2016-12-25T22:55:16.290Z","1.1.0":"2017-01-03T21:38:02.792Z","2.0.0":"2021-11-25T13:47:46.738Z"},"homepage":"https://github.com/Capevace/433MHz#readme","repository":{"type":"git","url":"git+https://github.com/Capevace/433MHz.git"},"author":{"name":"Lukas von Mateffy","url":"@Capevace"},"bugs":{"url":"https://github.com/Capevace/433MHz/issues"},"license":"MIT","readmeFilename":"README.md","users":{}}