npm

Need private packages and team management tools?Check out npm Orgs. »

homebridge-rc433-etekcity1

1.0.5 • Public • Published

Homebridge RC433 Etekcity Plugin

This Homebridge plugin enables you to control 433mhz Etekcity switchs by a Raspberry Pi.

The plugin is based on the idea of FWeinb's rcswitch plugin. The Etekcity switches require a pulse length beside its controlling code given, therefore a basic rc433mhz implementation does not work.

Setup

  1. Wire a 433Mhz RF transmitter and receiver kit to your Raspberry Pi. You can find several instructions on the web (e.g. (German) Click here).

  1. Use wiring-pi and its rf sniffer to record the codes for your switches by launching the programm on your Raspberry Pi and controlling the switches by the remote control. Be aware of the fact that there are several implementations of the 433mhz protocol. The Etekcity switches require those which handle the pulse lenght.

  2. Follow the intstructions to install Homebridge on your Raspberry Pi

  3. Install this plugin

npm i -g homebridge-rc433-etekcity
  1. Rename the sample-config.json to config.json and integrate your switches in the accessories array. The pins of the Raspberry Pi require root rights to control them. Therefore you have to save your config file not in your users directory. Put it under /root/.homebridge/config.json. If you are already running homekit with other apps integrate the accessories switches into your config.json and move your config file to the path above.

  2. If you want to start homebrige as a service atomaticlly when the Raspberry is turned on copy over the file homebridge to /etc/init.d/ on your Raspberry.

install

npm i homebridge-rc433-etekcity1

Downloadsweekly downloads

1

version

1.0.5

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability