HomeKit-Bridge icon indicating copy to clipboard operation
HomeKit-Bridge copied to clipboard

Camera Not Available - This camera is being viewed by someone else

Open ericwass opened this issue 6 years ago • 2 comments

Expected Behavior

Live view of camera should work in Home app

Current Behavior

Get thumbnail preview in Home app but tapping on it to see live view generates error in title: "Camera Not Available - This camera is being viewed by someone else" along with a dimmed image of the camera view.

Steps to Reproduce (for bugs)

Using Cynical SecuritySpy, added 1 camera to HomeKit-Bridge, added camera as accessory.

Versions

v 1.0.2

Configuration

No special configuration

Homebridge Log / Command Output

May 16 10:40:23 nodessertro IndigoServer[467]: HomeKit Bridge Error Exception in plugin.serverButtonRunAction_Edit line 3313: 'key id 775840116 not found in database' May 16 10:40:35 nodessertro IndigoServer[467]: HomeKit Bridge Error Exception in plugin.serverButtonRunAction line 3193: invalid literal for int() with base 10: '277ee55af3d65651c42533b91b8e3fd5c2b7aa32f8cfa2fbe00f42e7c5d6cf22' May 16 10:41:07 nodessertro IndigoServer[467]: HomeKit Bridge Error Exception in homekit.deviceInitialize line 877: local variable 'obj' referenced before assignment May 16 10:41:07 nodessertro IndigoServer[467]: HomeKit Bridge Error Exception in homekit.detCharacteristicValues line 1031: 'key id 775840116 not found in database' May 16 15:18:37 nodessertro IndigoServer[467]: HomeKit Bridge Error Exception in plugin.serverFormFieldChanged_Device line 3595: 'key objectType not found in dict' May 16 15:18:37 nodessertro IndigoServer[467]: HomeKit Bridge Error Exception in plugin.serverFormFieldChanged_Action line 3654: 'key objectType not found in dict' May 16 15:55:47 nodessertro IndigoPluginHost[1823]: ascii dump: <Packet type="dict"><Type type="string">Command</Type><Target type="string">Server</Target><Name type="string">WriteLog</Name><Data type="dict"><Message type="string">[2019-5-16 15:26:04] Loaded plugin: homebridge-camera-ffmpeg [2019-5-16 15:26:04] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg' [2019-5-16 15:26:04] --- [2019-5-16 15:26:04] Loaded plugin: homebridge-indigo2 [2019-5-16 15:26:04] Registering platform 'homebridge-indigo2.Indigo2' [2019-5-16 15:26:04] --- [2019-5-16 15:26:04] Loaded config.json with 0 accessories and 2 platforms. [2019-5-16 15:26:04] --- [2019-5-16 15:26:04] Loading 2 platforms... [2019-5-16 15:26:04] [HomeKit Bridge Server] Initializing Indigo2 platform... [2019-5-16 15:26:04] [HomeKit Bridge Server] HomeKit Bridge base URL is http://127.0.0.1:8558 [2019-5-16 15:26:04] [HomeKit Bridge Server] HomeKit Bridge serverId is 52436507 [2019-5-16 15:26:04] [Camera-ffmpeg] Initializing Camera-ff ... 5-16 15:50:19] [HomeKit Bridge Server] (MEDIA ROOM) Floor Lamp Hue 2: get(Saturation) => 0 [2019-5-16 15:50:19] [HomeKit Bridge Server] (MEDIA ROOM) Rear Overheads: get(Brightness) => 0 [2019-5-16 15:50:19] [HomeKit Bridge Server] (MEDIA ROOM) Rear Overheads: get(On) => false [2019-5-16 15:50:19] [HomeKit Bridge Server] Mel's Lamp: get(On) => false [2019-5-16 15:50:19] [HomeKit Bridge Server] (MEDIA ROOM) Front Overheads: get(Brightness) => 0 [2019-5-16 15:50:19] [HomeKit Bridge Server] (MEDIA ROOM) Front Overheads: get(On) => false [2019-5-16 15:50:19] [HomeKit Bridge Server] Under Counter: get(On) => true [2019-5-16 15:50:19] [HomeKit Bridge Server] Sink Overheads: get(On) => false [2019-5-16 15:50:19] [HomeKit Bridge Server] Island Overheads: get(On) => false [2019-5-16 15:50:19] [HomeKit Bridge Server] Bench Overheads: get(On) => false [2019-5-16 15:50:19] [Camera-ffmpeg] Snapshot from (CAMERA) Front Door at 480x270


Device Simulation Report

DEVICE SIMULATION DATA
Service : 
	alias : (CAMERA) Front Door
	model : 
	subModel : 
	indigoType : indigo.Device
	pluginType : indigo.Device.org.cynic.indigo.securityspy.camera
	type : CameraRTPStreamManagement
	desc : Camera RTP Stream
	objId : 89106128
	serverId : 52436507
	invertOnState : False
	convertFahrenheit : False
	required : (List)
		SelectedRTPStreamConfiguration : rtsp://XXXXXX:[email protected]/user=XXXXXX_password=XXXXXX_channel=1_stream=0.sdp
		SetupEndpoints : 
		SupportedAudioStreamConfiguration : 
		StreamingStatus : 
		SupportedVideoStreamConfiguration : rtsp://XXXXXX:[email protected]/user=XXXXXX_password=XXXXXX_channel=1_stream=0.sdp
		SupportedRTPConfiguration : rtsp://XXXXXX:[email protected]/user=XXXXXX_password=XXXXXX_channel=1_stream=0.sdp
	optional : (List)
		Name
	native : True
	requiresPlugin : (List)
	actions : (List)
	loadOptional : False
	characterDict : (Dict)
		SupportedVideoStreamConfiguration : rtsp://XXXXXX:[email protected]/user=XXXXXX_password=XXXXXX_channel=1_stream=0.sdp
		SelectedRTPStreamConfiguration : rtsp://XXXXXX:[email protected]/user=XXXXXX_password=XXXXXX_channel=1_stream=0.sdp
		SupportedRTPConfiguration : rtsp://XXXXXX:[email protected]/user=XXXXXX_password=XXXXXX_channel=1_stream=0.sdp

ericwass avatar May 16 '19 23:05 ericwass

This is currently an issue with Homebridge and not the plugin. The ffmpeg libraries broke a little while back, no word on when they will be operable again. I wish I had them back too but for now there isn’t much that can be done.

Colorado4Wheeler avatar May 16 '19 23:05 Colorado4Wheeler

Thanks for the quick reply. Such a drag. I was so excited that I actually got it halfway working.

On Thu, May 16, 2019 at 4:10 PM Colorado Four Wheeler < [email protected]> wrote:

This is currently an issue with Homebridge and not the plugin. The ffmpeg libraries broke a little while back, no word on when they will be operable again. I wish I had them back too but for now there isn’t much that can be done.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/130?email_source=notifications&email_token=AL3FWKM4UZNSCLNEOMPY2A3PVXSWNA5CNFSM4HNQZ772YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVTJF4Q#issuecomment-493261554, or mute the thread https://github.com/notifications/unsubscribe-auth/AL3FWKKPUP5EDXAFD5C2K6TPVXSWNANCNFSM4HNQZ77Q .

ericwass avatar May 16 '19 23:05 ericwass