Giter Site home page Giter Site logo

homebridge-android's Introduction

Install Homebridge on Android

This guide provides step-by-step instructions to show you how to install Homebridge on your Android device. Imagine using your old phone as a home server.

Prerequisites

Before you get started, make sure you have the following ready:

  • A device with Android 7 or higher.
    ⚠️ For Android 12, 12L and 13+ complete these steps.
  • A DHCP-enabled network.
Tested devices & components
Device Android
Samsung Galaxy J7 (j7y17lte) 7
Component Version
termux 0.118.0
openssl 1.1.1u
Python 3.11.4
node v18.16.0
npm 9.5.1
homebridge @1.6.1
homebridge-config-ui-x @4.50.4

Installation

You can watch the video of the process here or Read this article here to complete steps manually.

Configure your device

The Termux app, which is going to be installed in the next step, is deprecated on Play Market, Play Store, etc. That is why enabling app installation from Unknown Sources is required.

  1. Open Settings Settings icon
  2. Find and click on Lock screen and security
  3. Enable Unknown sources
Screenshots
Settings Lock screen and security
Settings Security

Install Termux app

  1. Download the Termux Termux icon apk from: https://f-droid.org/repo/com.termux_118.apk
  2. Open My files app on your device
  3. Open Downloads folder
  4. Open com.termux_118.apk file
  5. Tap Install button on the right bottom corner
  6. Tap Done button
Alternative sources to get Termux Termux icon from

Install Homebridge

  1. Open this page and copy command below:
curl https://raw.githubusercontent.com/Orachigami/homebridge-android/main/setup.sh | bash
  1. Open Termux app Termux icon
  2. Wait until it launches
  3. Tap & Hold your finger on any place until you see a context menu with COPY PASTE MORE... buttons
  4. Tap PASTE
  5. Tap Enter button which should like something like ↩️ or 🔎

Installation process takes approximately 5 minutes.

If everything was installed successfully you will receive:

== Installation successful ==
Execute hb command to start

After installation

To test that Homebridge just works execute any of these commands:

Regular start Start with Accessory Control

hb

hb -I

Wait for the message:

[Homebridge UI] Homebridge Config UI X ... is listening on :: port 8581

Which means that you can open your browser, type in the address bar http://<your device ip>:8581 and complete setup.

Complete: Login to the Homebridge UI

The Homebridge UI web interface will allow you to install, remove and update plugins, and modify the Homebridge config.json and manage other aspects of your Homebridge service.

Login to the web interface by going to http://<ip address of your device>:8581.

To find the IP address of your server you can run:

ifconfig | awk '/netmask/{print $2}'

Ignore 127.0.0.1 if you don't know what it is.

FAQ

Are these apk files official?
No but approved by official Termux repo: It is recommended that you shift to F-Droid or GitHub releases.

homebridge-android's People

Contributors

orachigami avatar vijaygopalbalasa 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.