Skip to content

(Very opinionated) approach to get 433mhz switches running with homebridge

License

Notifications You must be signed in to change notification settings

tobilarscheid/homebridge-433mhz-switches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

homebridge-433mhz-switches

(Very opinionated) approach to get 433mhz switches running with homebridge on raspberry pi. I had no luck with homebridge-rcswitch or homebridge-rcswitch-gpionem so I decided to roll my own based on scripts.

Install script plugin

npm install -g homebridge-script2

Install wiringPI

cd ~
git clone git://git.drogon.net/wiringPi
cd wiringPi
./build

Clone & compile 433Utils

cd ~
git clone --recursive https://github.com/ninjablocks/433Utils
cd 433Utils/RPi_utils
make

Download script to send codes

git clone https://github.com/tobilarscheid/homebridge-433mhz-switches

homebridge config

Add something like the following to your homebridge config:

{
    "accessory": "Script2",
    "name": "Lichterkette",
    "on": "/home/pi/homebridge-433mhz-switches/send.sh <on code of your switch, e.g. 4194325>",
    "off": "/home/pi/433Utils/homebridge-433mhz-switches/send.sh <off code of your switch, e.g. 4194324>"
}

About

(Very opinionated) approach to get 433mhz switches running with homebridge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages