felipecrs / hass-expose-camera-stream-source

Allows to import Home Assistant cameras into go2rtc and Frigate
MIT License
100 stars 4 forks source link

Any way to use this with the go2rtc bundled in frigate #12

Closed dasb00ter closed 1 year ago

dasb00ter commented 1 year ago

I would like to get my nest hub max camera pulled into frigate. I am running Home assistant as a VM with addons/integrations available. I am running frigate which is now bundling go2rtc (which I have updated to 1.62) separately in docker. I think I need go2rtc to restream hub max camera stream to frigate so I think I need something like this...but I could be wrong

felipecrs commented 1 year ago

Can you view your nest hub max camera through Home Assistant without using RTSPToWebRTC? If yes, than you can use this integration.

Otherwise, try directly with: https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#source-hass

felipecrs commented 1 year ago

Any way to use this with the go2rtc bundled in frigate

Answering your question, yes, use the first method as if you were running the go2rtc add-on:

https://github.com/felipecrs/hass-expose-camera-stream-source?tab=readme-ov-file#when-go2rtc-is-installed-as-an-add-on

I'll try to improve docs later.

dasb00ter commented 1 year ago

Any way to use this with the go2rtc bundled in frigate

Answering your question, yes, use the first method as if you were running the go2rtc add-on:

https://github.com/felipecrs/hass-expose-camera-stream-source?tab=readme-ov-file#when-go2rtc-is-installed-as-an-add-on

I'll try to improve docs later.

Yes I have access to the Google max hub camera in Hassio through the nest integration(API). It's not great though. I'm thinking the hub max uses rtsp not webrtc but I'm having trouble figuring that out.

My first thought is frigate (with bundled go2rtc) is in running in docker which is completely separate from my virtual machine running Hassio. How would go2rtc communicate using that line in yaml. I will look again....I guess the "here" link which shows u how to run it with dockerized go2rtc.

felipecrs commented 1 year ago

If you are running Frigate with docker, then follow the guide for gortc with docker.

dasb00ter commented 1 year ago

Ok ... So the changes to the docker compose to mount the script would have to go in the frigate docker compose then

felipecrs commented 1 year ago

Yes.

felipecrs commented 1 year ago

Yes I have access to the Google max hub camera in Hassio through the nest integration(API). It's not great though. I'm thinking the hub max uses rtsp not webrtc but I'm having trouble figuring that out.

This depends on the device itself. Some has rtsp, some has webrtc. But really, in your case I'd go with the hass source in go2rtc.

See if it doesn't work with that first.