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-rfoutlets-protocol

v0.1.3

Published

RF (433MHz) outlet remote control plugin for homebridge which uses different protocols: https://github.com/thomas22122212/homebridge-rfoutlets-protocol

Downloads

16

Readme

homebridge-rfoutlets-protocol

Homebridge plugin purpose-built for controlling 433MHz radio frequency outlets which can be purchased inexpensively. (i.e. these). Homebridge maintains state information, so you can always know if you left that lamp on.

This is a forg from homebridge-rfoutlets as it didn't feature different protocols. How ever there is no support for different GPIO pins anymore. I needed protocol 4 to get my brennenstuhl RC-CE1-4001(same as LIDL Silvercrest RCR DP3 3711-A) working.

Homebridge-rfoutlets-protocol uses a compiled version of codesend from the 433Utils/RPi_utils (by ninjablocks) which is based on rc-switch (by sui77).

Tested on a Raspberry Zero W (armv6) Raspbian (Debian) Stretch and Node.js v8.9.1. This should work on most Raspberry Pi models, however YMMV. Possibly you need to compile codesend for your CPU architecture (using make and the 433Utils/RPi_utils) and replace .../node/lib/node_modules/homebridge-rfoutlets-protocol/codesend with your self compiled version.

Supports lights, switches, outlets and fans

Installation

  • Install homebridge
    sudo npm install -g homebridge

  • Install homebridge-rfoutlets-protocol sudo npm install -g homebridge-rfoutlets-protocol

  • Update your homebridge configuration (see sample-config.json)

Notes

  • The user which homebridge is run from does not have to be a sudoer as like in the original homebridge-rfoutlets
  • The 433MHz transmitter must be connected to pin 0 (GPIO17, physical 11)
  • A great guide on how to record RF signals and set up your Pi to transmit can be found here. Note: the web portion of the guide is not required
  • A better but german guide is here
  • A more specific information on how to record RF signals can be found here. This was the most valuable hint to get my outlets working as they use protocol 4 and 5 but only 4 is important
  • My german guide how to record the codes for Silvercrest/brennenstuhl outlets can be found here

Configuration

  • name: Name of your device
  • type: Light, Switch, Outlet or Fan (required, if Outlet selected 'outlet in use' will always be 'No')
  • manufacturer: manufacturer of the device plugged into the outlet (optional, defaults to blank)
  • model: model of the device plugged into the outlet (optional, defaults to blank)
  • serial: serial number of the device plugged into the outlet (optional, defaults to blank)
  • rf_on: RF signal to turn the outlet on (required)
  • rf_off: RF signal to turn the outlet off (required)
  • pulselength: RF transmission pulse length (optional, defaults to 189)
  • protocol: protocol for the transmitter (optional, defaults to 1)
  • pin: can NOT be configured as in homebridge-rfoutlets, it's always 0

See sample-config.json