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-lightwaverf

v0.4.3

Published

LightwaveRF plugin for homebridge: https://github.com/nfarina/homebridge

Downloads

35

Readme

homebridge-lightwaverf

verified-by-homebridge homebridge-lightwaverf homebridge-lightwaverf

LightWaveRF plugin for homebridge: https://github.com/nfarina/homebridge Note: This plugin communicates with the KlikAanKlikUit ICS-1000 or Lightwave Link Set the correct manager_host in the configuration:

  • web.trustsmartcloud.com
  • lightwaverfhost.co.uk
  • control-api.lightwaverf.com

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-lightwaverf
  3. Update your configuration file. See the sample below.
  4. Start homebridge
  5. Allow access on the lightwaverf link. Issue a command using homekit and press the botton on the link to grant access

Configuration

There are two options to configure lightwaverf. When you have the 'old' lightwaverf link (pre 2016) You can use the email, 4 digit pin and host to configure the plugin automatically using: Configuration sample:

"platforms": [
       {
         "platform": "LightWaveRF",
         "name": "LightWaveRF",
         "ip_address": "192.168.1.123",
         "manager_host": "lightwaverfhost.co.uk",
         "email": "[email protected]",
         "pin": "1234",
         "timeout": 1000
       }   
   ]

When you have a new lightwaverf link (+2016) you need to specify the devices yourself using the following syntax:

"platforms": [
       {
           "platform" : "LightWaveRF",
           "name" : "LightWaveRF",
           "ip_address": "10.0.1.30",
           "devices": [
               {
                   "roomId": 1,
                   "roomName": "LivingRoom",
                   "deviceId": 1,
                   "deviceName": "MyLight",
                   "deviceType": "D"
               },
               {
                   "roomId": 1,
                   "roomName": "LivingRoom",
                   "deviceId": 2,
                   "deviceName": "MyLight2",
                   "deviceType": "D"
               },
               {
                   "roomId": 1,
                   "roomName": "LivingRoom",
                   "deviceId": 3,
                   "deviceName": "MyGarageDoor",
                   "deviceType": "G",
                   "timeOut": 10
               },
               {
                   "roomId": 1,
                   "roomName": "LivingRoom",
                   "deviceId": 3,
                   "deviceName": "MyBlinds",
                   "deviceType": "WC",
                   "timeOut": 15
               }
           ]
       }
]

The following devices are supported:

  • Light: "deviceType": "L"
  • Dimmeble Light: "deviceType": "D"
  • Switch: "deviceType": "S"
  • GarageDoor: "deviceType": "G"
  • WindowCovering: "deviceType": "WC"

How to Determine Room Number:

Log in to Manager.LightwaveRF.com View All Rooms Select the room in question Show Page Source Search in Page Source for "All Off" -The Required value is in the data-room_number= attribute of that line

How to Determine Device Number:

Log in to Manager.LightwaveRF.com View All Rooms Select the room in question Device Number is usually the order in which the devices are listed, but this does not account for adding and removing devices. This may take some trial and error.

How to Register your HomeBridge server on Lightwave Link:

For Mac OSX, (nix, or rPi - can anyone verify?) in a Terminal Window, run echo -ne '100,!F*p' | nc -u 192.168.yyy.xxx 9760 be sure to select the right IP address. Ctrl+C to close the Echo window For Windows PC

Download PacketSender - https://packetsender.com/ Send 100,!F*p. to the Lightwave Link on port 9760 When the Lightwave Link starts flashing, press the Link button

Workaround to trigger turning all devices off in a room

Add a dummy switch in the config with the room number you for which you would like to add a switch to turn off all lights. Add a dummy device number < 0. E.g.:

"devices": [
               {
                   "roomId": 3,
                   "roomName": "Hal",
                   "deviceId": -1,
                   "deviceName": "RoomOff",
                   "deviceType": "S"
               }
           ]