Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
/ rcswitch-pi Public archive
forked from denschu/rcswitch-pi

RCSwitch implementation for the Raspberry Pi

Notifications You must be signed in to change notification settings

ey-/rcswitch-pi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker compose based stack for switching Conrad RSL366 via Apple Home

Build Status

This project contains a stack to use with a Raspberry Pi. Use docker-compose to spin up containers switch & homebridge. Homebridge needs a proper config.json in config folder.

{
  "bridge": {
    "name": "YourBridgeName",
    "username": "AA:BB:CC:DD:EE:FF",
    "port": 1234,
    "pin": "123-45-678"
  },

  "description": "Describe your bridge",

  "accessories": [
    {
      "accessory": "eyRcSwitch",
      "name": "Name your switch",
      "host" : "http://switch",
      "port" : "9876",
      "systemCode": "SystemCodeForYourSwitch(1-4)",
      "id": "UnitOfYourSwitch(1.4)"
    }
  ]
}

The switch container contains the implementation to control Conrad RSL366 switches via REST Interface. Check wiringpi|http://wiringpi.com/ for wiring up your raspberry pi to use this. Change environment variable for PIN if you use not PIN 3.

The homebridge container contains additional plugin and homebridge built to communicate primarly with the switch container.

Host needs to have avahi-daemon installed and running (with reflector enabled).

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.4%
  • Dockerfile 30.7%
  • C++ 15.8%
  • Makefile 3.1%