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

Usage no npm install needed!

<script type="module">
  import homebridgeRc433Etekcity from 'https://cdn.skypack.dev/homebridge-rc433-etekcity';


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.


  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.