Git Product home page Git Product logo

homebridge-installer's Introduction

Install Homebridge Docker Container on Firewalla Gold or Purple

This is a script for installing the Homebridge docker container on Firewalla Gold or Purple. It should get you up and running. It is based on the Firewalla tutorial.

To install, learn how to ssh into your firewalla if you don't know how already.

Beyond that, all you need to know to get this running is how to copy/paste.

Next, copy the line below and paste into the Firewalla shell and then hit Return.

curl -s -L -C- https://raw.githubusercontent.com/kcirtapfromspace/homebridge-installer/main/homebridge_docker_install.sh | cat <(cat <(bash))

Standard disclaimer: I can not be responsible for any issues that may result. Nothing in the script should in any way, affect firewalla as a router or comprimise security. Happy to answer questions though if I can. :)

What is Homebridge?

Homebridge is a lightweight NodeJS server you can run on your home network that emulates the iOS HomeKit API. It supports Plugins, which are community-contributed modules that provide a basic bridge from HomeKit to various 3rd-party APIs provided by manufacturers of "smart home" devices.

Since Siri supports devices added through HomeKit, this means that with Homebridge you can ask Siri to control devices that don't have any support for HomeKit at all."

Why run homebridge on Firewalla?

You can run Homebridge on lots of devices. If you don't have a NAS or Raspberry Pi around Fireawlla is an alternative. But most interesting to me was to monitor Firewalla's own stats. You also get dashboard readings about CPU load and memory consumption:

image

And the CPU temperatures: image

Now you can see Firewalla's temperature as a homekit sensor. To fully configure this for Firewalla specifically, see the Firewalla guide.

Updating docker

Here's a script for updating docker containers.

Restarting after Firewalla update or reboot

Here's a script for restarting Homebridge after reboots and FW upgrades.

Uninstalling

If you need to reset the container (stop and remove and try again) run the following commands.

WARNING: if you use these commands you are stopping and removing the container. Don't do this unless you are sure that you don't mind potentially losing your homebridge configuration. If you haven't managed to get the Controller running then there is probably no harm in this: nothing to lose.

Otherwise, only do this if you know at least a little bit about what you are doing. And always backup.

# This stops the homebridge container and removes it to get you back to a clean state.
sudo docker-compose down && sudo docker container stop homebridge && \
sudo docker container rm homebridge && sudo docker image rm oznu/homebridge && sudo docker system prune && sudo systemctl stop docker

# this removes the startup script 
rm /home/pi/.firewalla/config/post_main.d/start_homebridge.sh

You can also use the resetdocker.sh script to reset docker to a prestine state.

There are lots of homebridge communities on Reddit and discord. If you have homebridge questions, please check there.

homebridge-installer's People

Contributors

mbierman avatar kcirtapfromspace 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.