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

v1.0.0

Published

Adafruit RFM69HCW bonnet 433MHz Louvre + Lightstrip control

Downloads

3

Readme

RFM69HCW Homebridge Plugin

||| |-|-| |||

A Homebridge plugin for Adafruit's Raspberry Pi RFM69HCW Transceiver Radio Bonnet.

Enabling HomeKit control of 433MHz devices such as Louvres and outside lighting.

Prerequisites

  1. Raspberry Pi (deployed on a 3, 4+ should work?)
  2. Adafruit's Raspberry Pi RFM69HCW Transceiver Radio Bonnet

Installing

  1. Search plugins for homebridge-rfm69hcw and install
  2. Add accessories
    1. Fill in name
    2. Select device type
    3. Enter in transmission code (see determining codes)
    4. Optionally set transmission times
  3. Restart Homebridge

Transmission time is how long the "button" is being held down for. In the case of louvres this defaults to 40, which is ~4 seconds. Depending on your configuration you may want this to be longer/shorter. Ideally it should be set so that from close the louvers completely open.

Supported devices

  • Roof louvres at 433MHz based on the EV1527 chip
  • Lighting strip from an unknown manufacturer

EV1527 Louvres

Exposed as two switches:

Enabling a switch will continually transmit that action for the configured number of times. Once the configured times has been hit, this plugin will revert the state of the switch back to off. Can also interrupt a transmission by either toggling that action back to off, or toggling of the alternative action. For instance turning on open will begin opening the louvres, and the manually turn open to off will stop the transmission before the regular timeout.

Lightstrip

Exposed as a lightbulb. Hold on the button to access the dimming control.

Development

Close this repo

git clone ...
cd homebridge-rfm69hcw

Local width homebridge development

# run from cloned repo
# this will monitor for changes and start homebridge in dev mode
npm run watch

Local standalone development

# run from cloned repo
# this will run src/_dev/index.ts which allows for direct instantiation of modules
npm start

Determining codes

Stop homebridge

sudo systemctl stop homebridge

Navigate to homebridge-rfm69hcw's module directory, install dev dependencies, and then run:

cd /usr/local/lib/node_modules/homebridge-rfm69hcw
npm install
npm start

Select desired device:

1 EV1527
2 LIGHTSTRIP
Device type? 1
Listening for Ev1527 packets

Pressing a button on the corresponding remote should now output the appropriate code for that button.