/r/homebridge

Photograph via //r/homebridge

A place to discuss Homebridge, get help with it, ask questions about it, post plugins, and more.

Rules

1. Keep it civil and safe for work

Be nice and civil. As Reddiquette says, "Remember the human," and "Don't be rude at all." Harassment could get you banned from r/homebridge the first time depending on the severity, (Don't try to test the mods) or the second time, almost always no matter what. This means you've chosen to break the rules. Rudeness will get you banned (7 days on average) when repeated, and incivility will also get you banned when repeated.

2. No Amazon affiliate and/or referral links; No spam

No Amazon affiliate links and also no referral links that 'refer' you to Amazon affiliate links. An example of an Amazon affiliate link is amzn.to. These are automatically removed and using one could result in a permaban based on your previous post and comment history.

Links

Discord

Flair Filtering

Show only:

Plugins News Discussions Questions Problems

Don't show:

Plugins News Discussions Questions Problems

/r/homebridge

80,908 Subscribers

1

Hoobs Plugin for Huum Sauna

Thanks to ChatGPT and some trial and error, I was able to create a plugin for my HOOBS box to allow me to control my HUUM Sauna.

Figured others might be interested:

https://www.npmjs.com/package/homebridge-huum-sauna

0 Comments
2025/02/03
09:01 UTC

2

Update node.js

I’m on version 20.18.0 so I am not in a huge hurry to get it updated. When I attempt to update, I get an error 404.

Following the instructions, I need to update GLIBC first. What’s the easiest way to update this without having to start over?

Running on a Pi4

1 Comment
2025/02/03
01:22 UTC

1

Fresh install of HomeBridge, Can't update node

Trying to update node because some of the plugins I'm trying to use request it.

I follow instructions online and go into terminal on HomeBridge.

root@homebridge-vm:/var/lib/homebridge $ hb-service update-node

ℹ Updating Node.js from v18.13.0 to v22.13.1...

ℹ Target: /opt/homebridge

⠧ Downloading https://nodejs.org/dist/v22.13.1/node-v22.13.1-linux-x64.tar.gz

It's been stuck on downloading for over an hour, tried restarting with same result. How can I fix this?

15 Comments
2025/02/02
21:55 UTC

1

Cannot Update Homebridge UI

This is the error I get when trying:

The user "root" does not have write access to the target directory:

/snap/homebridge/4063/opt/homebridge/lib/node_modules

This may cause the operation to fail.

See the docs for details on how to enable sudo mode:

https://github.com/homebridge/homebridge-config-ui-x/wiki/Manual-Configuration#sudo-mode

USER: root

DIR: /snap/homebridge/4063/opt/homebridge

CMD: npm install -g homebridge-config-ui-x@4.69.0

npm error code EROFS

⠇npm error syscall rename

npm error path /snap/homebridge/4063/opt/homebridge/lib/node_modules/homebridge-config-ui-x

⠇npm error dest /snap/homebridge/4063/opt/homebridge/lib/node_modules/.homebridge-config-ui-x-Rb3bOFJB

⠇npm error errno -30

⠇npm error rofs EROFS: read-only file system, rename '/snap/homebridge/4063/opt/homebridge/lib/node_modules/homebridge-config-ui-x' -> '/snap/homebridge/4063/opt/homebridge/lib/node_modules/.homebridge-config-ui-x-Rb3bOFJB'

⠇npm error rofs Often virtualized file systems, or other file systems

npm error rofs that don't support symlinks, give this error.

npm error A complete log of this run can be found in: /var/snap/homebridge/common/.npm/_logs/2025-02-02T19_34_05_216Z-debug-0.log

Cleaning up npm cache, please wait...

npm cache cleared, please try updating homebridge-config-ui-x again.

Error: Operation failed with code 226.

You can download this log file for future reference.

See https://github.com/homebridge/homebridge-config-ui-x/wiki/Troubleshooting for help.

I followed instructions at the first link up top to enable sudo mode by making the change in the JSON config available from the side panel. I just had to add "sudo": true to that config.

following the instructions for passwordless sudo required. I then i edited the sudoers file on the pi that this is running from. adding: pi ALL=(ALL) NOPASSWD: ALL to the bottom of the file as instructed (and under the user privilege specification section as something else to try) I have restarted the homebridge and ui from power options and have rebooted the pi completely as well. nothing changes.

if i run this> sudo npm install -g homebridge-config-ui-x@4.69.0

i get this> sudo: npm: command not found

i don't know what else to do. this is a fresh install of homebridge.

6 Comments
2025/02/02
20:34 UTC

1

Homebridge setup for Levolor Motorized Blinds with InMotion Hub

For those with the newer versions of the Levolor blinds that use the InMotion Hub, heres how to set it up with Homebridge;

  1. Get the homebridge-motionblinds plugin
  2. Open Levolor InMotion app, Account Settings->About, touch the logo 5 times in a row
  3. Copy the key that pops up
  4. In motionblinds Settings, paste the key in the Key field
  5. Find the MAC address of the hub in your router app. In my Orbi router app this showed up as "USB-BRIDGE_A456". Click on it and copy the MAC address
  6. Paste the MAC address in the corresponding field in the motionblinds plugin settings

Thats all it takes!

0 Comments
2025/02/02
19:15 UTC

1

Two blank homepage status panels?

https://preview.redd.it/7jx94nv3nnge1.png?width=1955&format=png&auto=webp&s=3794fd123fecc8fb8bba71ac453e8ec935fa5fa4

Does anybody know what these panels are supposed to display? I know something used to be there, but for the life of me I can't remember what. I tried doing a re-install of homebridge to see if that would make the panels come back, but that didn't do anything (I haven't dared try a full factory reset, because my devices are numerous and it would take a literal eternity to redo all my Home Assistant from scratch haha)

2 Comments
2025/02/02
04:40 UTC

2

Tapo L920 Light Strip Plugin

I have Tapo L920 light strips, I can't find a plugin that actually works with these. Everything else works in my house that isn't tapo, or do I bite the bullet and get an native homekit lightstrip?

0 Comments
2025/02/02
02:29 UTC

11

Homebridge accessories stopped working on Unifi network - solved

Hi Team, just sharing for future reference. Been pulling my hair out for two days as my homebridge accessories just stopped working despite the bridge working fine.

Went crazy with firewall rules, rebuilding home bridge etc.

In the end the fix was disabling multicast filtering for all networks. Saving. Giving it a few minutes then all worked again. Since then turning it back on it all works again. Guessing some type of corrupted cache.

1 Comment
2025/02/02
01:55 UTC

1

Can not access HomeBridge in browser

Hi folks. Today I switched my network from Eero to UniFi. While trying to get my HB devices back online I realized I can’t access it through a browser like I could in the past. It’s running on a Windows 10 laptop connected via Ethernet. I think it’s still active because child bridges I remove from the home app show back up as ready to add. The laptop has a working network connection and can access any other sites I want. Anyone have some tips to get me going again?

4 Comments
2025/02/02
00:33 UTC

2

J .node 18 upgrade. Homebridge native on Synology

I am needing to update j.node and have no idea where to get 20.x or how to install Anyone.

2 Comments
2025/02/02
00:25 UTC

1

Synology Docker Homebridge Cannot add to Homekit

I just installed the oznu/Homebridge container on my Synology NAS, setup the web portal and ran all the updates, including Node.js via the web portal. It all seems to be working fine. However, I'm unable to add it to Homekit.

When I scan the QR code, it is "Connecting..." for a few minutes then times out and doesn't get added. If I try to enter the code, Homekit seems like it wants another digit, the dashes don't line up properly to what is displayed in HomeBridge and when I touch continue, it just goes back to the previous prompt.

I'm pretty technical so just baffled why this isn't working.

One other thing: I tried doing this over Wifi as well as a USB-C -> Ethernet connector cable and still not successful. iPhone 16 Pro.

2 Comments
2025/02/01
12:06 UTC

2

Homebridge on a Synology NAS not saving camera

I have Homebridge on a Synology NAS running in Docker, but Homebridge is not saving the camera. I'm using Camera.UI, version v5.0.27, Homebridge version v1.8.5, and Homebridge UI v4.69.0. Looking at the log, I don't even see that I added a camera:

[2/1/2025, 12:18:47 AM] [CameraUI] Launched child bridge with PID 11573

[2/1/2025, 12:18:47 AM] Registering platform 'homebridge-camera-ui.CameraUI'

[2/1/2025, 12:18:47 AM] [CameraUI] Loaded homebridge-camera-ui v5.0.27 child bridge successfully

[2/1/2025, 12:18:47 AM] [CameraUI] Config changed through interface, saving...

[2/1/2025, 12:18:47 AM] Homebridge v1.8.5 (HAP v0.12.3) (CameraUI) is running on port 31598.

[2/1/2025, 12:18:47 AM]

NOTICE TO USERS AND PLUGIN DEVELOPERS

> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.

> Please visit the following link to learn more about the changes and how to prepare:

> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[2/1/2025, 12:18:47 AM] [CameraUI] At Home Switch: Configuring bridged accessory...

[2/1/2025, 12:18:47 AM] [CameraUI] At Home Switch: Setting up accessory...

[2/1/2025, 12:18:47 AM] [CameraUI] Accessories refreshed and config.json saved!

(node:11573) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.

(Use `node --trace-deprecation ...` to show where the warning was created)

[2/1/2025, 12:18:49 AM] [CameraUI] camera.ui v5.0.27 is listening on port 8081 (http)

0 Comments
2025/02/01
00:27 UTC

1

TP-link plugin: force rescan for devices?

I’ve been using the TP-link plugin (https://github.com/plasticrake/homebridge-tplink-smarthome) for ages. Lately I’m seeing a number of stale/retired devices in HomeKit, and I’d like to force the plugin to rescan for active devices. I’ve had to do this before, seems like it was emptying or moving a directory of cached devices?

Thanks for any assistance.

ETA: looks like ~/.homebridge/accessories s where I need to perform surgery.

4 Comments
2025/01/31
21:20 UTC

6

Will Tuya always need to renew the trial to use homebridge?

Hi, is there any way to avoid the Tuya platform to connect devices such as smart plugs to Homebridge and Homekit? I ask because of the limitation of having to renew the trial every 6 months.

16 Comments
2025/01/31
17:54 UTC

1

Homebridge Ring - Can't add previously hidden camera

I hid a camera that was working, then decided to re-add it by unhiding and adding back to home, but it's not discoverable. Any way to get it back?

Thanks friends.

1 Comment
2025/01/31
17:16 UTC

1

Help

I need help fixing this. I can’t get any plugins to work and I don’t know how to resolve this.

13 Comments
2025/01/31
13:08 UTC

2

Fetching Temperature Reading

I’m trying to write a simple script on my Raspberry Pi to fetch a temperature reading from a temperature sensor that is exposed to HomeKit using Homebridge.

The purpose of the script is to dynamically update a temperature offset in my Tado smart heating system.

I’m actually having the most difficulty with the part of the script I would think would be the simplest - fetching the current temperature from that temperature sensor.

I’m a beginner coder, but ChatGPT seems to think that using the Homebridge API is the best approach. However, I cannot get the script to work. Depending on my tweaks I run into various errors, including 401 non authorisation errors and an inability to fetch the accessory list.

I have since discovered the Swagger API UI which seems like progress, but even if I update the script to provide an authorisation token, won’t this token expire every few days rendering the code useless?

So stepping back: is the Homebridge API the best way to fetch this temperature reading? And if so, can anyone point me towards how to use it properly in a script I can just set and forget?

Many thanks!

2 Comments
2025/01/31
07:58 UTC

1

Plugins

Hi, I’ve just recently reset my homebridge pi from scratch to fix the 32 bit error.

One of the plugins for airtouch2+ is not coming up in the search plugin bar. But I can find the NPM link from 3 years ago.

Is there a way to install it without going through the search bar?

3 Comments
2025/01/31
05:03 UTC

2

Updating Node.JS on Synology NAS for Homebridge

Homebridge is requiring an update to Node.js V20.18. The highest one available on the Synology NAS is 20.9 I've been hunting around for a 20.18 package which will work on the Synology NAS with no luck. my other option is to rebuild this thing on Docker which I believe will have an updated Node.js. I'd like to avoid that hassle if I can. Any pointers to something which will solve this?

17 Comments
2025/01/30
21:43 UTC

1

Need help - AirTouch4

As per title, at one stage I had a working plugin for AirTouch 4 HVAC but removed it due to some potential misunderstanding on my part of how to best utilise it.

Now that I’m older and wiser 😉 I want to try again but now can’t find it, documentation available is not clear on how to get it reinstalled.

Anyone out there got any experience here?

0 Comments
2025/01/30
07:07 UTC

1

CBUS and Homebridge - Cannot connect

Until recently I have had a rock solid HOOBS connection to my CBUS system. HOOBS on a Pi and CBUS toolkit on a dedicated laptop with a shac5500 handling the network interface to CBUS devices. My HOOBS SD card died and my backup is old and HOOBS has moved onto v5. I have spent past three days trying to get HOOBS back running. 7 of the 8 bridges are functioning but the CBUS bridge / plugin starts and stops and seems unable to establish a connection. I have checked everything I can think of, and am now at wits end. Any advice appreciated and anyone who knows a contact who could remote into my system and diagnose the issue, please share a contact. Thanks.

0 Comments
2025/01/30
05:09 UTC

2

Looking for this Functionality - Custom Webhooks

Hello,

I just purchased this hot water recirculation system. The system is Leridian Dynamics, Inc Smart Thermostatic Control 32 complete Maxx-Flow system. They released a firmware update that supports Webhooks into and out of the controller.

https://smartrecirculationcontrol.com/smart-recirculation-control-32-release-notes/

I am new to Homebridge and I am struggling on even asking so please forgive me…

Does anyone know of a plugin that creates an accessory that can support this functionality:

Webhook Outbound – This is for setting the base URL of the automation controller to which “pump_on” and “pump_off” are appended and a HTTP GET call is made to the URL when the events occur. As an example for Home Assistant the default base URL would be http://homeassistant.local:8123/api/webhook/ to which we would append “pump_on” and “pump_off” e.g. http://homeassistant.local:8123/api/webhook/pump_on and http://homeassistant.local:8123/api/webhook/pump\_off. We only support HTTP as there is no data being transmitted as these are HTTP GET calls.

Webhook Inbound – This is not so much something to as simply displaying the inbound URL that can be called via HTTP GET to trigger the controller to turn the pump on and turn the pump off. These are based on the controller name with all special characters removed. The default URLs are: http://ld-SmartCirc:3030/pump/1 to trigger the pump and http://ld-SmartCirc:3030/pump/0 to turn the pump off. Generally you should only trigger the pump and allow the controller to turn the pump off when the temperature difference is met, but we allow the controller to be turned off from the smart phone app so we made this API available via the HTTP listener interface. We only support HTTP as there is no data being transmitted as these are HTTP GET calls.

I have decades of coding experience and I am willing to attempt the development of this plugin but it will be a learning process since I have never coded something like this before.

Thank you for any help or advice in advance!

Cheers!

3 Comments
2025/01/30
03:44 UTC

0

Help! Can't get QR code to work

I am running homebridge on a QNAP NAS. I get homebridge to install successfully via Container Station (Docker). I can see the web interface no issues, all looks to be running properly. However I cannot get the QR code to work. I have tried multiple iOS devices, I've rebooted the routers (Deco mesh system), I've reinstalled home bridge, I've tried all of the advertiser options. I feel like I'm missing something relatively simple but I just can't seem to find any more tips online. The QNAP is connect via ethernet to a switch and the main Deco hub is connect to the same switch via ethernet.

The one thing that has me a little worried is that I connect via my 192.168.xx.xx:xxxx address however the web gui lists the IP address as 10.x.x.x. But I can't seem to find any way to change this?

9 Comments
2025/01/30
02:21 UTC

0

Running HB in Portainer+Docker compose, but failing to connect to UI

I’m using Portainer to deploy a homebridge stack on docker swarm, the only thing is I changed is to have a separate volume for storage. Here’s the compose file:

version: '3'
services:
  homebridge:
    image: homebridge/homebridge:ubuntu
    container_name: homebridge
    restart: always
    network_mode: host
    environment:
      - HOMEBRIDGE_CONFIG_UI_PORT=8581
    volumes:
      - /mnt/StorageDrive/homebridge:/homebridge
volumes:
  homebridge:

I can’t connect via port 8581. The logs mention port 51773 and 8750, but I can’t connect to the homebridge UI. It should be running on the same Ip address as the Portainer ip. Any ideas?

Edit: code formatting

4 Comments
2025/01/30
00:01 UTC

2

Understanding Homebridge & HomeKit

I have a simple HomeKit setup consisting of Leviton light switches and Philips Hue lights. I want to explore more advanced automation and have set up Homebridge in a Docker container on my Synology NAS using the following docker-compose.yaml.

I've successfully added Homebridge to HomeKit, and it appears in the app. However, when I check Homebridge Accessories, nothing shows up. I installed the Homebridge Hue plugin, but I still don't see any accessories.

Could this be an issue with running Homebridge in Docker, or am I misunderstanding how it works?

----------
Update:

I’ve realized my thinking might be off (see comments below). My goal is to use Hue motion sensors to trigger lights. For example, when the dog approaches my office door, I want the office light to flash and then return to its original state. The same goes for the back door—flashing lights when motion is detected, then restoring them to their initial state.

services:
  homebridge:
    image: homebridge/homebridge:latest
    container_name: homebridge
    restart: always
    network_mode: host
    environment:
      - TZ=America/New_York
    volumes:
      - /volume1/docker/homebridge:/homebridge
    logging:
      driver: json-file
      options:
        max-size: "10mb"
        max-file: "1"
16 Comments
2025/01/29
12:32 UTC

2

Problems accessing Homebridge devices outside of the local device after upgrading Node

So I stupidly decided to upgrade Node, which broke Homebridge, and then after a couple of hours of tweaking and going back down to an earlier Node.js version I got Homebridge back up and running again.

When I access the Home app on the Mac that Homebridge is running on most things seem to work fine, almost all devices appear, but my Marantz receiver can suddenly no longer be accessed by Homebridge, and while I get snapshots from my Unifi cameras, if I try to access the feeds it says it starts streaming in the Homebridge logs, but nothing ever happens in the Home app.

It gets worse outside of that Mac. From other devices I can't get a response from any device added in Homebridge, and there's no indication in the Homebridge log that I'm even trying to do anything.

Firewall is off on the Mac, and I didn't change anything else. What in the world could possibly be wrong here? I even tried adding one of my child bridges again to see if they had become "new" bridges, but Home just told me it was already added.

3 Comments
2025/01/29
09:55 UTC

3

Help Updating Node.js on Win11

I'm hoping someone can help. I have HomeBridge running on a Win11 machine. I just noticed that it says i need to update Node.js from v18.13.0 → v20.18.2. However when i type in node -v at a command prompt, it tells me I'm at 22.13.1. I reinstalled nodel.js adn still get the same message in HomeBridge. Can someone give me specific guidance on how to point HB to the later install? These were the directions I followed initially for the original install: https://github.com/homebridge/homebridge/wiki/Install-Homebridge-on-Windows-10-Using-Hyper-V Thanks!

2 Comments
2025/01/28
16:46 UTC

1

Custom radio station on Homepod?

Hi, since there are some limitations on apple music radio stations and i cant play some specific Croatian stations since my Apple account is in US i was wondering is there any realiabile solution to play one URL radio station on my homepods?

I tried few plugins but all of them are unreliable and not working :D

5 Comments
2025/01/28
13:00 UTC

1

Every AppleTV/tvos update kills Homebridge

I have a latest gen Apple TV 4k (128gb) acting as the main homekit hub, 2x OG Homepods, 1x Mini, 1x Apple TV 4k (1st Gen) and a Apple TV HD (1st Gen). Whenever there is a tvos update, like the latest 18.3, my AppleTV 4k (128gb) breaks homebridge and all devices are listed as “no response” and I cannot, for the life of me figure out what is going on. If I switch the hub to the 1st gen 4k Apple TV, devices go back online, but for some reason the latest ATV breaks. Can anyone help me figure it out?

I have hombridge myDNS switched to ciao and the only child bridge I have is Homebridge and all hubs are connected to Wifi. I tried doing a factory reset on the ATV, I tried reinstalling homebridge from scratch and even deleting the home and creating a new one. No prevail.

later edit: reinstalled homebridge from scratch. still no prevail.

later edit 2: i updated the mac mini that runs as a server to macOS Sequoia and apparently it worked, but scrypted got bricked because it seems to have an issue with Sequoia and I couldn’t add it to homekit. reinstalled the os back to Sonoma and now it seems to work fine…after 13hrs or so I was able to add the scrypted ring camera back in homekit (although it didn’t show up, at first). i will see how the next iOS/homepodOS/tvOS update performs. maybe it won‘t break everything next time.

13 Comments
2025/01/28
08:46 UTC

1

UNIFI Protect Issues with multiple Routers

Hi,

I have an Asus Router that I do not want to get rid of. I recently got the UDM Pro SE and apparently that machine acts as a router as well.

The purpose of asking this question is configuring the Homebridge Unified Plugin correctly. I have set up a user an all but it is the IP adress part that is not allowing me to add my UDM PRO

My problem comes in when I try to access the UDM PRO SE via its IP. I am not getting anything. My situation is similar to the one in this post here: https://community.ui.com/questions/Cant-Access-my-UDM-Pro-SE-Via-the-LAN/e8d923d1-d4f9-47d7-9139-ec973b68f099

I want to keep my Asus Router but I also need an IP access point for the UDM , so how do I approach this problem? I read online that I cannot split the output of my modem, some say yes some say no? I dont think it works because it can only assign a single 192..... host?

I may have worded some things wrong because Networking is not my strong suit so I do apologize about that.

Any help is appreciated. Thanks!

0 Comments
2025/01/28
07:55 UTC

Back To Top