0.0.8 • Published 2 years ago

homebridge-homeworks-serial v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

0.0.3

2 years ago

0.0.2

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.1

2 years ago