Dashcam as IP camera

Dear all, I am running home assistant on a rpi that is connected to my LAN with an RJ45 with my IP 192.168.1.x.
I have resumed an old polaroid cube+ that can be used via wifi, on its ad hoc lan. I turn it on, he gets its IP 192.72.1.1 and I get a dhcp assigned one like 192.72.1.101.
I can access the stream with ffplay -rtsp_transport udp -i rtsp://192.72.1.1/liveRTSP/av2.
However, when I add the camera with the camera integration, I get a timeout, no route to rtsp://192.72.1.1
What am I missing?

Here the logs:

2022-12-21 17:02:04.504 WARNING (stream_worker) [libav.http] HTTP error 500 Internal Server Error
2022-12-21 17:02:04.511 ERROR (stream_worker) [homeassistant.components.stream.stream.test_stream] Error from stream worker: Error opening stream (ERRORTYPE_5, I/O error) rtsp://****:****@192.72.1.1/liveRTSP/av2
2022-12-21 17:02:14.552 WARNING (stream_worker) [libav.http] HTTP error 500 Internal Server Error
2022-12-21 17:02:14.555 ERROR (stream_worker) [homeassistant.components.stream.stream.test_stream] Error from stream worker: Error opening stream (ERRORTYPE_5, I/O error) rtsp://****:****@192.72.1.1/liveRTSP/av2
2022-12-21 17:33:47.611 ERROR (stream_worker) [homeassistant.components.stream.stream.test_stream] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@192.72.1.1/liveRTSP/av2
2022-12-21 17:33:57.984 ERROR (stream_worker) [homeassistant.components.stream.stream.test_stream] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@192.72.1.1/liveRTSP/av2

Your camera is publishing the stream on its own access point, it is not part of your main network which your home assistant server is running on right?

In very basic network setup, devices in 192.168.178.x can access others i in 192.168.178.y.

I am sure, your camera might have a future to act as a network device rather than creating its own access point, add your camera to your main network and use the new IP address on home assistant

Did you ever figure out a solution for this? I have another camera that works the same way and was considering working on a similar setup. But only if it actually works :slight_smile:

Hi @MattJ, not yet :frowning: however, in the meantime I have changed my installation for an HassIO, so I will test that surely soon!