GithubHelp home page GithubHelp logo

apearson / node-red-contrib-insteon Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 1.0 665 KB

This repo has been deprecated. A library of nodes for interacting with the Insteon ecosystem.

License: BSD 3-Clause "New" or "Revised" License

HTML 48.70% TypeScript 51.30%
insteon insteon-plm node-red node-red-contrib plm

node-red-contrib-insteon's Introduction

[Deprecated] Insteon PLM for Node-RED

Overview

A library of nodes for interacting with the Insteon home automation ecosystem.

Nodes

Insteon PLM

This node is the main node for interacting with the modem directly. It has the least number of layers and allows you to execute Insteon commands directly on the modem.

Messages

Topic: The command the modem should execute

Device: The device the command should target

Payload: The body of the command

Resources

Command examples can be found in wiki/PLM-Node

node-red-contrib-insteon's People

Contributors

apearson avatar dependabot[bot] avatar paulwieland avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

paulwieland

node-red-contrib-insteon's Issues

Scope of project?

Hey @apearson I just found this node and successfully got it working with my USB PLM connected to a raspi 4 (node red in docker).

I've been thinking about trying to write something myself for a while, but you've got a really great start (although there doesn't seem to be much in the way of examples or documentation).

I was thinking about creating four nodes: Device Input, Device Output, Scene Input, Scene Output - this was to try and mimic the input/ouput nomenclature that node-red has (like for MQTT).

The input nodes would let you choose a target device or scene and then send it a command (On, Off, level, etc), and the output nodes would be like subscribers which listen for a device or scene to go to the specified state (Motion detected, Switched On, etc).

I hadn't figured out the logistics of naming the devices & scenes...

I also thought about building a node-red-ui for managing links, but that's another story.

Anyway, what is your vision for the project? Are you planning to just keep it a single node that lets you send commands to the PLM or something more than that?

I really want to have all of my insteon control and bridge with Apple HomeKit in node-red.

Open PR

Hey there - I don't know if you saw my comment on the open pr from a couple of weeks ago. I tried to ping you on slack too :)

ToDo

  • PLM Config Node
    • Created
    • Linked Up
    • Working
  • PLM Node
    • Created
    • Linked Up
    • Working
  • Device Config Node
    • Created
    • Linked Up
    • Working
  • Device In node
    • Created
    • Linked Up
    • Working
  • Device Out node
    • Created
    • Linked Up
    • Working
  • Scene config node
    • Created
    • Linked Up
    • Working
  • Scene In node (Not needed)
    • Created
    • Linked Up
    • Working
  • Scene Out node
    • Created
    • Linked Up
    • Working

Work on reconnect

how to reconnect

  • On Close, set a timeout to reconnect
  • On Error, set a timeout to reconnect

Use SerialPort.list to identify which ports are on the machine

Run SerialPort.list every so often to detect when port is back while disconnected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.