Catalog npm
PACKAGE EXPLORERView in registry

433-utils

npm

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

433nodetypescript
Versions collected9
Direct dependencies2From release 1.1.3
Last observed20 Oct, 20:01 UTC

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.

Versions 9

Collected releases
VersionPublishedDirect dependenciesOpen version
1.1.3Registry latest8 Apr 20202
1.1.224 Mar 20202
1.1.121 Mar 20202
1.1.018 Mar 20202
1.0.418 Mar 20202
1.0.318 Mar 20202
1.0.218 Mar 20202
1.0.118 Mar 20202
1.0.018 Mar 20202

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

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:7146c357e7082b70227a7af5c126a408798cf8a270ed2bf7a859b0ef5849aaaa