homebridge-rc433-motion-sensor
v0.0.1
Published
A Homebridge plugin for a 433 MHz motion sensor, that transmit data to a 433 MHz receiver of a Raspberry Pi.
Downloads
4
Maintainers
Readme
homebridge-rc433-motion-sensor
This Homebridge plugin enables you to control a 433 MHz motion sensor. All you need is a 433 MHz receiver.
Setup
- Wire a 433 MHz receiver to your Raspberry Pi.
- Install this plugin
npm i -g homebridge-rc433-motion-sensor
- Rename the sample-config.json to config.json and integrate your sensors 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
and run homebridge as root. If you are already running homekit with other apps integrate the accessories into your config.json and move your config file to the path above.
Accessory JSON config looks like:
{
"accessory": "MotionSensor433MHz",
"name": "MotionSensor433MHz1",
"pin": 2,
"on": 5510485,
"off": 5510484
}