Catalog npm
Back to packageRELEASE DETAILS

1.0.3

npm

433-utils

This project is a portage in TypeScript of the repository https://github.com/ninjablocks/433Utils

433nodetypescript
Published18 Mar 2020
Direct dependencies2
Transitive dependenciesNot calculated

README

Current package documentation

433Utils

This project is a simple portage in TypeScript of the repository 433Utils. This repository simply calls the various executables of the ported library.

The .cpp files have been modified (in /custom433Utils/) to pass the PIN as argument (and thus not to build the files each time the PIN is modified).

Installation

npm i 433-utils

Usage

Receive

This listener allows you to listen to data received by the receiver on the specified PIN.

let receiver = new Receiver(0); // Set PIN
receiver.setOnReceiveListener((data) => {
    // handle data value
});

Send

let transmitter = new Transmitter(1); // Set PIN
transmitter.send(123, 2, 1)
    .then((values) => {
        // message sent
    });

Note

The PIN parameters correspond to those of the WiringPi library. The mapping table can be found here.

This project needs:

  • Raspberry PI
  • 433 Mhz Transmitter (TX)
  • 433 Mhz Receiver (RX)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^13.7.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^3.7.5development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-yFBqsdjvP85DFhvsISS/pJm2tvY0QVKZCOF+wwxEKmp29Xeuvpzz2S/3Dq8NI/oc+2mWF5qbrRO4oYVFgglXfw==",
  "shasum": "454315d999785287a104d25680710bba22c37eda",
  "tarball": "https://registry.npmjs.org/433-utils/-/433-utils-1.0.3.tgz",
  "fileCount": 50,
  "unpackedSize": 184076,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecoqQCRA9TVsSAnZWagAAahkP/1KIdFiNRk84pVbW8dtQ\nUdXN8sjipcrNqpulKFE4B3pRIQvHKlHjBTY3xh32qgR6sHaS0APJa7113UfH\ndnK8/ELE6H7eCCNMXLFeC5Q/V4pmr28d1zLnCXN9FUBlHAiR8aUDl/D4yKR0\nDqM5JLlJPvuZAMIsqJdw1odK02ngbOJ2G8asWUKYBoFOxHS6j4WN4cgy3HQ3\nB3nJBQX8wyV+HaOT4Yk9Vu4yvX+vVtqfxtHrTLASeNzbf8eArqXeTLINTPUi\n9BPSt/niYQqhZDexY2ebCeKTA6YlEMFYn9N7DRIqYHi01yMgon+TD7bQLNWG\negQjcejmkHFDyOiFinY7yNJhtSyWwscn8iUosfqnW1dvE3hDNEAkaBWUl6I8\nk/3tw43LuCripVJfJkQQIZWknyuJjI6LFGBAb/YbjYZRMywJDyjp+R9FOf+Z\n6o+QN9aWPNMCD11tfbcstTBdq70qwpjOyxYVOvFpqau3Ye92TN/oyaw2JqwR\nOdpPwGdIguVIWTV/XXooPK2K+RT+fcm0YkG45nRxP87IFWud7n/osQUsw8L6\nF7HKrgd5zd3gQ63J/jhzum8rhIso3m1VTXAfa3Rwy0j72okwTdw08s0ed8R1\nWYkFaPJr77V6dMWRrV6x2XukCwTMtj7WgkoXVVHubin8i6o75ItvVLXSmSbH\n/J8n\r\n=+vn5\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQDI7hUL/7luNDDB6KGNVmGN5lZdPvPtACS0WQ3KWn0pXgIhAP7R55RMtYPommw7+1Jc7gFKuJL8+Y+vnb7QhnRc2rH5"
    }
  ]
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:01 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:34f2589f1a78f4e825eeeb5753f7e15644384685c50e1ec0f019e8a8501cee1b

Other collected versions

1.1.38 Apr1.1.224 Mar1.1.121 Mar1.1.018 Mar1.0.418 Mar1.0.218 MarView all collected versions →