Comments (7)
Yup, you're right! I disabled my inter-VLAN firewall entirely and this fixed the issue. Time to go tweaking my firewall setup again.
Thanks again @hjdhjd
from homebridge-unifi-protect.
Thanks for the note. Try v3.3.1 please instead and see if that helps. To install it...uninstall the plugin and reinstall with
npm -g —unsafe-perm install [email protected]
Let me know...and thanks for the report!
from homebridge-unifi-protect.
Alright so I downgraded to 3.3.1 and I'm still running into the same timeout (slightly redacted logs):
[8/19/2020, 12:04:29] Loaded plugin: [email protected]
[8/19/2020, 12:04:29] Registering platform 'homebridge-unifi-protect2.UniFi Protect'
[8/19/2020, 12:04:29] ---
[8/19/2020, 12:04:29] Loading 2 platforms...
[8/19/2020, 12:04:29] [Config] Initializing config platform...
[8/19/2020, 12:04:29] [Config] Running in Service Mode
[8/19/2020, 12:04:29] [UniFi Protect] Initializing UniFi Protect platform...
[8/19/2020, 12:04:29] Homebridge is running on port 51266.
[8/19/2020, 12:04:30] [UniFi Protect] Protect [UCK-G2-PLUS]: Connected to the Protect controller API (address: 192.168.10.10 mac: XXXXXXXXXXX).
[8/19/2020, 12:04:30] [UniFi Protect] Protect [UCK-G2-PLUS]: Discovered camera: Doorbell [UVC G4 Doorbell] (address: 192.168.10.32 mac: YYYYYYYYY).
[8/19/2020, 12:04:30] [UniFi Protect] Protect [UCK-G2-PLUS]: Discovered camera: Garage [UVC G3 Micro] (address: 192.168.10.31 mac: ZZZZZZZZZZZZ).
[8/19/2020, 12:04:30] [UniFi Protect] Protect [UCK-G2-PLUS]: Controller refresh interval set to 30 seconds.
[8/19/2020, 12:04:30] [UniFi Protect] Protect [UCK-G2-PLUS] Garage [UVC G3 Micro]: Stream quality configured: High.
[8/19/2020, 12:04:30] [UniFi Protect] Protect [UCK-G2-PLUS] Doorbell [UVC G4 Doorbell]: Stream quality configured: High.
[8/19/2020, 12:05:00] [UniFi Protect] Protect [UCK-G2-PLUS]: A doorbell has been detected. Setting the controller refresh interval to 2 seconds.
[8/19/2020, 12:05:29] [UniFi Protect] Garage: HomeKit video stream request received: 1280x720, 30 fps, 299 kbps.
[8/19/2020, 12:05:59] [UniFi Protect] Garage: Stopped video stream.
Oh question: Does HomeBridge need direct access to the Cameras (192.168.10.31 & 192.168.10.32)? Right now, my USG firewall is setup so that HomeBridge can only talk to the Protect Controller (192.168.10.10).
from homebridge-unifi-protect.
@burnflare Go back to the latest version. 😄
As to your question...the RTSP streams are always coming from the NVR (controller)...never the camera directly. Homebridge needs to access the NVR. If you've got a firewall setup, enable all traffic UDP + TCP between the controller and Homebridge for the time being.
I'm guessing it's a firewall configuration issue. Thanks.
from homebridge-unifi-protect.
Good luck. Closing.
from homebridge-unifi-protect.
@burnflare have you managed to tweak the firewall settings? My issue was resolved as well when I disabled the firewall settings but I do want to enable the firewall again.
Edit:
I managed to resolve it myself by monitoring all denied firewall rules I discovered that communication from the Raspberry Pi to the HomeKit device (in this case, my iPhone) was blocked.
I created a firewall group for all HomeKit devices in my network (Apple TVs and iPhones) and allowed UDP communication from Raspberry to this group. That did the trick.
So allowing Raspberry to communicate with the controller is not enough, you also need to allow it to communicate with the HomeKit devices that are going to consume the stream.
from homebridge-unifi-protect.
This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.
from homebridge-unifi-protect.
Related Issues (20)
- MFA Support HOT 1
- Package camera snapshot is occasionally taken from the main camera HOT 8
- Invoke ring on doorbell remotely HOT 3
- Issue with livestreaming in HKSV on Unifi Protect Version 6.20.0 HOT 4
- Moved to Mac Mini M1 Verison V6.20 and V.19 won't play video HOT 3
- Errors in the Log after Update from G3 to G5 Cameras HOT 2
- Homekit video / snapshot not loading after a while require reboot of plugin or homebridge HOT 2
- Unifi Protect HKSV recordings cut off HOT 3
- Memory Leaked warning HOT 3
- Possible cause of #1061 (Author's note: nope.). HOT 2
- Unifi Baby Cry AI Detection - Device to trigger off of HOT 2
- Is it possible to add only motion sensors from some of the devices? HOT 2
- Transcoding based on IP address HOT 3
- HBUP API behaviour is impacting local admin login to Protect (4.0.3) HOT 2
- Live Streaming does not work but works with other tools HOT 2
- Switch to disable doorbell inside HomeKit HOT 2
- Max CPU usage and 32 Protect API errors per second HOT 13
- Why does UP Floodlight require full admin rights? HOT 2
- 2FA SUPPORT HOT 3
- Protect Controller taking too long to respond HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-unifi-protect.