npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-homeworks-serial

v0.0.8

Published

Homebridge plugin for Lutron Homeworks using Serial Port

Downloads

24

Readme

homebridge-homeworks-serial


 ==================================
 IN DEVELOPMENT - PLEASE BE PATIENT
 ==================================
            NOT TESTED

 

Downloads Version

Homebridge plugin for Lutron Homeworks using Serial Port (RS232)

Many Thanks to @cptechie who inspired me to create this plugin via his own plugin homebridge-lutron-homeworks and to @davebeyer on the ideas on how to solve the huge amount of accessories via IPC and queue with his plugin homebridge-lutron-hwi

Config File

* Do not copy-paste this code, it will not work
"platforms": [
  {
    "platform": "HomeworksSerial",
    "name": "Homeworks Serial",
    "discoveryLogs": true,
    "serialPath": "/dev/ttyUSB0",
    "baudRate": 115200,
    "loginRequired": false,
    "password": "jetski",
    "commandDelay": 100,
    "extended": false,
    "debug": false,
    "devices": [
        {
          "name": "Hallway Light",
          "type": "dimmer",
          "address": "01:01:00:02:04",
          "defaultBrightness": 100,
          "defaultFadeTime": 0
        },
        {
          "name": "Bathroom Light",
          "type": "switch",
          "address": "04:06:01",
          "buttonId": 2,
          "pressType": "single"
        },
        {
          "name": "Heater",
          "type": "outlet",
          "address": "04:06:01",
          "buttonId": 3,
          "pressType": "double"
        },
        {
          "name": "Chiller",
          "type": "switch",
          "address": "04:06:01",
          "buttonId": 1,
          "pressType": "hold"
        },
        {
          "name": "Shutters",
          "type": "windowCovering",
          "address": "04:06:01",
          "timeToOpen": 30,
          "timeToClose": 25,
          "openButtonId": 4,
          "closeButtonId": 5,
          "stopButtonId": 6,
          "pressType": "single"
        },
        {
          "name": "custom",
          "type": "switch",
          "address": "04:06:01",
          "buttonId": 1,
          "rawCommands": {
            "on": "KBP, [04:06:01], 1",
            "off": "KBP, [04:06:01], 2"
          },
          "rawStatus": {
            "on": "KBP, [04:06:01], 1",
            "off": "KBP, [04:06:01], 2"
          }
        },
        {
          "name": "Shutters2",
          "type": "windowCovering",
          "address": "01:01:00:02:04",
          "timeToOpen": 30,
          "timeToClose": 25,
          "rawCommands": {
            "open": "FADEDIM, 16, 0, 0, [01:01:00:02:04]",
            "close": "FADEDIM, 35, 0, 0, [01:01:00:02:04]",
            "stop": "FADEDIM, 0, 0, 0, [01:01:00:02:04]",
            "louver": "KBP, [04:06:01], 1"
          },
          "rawStatus": {
            "open": "DL, [01:01:00:02:04], 16",
            "close": "DL, [01:01:00:02:04], 35",
            "stop": "DL, [01:01:00:02:04], 0",
            "louver": "KBP, [04:06:01], 1"
          }
        },
        {
          "name": "Living Room Scene",
          "type": "button",
          "address": "04:06:01",
          "buttonId": 7
        }
    ]
  }
]

Issues & Debug

If you experience any issues with the plugins please refer to the Issues tab and check if your issue is already described there, if it doesn't, please report a new issue with as much detailed information as you can give (logs are crucial).
if you want to even speed up the process, you can add "debug": true to your config, which will give me more details on the logs and speed up fixing the issue.


 

Support homebridge-homeworks-serial

homebridge-homeworks-serial is a free plugin under the MIT license. it was developed as a contribution to the homebridge/hoobs community with lots of love and thoughts. Creating and maintaining Homebridge plugins consume a lot of time and effort and if you would like to share your appreciation, feel free to "Star" or donate.

PayPal

Patreon

Ko-Fi