Observed since 20 Oct, 20:01 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
433mhz
A module for sending data on a 433MHz transmitter / receiver on a Raspberry Pi.
A Node package to transmit data on a Raspberry Pi using a 433MHz sender.
Note: I made this for my cheap remote outlets, I don't know if this is actually useful with other devices lol.
Be aware of command injection: the binary code you pass to transmitCode is passed directly into exec (no sanitization)!
npm install 433MHz
const { transmitCode } = require('433MHz');
// Input the code that you want to be transmitted
transmitCode('1111111111111111111010111');
// You have multiple options to customize the transmission
transmitCode('1111111111111111111010111', {
transmitPin: 18,
shortDelay: 0.001,
longDelay: 0.005,
packetDelay: 0.05,
});
This is the pin, the data pin of the transmitter is connected to on the GPIO. Default: 18
The short delay between pin output state changes. Default: 0.00037
The longer delay between pin output state changes. Default: 0.00101
The delay between attempts (packets) of code data transmitted. Default: 0.01102
transmitCode now returns a Promise and the callback option has been removedtransmitCode is no longer the exported default, use const { transmitCode } = require('... insteadMade by Lukas von Mateffy (@Capevace)
Download counts and popularity will appear here as the collector receives them.
Declarations describe requirements; they are not a resolved dependency graph.
Source distribution
{
"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=="
}
]
}Observed since 20 Oct, 20:01 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:f346e66437e7a7f3f7c668bae0625418aa23f3840244ad4cfd4baf1bdcdceb75