Closed izkorn closed 3 years ago
I saw someone over on HB Discord talking about this.
My initial thoughts is there might be lag in mDNS (Bonjoir). HOOBS 3 currently uses HB 1.1.7. I am updating to 1.3 this week. I would hate to chase our tails on an old version of HB. HB 1.3 uses a new version of HAP and they say it's faster.
However I would hate to mess up your setup, you have a bunch of work there. So before we do anything I am requiring you to back up everything. Because of the number of plugins, it might be easier for you to backup the /home/hoobs/.hoobs folder. (~/.hoobs).
Also, very soon we are beta testing HOOBS 4. This might be an option for you, because it makes it easy to separate your plugins into different bridges.
This is going to be a fun one to track down :)
Hopefully once you update to 1.3, the issue is resolved. However I have another question. When updating hoobs on docker, is there any way to preserve the devices in homekit. Previously I found that when I upgrade Hoobs container I have to reconfigure my devices and automations in the home app as the previous one was gone. I tried restoring from backup but same thing happens.
Do you have a persistent volume connected to /HOOBS?
I mount /HOOBS to a folder “ /volume1/docker/hoobs/data”. Is this what you mean a persistent volume?
Regards, Izuwan
On 23 Feb 2021, at 11:08 PM, Michael Kellsy notifications@github.com wrote:
Do you have a persistent volume connected to /HOOBS?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Yep. I think the bridge has a UUID generated from the OS, like a mac address from a nic. Docker by nature doesn't maintain this kind of stuff.
I will have to think about this.
Just a quick update. When I look in portainer, I see that my bookstack container was creating a separate network (ip 172.18.0.1) than my other containers (ip 172.17.0.1) . So I deleted boockstack container, rebooted my NAS and it seems to resolves the issue. HOOBS _hap._tcp so far has maintained running throughout the night. If the issue crops up agains I will inform.
That's wired. Definitely some conflicts happening. Does Bookstack use mDNS (AKA. Bonjour)? This is critical for HomeKit. There could be a broadcast storm happening.
What happens if you create a duplicate Bonjour service using an avahi service file?
https://github.com/hoobs-org/HOOBS/issues/759#issuecomment-805120432
Both the default Raspbian image and Homebridge broadcast. It has been this way for a long time. Raspbian includes the avahi daemon, and on our V3 images, we don't mess with Avahi. It is setup exactly how Raspbian wanted it.
You can see if avahi is running with these commands.
sudo systemctl status avahi-daemon.service
sudo systemctl status avahi-daemon.socket
You can also see what is broadcasting with this command
avahi-browse -a
You may need to look at the avahi config file in /etc and adjust. If you need to change it, let me know. I have been researching the best configuration for our next major release.
What's next is all beta.
We are configuring Avahi in our V4 images, and the new UI allows users to change the broadcasted host. I also want to enable other things like IPv6 as well.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description I notice my hoobs instance _hap._tcp stops intermittently. when it stops, all device shows "No Response". when it runs Home App showing device is working. I used Discover ios app to verify this.
Version 3.32
Did you upgrade Please let us know if you upgraded from a previous version.
Pervious version If you upgraded, please let us know your previous version.
Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1? Did you perform an upgrade from HOOBS 2.1.1? Some things are different.
What device are you using? Please let us know the device you are running HOOBS on.
If this is a custom install, what's your operating system? Synology DS220+, DSM 6.2.3-25426 Update 3
List your plugins Please refer to config below.
Post your config This can be found in the interface, Configuration -> Advanced or you can get it via SSH
cat ~/.hoobs/etc/config.json
Post your log You can get the log from the interface. This is in the Log section.
Additional context Add any other context about the problem here.