legotheboss / YouTube-files

Files for QuickPi tutorials
https://www.youtube.com/QuickPie
109 stars 40 forks source link

Homebridge - FFMPEG- OMX #29

Open jeylites opened 6 years ago

jeylites commented 6 years ago

Hi

I followed the instructions on homebridge-camera-ffmpeg-omx but I can't seem to get the camera show up on Homekit. Previously I got it working on IOS 10, a few months ago but after upgrading to 11 and I had to switch to a different Raspberry Pi 3, I can't seem to get it working.

Any ideas?

Instruction followed... https://github.com/legotheboss/homebridge-camera-ffmpeg-omx

Hardware Phone: IOS 11 Raspberry Pi3

Config.json { "bridge":{ "name":"Homecam", "username":"7C:77:07:B7:77:EA", "port":51827, "pin":"031-45-157" }, "description":"Configuration file", "platform": "Camera-ffmpeg-omx", "cameras": [ { "name":"Camera Name", "videoConfig":{ "source":"-re -i rtsp://admin:0162855518@192.168.1.64:554//h264Preview_01_main", "stillImageSource":"-i http://192.168.1.64/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=abcd123456&user=admin&password=0162855518", "maxStreams":2, "maxWidth":1280, "maxHeight":720, "maxFPS":30, "vcodec":"h264_omx" } } ] }

jeylites commented 6 years ago

A follow-up update

pi@raspberrypi:~ $ homebridge WARNING The program 'node' uses the Apple Bonjour compatibility layer of Avahi. WARNING Please fix your application to use the native API of Avahi! WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node WARNING The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi. WARNING Please fix your application to use the native API of Avahi! WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister [2018-1-16 10:47:12] Loaded plugin: homebridge-camera-ffmpeg-omx [2018-1-16 10:47:13] Registering platform 'homebridge-camera-ffmpeg-omx.Camera-ffmpeg-omx' [2018-1-16 10:47:13] --- [2018-1-16 10:47:13] Loaded config.json with 0 accessories and 0 platforms. [2018-1-16 10:47:13] --- Load homebridge-camera-ffmpeg-omx.Camera-ffmpeg-omx Setup Payload: X-HM://0023ISYWZO7HG Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 031-45-155 │     
└────────────┘     

[2018-1-16 10:47:13] Homebridge is running on port 51821.