Homekit running thanks to RTSP

Made some progress here. Removed ffmpeg that I’d installed via npm, tried, then removed ffmpeg installed via homebrew, and just downloaded the sources and compiled ffmpeg from scratch. I now get the snapshot image on my phone, but video still won’t stream due to libx264 not being compiled with ffmpeg. Attached is the log. My other issue is that my config.json only presents one of my three Wyze cams to HomeKit, even though all 3 are in the config file. It seems to be a valid json file, but I’m sure that I have a structure problem (nesting?) there. Thanks for any helpconfig (4).pdf|attachment (19.9 KB) [7:2:2019, 8:26:24 PM] Homebridge is running on po.pdf (26.0 KB)

Finally got it working! Now to tackle getting all 3 cameras to register, instead of only one.

1 Like

Congrats! Sorry I haven’t been much help. I haven’t had a lot of time to mess with it the past few days. If you don’t mind sending your config.json to my email, I’ll be glad to look over it and see if I can help. I have 3 cameras running on mine, so I know it can be done. LOL. Happy 4th of July!

1 Like

How hard would this be to setup on a Rasperry Pi 4? Keep in mind I have very little programming experience but I can follow directions! :stuck_out_tongue_winking_eye:

Got all cameras working - it turned out that I needed to rename the cameras, for some reason, in order for HomeKit to re-register them… Happy 4th of July to you and to all in this community. I plan to write this up & post what I did - it was the long route, but might help others to understand what is going on with this setup.

I recently tried adding my two V2 cams using this method and I managed to get them to show up in the home app but both are stuck on no response. Any suggestions? Below is my config. I have other platforms above and below this section.

{
“platform”: “Camera-ffmpeg”,
“cameras”: [
{
“name”: “Garage Wyze”,
“videoConfig”: {
“source”: “-re -i rtsp://Name:Password@*********/live”,
“maxStreams”: 2,
“maxWidth”: 640,
“maxHeight”: 360,
“maxFPS”: 10
}
}
]
},
{
“platform”: “Camera-ffmpeg”,
“cameras”: [
{
“name”: “Garage Kitchen”,
“videoConfig”: {
“source”: “-re -i rtsp://Name:Password@*********/live”,
“maxStreams”: 2,
“maxWidth”: 640,
“maxHeight”: 360,
“maxFPS”: 10
}
}
]
},

bernardinomike3, what worked for me was to change the source line from “-re -i rtsp://” to “-rtsp_transport tcp -re -i rtsp://” . Hope this helps!