Giter Site home page Giter Site logo

ey- / rcswitch-pi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from denschu/rcswitch-pi

0.0 1.0 0.0 25 KB

RCSwitch implementation for the Raspberry Pi

Makefile 3.13% C++ 15.76% JavaScript 50.46% Dockerfile 30.65%
docker docker-compose raspberry hap conrad rsl366 homebridge homebridge-plugin pi-switch rcswitch avahi

rcswitch-pi's Introduction

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).

rcswitch-pi's People

Contributors

ey- avatar denschu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.