OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: versionDefect on December 20, 2022, 07:56:41 AM

Title: HomeAssistant RTSP issues
Post by: versionDefect on December 20, 2022, 07:56:41 AM
I have a few RTSP cameras in my network, for some reason, my HomeAssistant cannot access them but my computer can. I just changed from an Orbi router, it can still interface with the other devices but not access an RTSP stream.

Never had an issue with RTSP before so I don't think its my cameras. I think its just a setting I need to change within opnsense.

Where would I even start to figure out this problem?
Title: Re: HomeAssistant RTSP issues
Post by: lilsense on December 20, 2022, 04:38:40 PM
issue may not be as much on RTSP as it may be on your firewall rules.
Title: Re: HomeAssistant RTSP issues
Post by: versionDefect on December 24, 2022, 11:14:51 AM
Hey there!

I straight up have not even touched the firewall in OpnSense. The weird thing though, My PC can ping my Camera, My Phone can access the stream, AND my Ubuntu server can ping the camera but for some reason, My instance of HA (Home Assistant) cannot.

I've talked to some people at HA and going back and forth trying to figure out if this is a HA issue or an OpnSense issue (rather a setting that needs to be on or off LOL)

I don't really know where to start. My HA could connect to these same cameras before I made the swap to OpnSense. Any ideas?
Title: Re: HomeAssistant RTSP issues
Post by: ThisIsRichaaard on December 24, 2022, 02:32:17 PM
Just to be sure, your devices are all in the same network? Any chance you set up VLANs?
Title: Re: HomeAssistant RTSP issues
Post by: versionDefect on December 24, 2022, 08:08:51 PM
Nope! Haven't even been able to tinker with those. All my devices (including my modem) hates OpnSense right now. i setup a DHDP for my thermostat but now. it fell off my network and doesn't want to connect at ALL.
Title: Re: HomeAssistant RTSP issues
Post by: lilsense on December 25, 2022, 03:56:36 PM
As I stated earlier, the issue is with you setting up the OPNsense and not as much as the OPNsense issue. :)
Title: Re: HomeAssistant RTSP issues
Post by: TheHellSite on January 10, 2023, 08:39:47 PM
Quote from: lilsense on December 25, 2022, 03:56:36 PM
As I stated earlier, the issue is with you setting up the OPNsense and not as much as the OPNsense issue. :)

I second this! No offense @versionDefect.
But you mostlikely misconfigured your OPNsense.

Also please share some sort of very basic network diagram.
Is the OPNsense your only firewall/router in your network?
Is there any other device in front of the WAN port of your OPNsense?
Is there any chance that this device might have access to the LAN network to which is connected to the LAN port of the OPNsense? Maybe through a switch?
Title: Re: HomeAssistant RTSP issues
Post by: hermannf on January 01, 2024, 12:31:25 PM
Has anyone found a solution fort he HA und opnsense RTSP stream problem?
The crazy thing is, if I klick on den camera after 3-5 second I can see the viedeo but in the dashbaord I can't see the stream. If I switch to my old SOPHS firewal, the viedeo is also in the dashbaord.