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-rcswitch-pulselength

v1.1.0

Published

A Homebridge plugin for controlling rc 433mhz switches with custom pulse lenght via iOS devices.

Downloads

30

Readme

homebridge-rcswitch-pulselength

The plugin is based on the idea of FWeinb's rcswitch plugin. It is written by Christopher Neuwirth, who named it Homebridge RC433 Etekcity plugin (https://github.com/ChristopherNeuwirth/homebridge-rc433-etekcity). I bought switches at TOOM and they are manufactured by RWE. Normal rcswitch services were not working or not working properly. The pulse length had to be set between 250 and 300 microsec. 350 or higher is not working with these RWE switches. Now the Etekcity plugin sets the pulse length originally to 188 microsec, which is too short, but as seen in issue no1 the original should let specify a pulse length in the configuration file, but is not using this parameter. Now you can change the pulse length as well as the RF pin for each switch.

Installation

  1. Install WiringPi
  2. Install homebridge using: npm install -g homebridge
  3. Install this plugin using: npm install -g homebridge-rcswitch-pulselength
  4. Update your configuration file.

Configuration

You can add as many switches as you like. You will need to pass the name, id=unitcode, pulse length, pin GIO pin of RF module (usual 0), the on and off code as decimal string as received by e.g. RFSniffer in the 433Utils.

"accessories": [
    {
        "accessory": "RCSwitchP",
        "name": "Switch One",
        "id": "01",
        "pulse": "250",
        "pin": "0",
        "on": "5566771",
        "off": "5577660"
    }
]

Remarks

I added the pulselength feature into this easygoing plugin, because I bought switches at TOOM and they are manufactured by RWE. These switches have a normal 1..5 and A..E coding, but were not switchable by rcswitch programm. But I was able to switch my Brenstuhl switches with the remote of RWE (after coding), but not vice versa. So I tried the platform-rcswitch, but this caused troulbe on my PI3. (after changing the config, a restart of the homebridge is not enough, the Pi had to be restarted). Nevertheless, it was possible to switch both types using a pulselength of 250 to 300 �s. In the original homebridge-rcswitch it was not implemented to configure the pulselength.