Socket
Socket
Sign inDemoInstall

insteon-plm

Package Overview
Dependencies
88
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    insteon-plm

Insteon PLM is a TypeScript/JavaScript library for the Insteon PowerLinc Modem family of devices


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Insteon Powerlinc Modem

Actions Status

Overview

Insteon PLM is a TypeScript/JavaScript library for the Insteon PowerLinc Modem family of devices. This library's goal is to allow easy access to the the PowerLinc Modem and through the PowerLinc Modem allow easy programmatic access to the Insteon ecosystem of devices.

Supported Device List

Insteon USB Modem Interface (2413U)
Insteon Portable USB Adapter (2448A7)

Demo Usage

/* Libaries */
import PowerLincModem from '../src/main';

async function main(){

  /* Setup */
  const modem = new PowerLincModem('/dev/tty.usbserial-A60336ZZ');

  modem.on('ready', async () => {

    console.debug('Ready');

    await modem.setConfig(true, true, true, true);

    console.log(modem.config);

    const res = await modem.sendStandardCommand([0x42,0x42,0x42], 0x0F, 0x13, 0x00);
      
    console.log('Message was successful', res.ack);
  });

  /* Printing incoming packets */
  modem.on('packet', data => {
    console.info('Packet:', data);
  });

}

main();

insteon-terminal

Insteon Resources

The Madreporite Nexus: Insteon Programming
Insteon FAQ

FAQs

Last updated on 22 Jun 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc