GithubHelp home page GithubHelp logo

mickeywaley / luci-app-homebridge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shanglanxin/luci-app-homebridge

0.0 1.0 0.0 18 KB

Used for setup Homebridge on openwrt platform

Makefile 4.82% Lua 64.49% HTML 7.59% Shell 23.10%

luci-app-homebridge's Introduction

luci-app-homebridge

Used for setup Homebridge on Openwrt platform

Now only test on x86_64 platform

Thanks for LEDE, homebridge project and YinHangCode

Pre-Requirements

Openwrt must support Node module, and make sure have enough space to install node plugins.

Get token

If you want to use homebridge platform, at least you should know how to get token and ip from the hardware first.
If you don't know how to get them, check below guidance first:
Token of devices

Supported Devices

  1. Mi Philips Light
    MiPhilipsSmartBulb(米家飞利浦智睿球泡灯)
    MiPhilipsTableLamp2(米家飞利浦智睿台灯二代)
    MiPhilipsCeilingLamp(米家飞利浦智睿吸顶灯)
  2. Mi Outlet
    MiPlugBase(米家智能插座基础版)
    MiPlugBaseWithUSB(小米智能插座_USB版)
    MiIntelligencePinboard(米家智能插线板)
    MiQingPinboard(青米智能插线板_五孔位版)
    MiQingPinboardWithUSB(青米智能插线板_USB版)
    MiPlugBaseEnhanced(米家智能插座增强版)
  3. Mi Yeelight
    ColorLEDBulb(Yeelight智能灯泡)
    DeskLamp(Yeelight台灯)
    ColorLedStrip(Yeelight彩光灯带)
    CeilingLamp(Yeelight吸顶灯)

... others ing and I don't own all of these devices to test....

Installation

  1. If you used for x86_64 platform, download the ipk and install with:

opkg install xxx.ipk

If you used other platform, maybe can have a try first.
if failed, please let me know the problem or you can download the package and try to compile by yourself.
  1. Click Install button to check the environment, like node, node-gyp ,npm and miio.
  2. If all success, you can continue to configuration step.

Configuration

There are three kind of service models you can choose:

  1. Main, which will only start main service and use the configs which not indicate Independent, this will useful for the platform with little memories or cpu, but also you will face a problem:
    If one hardware met problems like couldn't connet to the local network, other hardware won't response well too, because of the architecture of homekit.
  2. Independent, will start multiple homebridge services for every config indicate with Independent tag at the same time, and won't meet the problem mentioned above, but will use lots of memories and cpu, please check your hardware at this model.
  3. Main + Independent, will also start multiple homebridge services for every config indicate with Independent, as for the configs that not tag will 'Independent' will run at the main service, you can think this as a combine of Main and Independent configs.

Others

If you meet problems, please feel free to let me know.

luci-app-homebridge's People

Contributors

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