[SOLVED] Are Cameras supposed to show up twice?

Posted on
Thu Dec 08, 2016 8:30 pm
blysik offline
Posts: 213
Joined: Jan 06, 2015

[SOLVED] Are Cameras supposed to show up twice?

I switched to creating camera devices via HBB. I was then able to add the cameras as camera accessories. However, I ALSO have a "light bulb" device for each camera showing up separately., which fail to do anything. Is this expected behavior?

Thanks.
Last edited by blysik on Sat Dec 10, 2016 10:50 am, edited 1 time in total.

Posted on
Thu Dec 08, 2016 8:45 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: [question] Are Cameras supposed to show up twice?

They don't do that for me, and I haven't gotten any word that others are having that issue either. Can you post a screen shot? You add just one camera device from HBB, I don't know how another device could possibly add itself without your asking the plugin to do so.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Thu Dec 08, 2016 8:56 pm
blysik offline
Posts: 213
Joined: Jan 06, 2015

Re: [question] Are Cameras supposed to show up twice?

It's showing up via the Homebridge accessory bridge. I'll try to get a screen shot.

Posted on
Thu Dec 08, 2016 9:01 pm
blysik offline
Posts: 213
Joined: Jan 06, 2015

Re: [question] Are Cameras supposed to show up twice?

This is what happens when I try to turn it on / off:

[12/8/2016, 6:58:22 PM] [Homebridge Server] Frontlawn Cam: setLightOnState(1)
[12/8/2016, 6:58:22 PM] [Homebridge Server] Frontlawn Cam: setOnState(1)
[12/8/2016, 6:58:22 PM] [Homebridge Server] updateStatus of Frontlawn Cam: {"isOn":1}
[12/8/2016, 6:58:22 PM] [Homebridge Server] Indigo request: http://127.0.0.1:8176/devices/Frontlawn%20Cam.json
[12/8/2016, 6:58:22 PM] [Homebridge Server] Indigo request: http://127.0.0.1:8176/devices/Frontlawn%20Cam.json
[12/8/2016, 6:59:56 PM] [Homebridge Server] Frontlawn Cam: setLightOnState(0)
[12/8/2016, 6:59:56 PM] [Homebridge Server] Frontlawn Cam: setOnState(0)
[12/8/2016, 6:59:56 PM] [Homebridge Server] updateStatus of Frontlawn Cam: {"isOn":0}
[12/8/2016, 6:59:56 PM] [Homebridge Server] Indigo request: http://127.0.0.1:8176/devices/Frontlawn%20Cam.json
[12/8/2016, 6:59:56 PM] [Homebridge Server] Indigo request: http://127.0.0.1:8176/devices/Frontlawn%20Cam.json

And the Indigo log:

Dec 8, 2016, 6:58:22 PM
WebServer request to turn on device "Frontlawn Cam" from 127.0.0.1
EPS - Homebridge Buddy Error send "Frontlawn Cam" on failed

Dec 8, 2016, 6:59:56 PM
WebServer request to turn off device "Frontlawn Cam" from 127.0.0.1
EPS - Homebridge Buddy Error send "Frontlawn Cam" off failed

Posted on
Thu Dec 08, 2016 9:05 pm
blysik offline
Posts: 213
Joined: Jan 06, 2015

Re: [question] Are Cameras supposed to show up twice?

And here's how it looks in the Home app. Note the two cameras (Driveway Cam, and Frontlawn Cam) and you can see that two of the lights above them are the same names. (Hard to see that.)

http://imgur.com/a/e5gUE

Posted on
Thu Dec 08, 2016 9:13 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: [question] Are Cameras supposed to show up twice?

I still have no idea, please post a copy of config.json.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Thu Dec 08, 2016 9:32 pm
blysik offline
Posts: 213
Joined: Jan 06, 2015

Re: [question] Are Cameras supposed to show up twice?

$ more config.json
{
"bridge": {
"name": "Homebridge Server",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},

"description": "Homebridge-Indigo configuration generated by EPS Homebridge Companion on 2016-12-08 18:54:42 for device Homebridge Server",

"platforms": [
{
"platform": "Indigo",
"name": "Homebridge Server",
"protocol": "http",
"host": "127.0.0.1",
"port": "8176",
"path": "",
"username": "XXX",
"password": "XXX",
"includeActions": false,
"excludeIds": ["1509182177", "919224661", "1454708109", "942428811"],
"thermostatsInCelsius": false,
"accessoryNamePrefix": ""
},
{
"platform": "Camera-ffmpeg",
"cameras": [
{
"name": "Backyard Cam",
"videoConfig": {
"source": "-re -i rtsp://XX:XX@192.168.55.214:554/Streaming/Channels/2",
"stillImageSource": "-i http://XX:XX@192.168.55.214/Streaming/c ... /1/picture",
"maxStreams": 2,
"maxWidth": 640,
"maxHeight": 360,
"maxFPS": 15
}
},
{
"name": "Driveway Cam",
"videoConfig": {
"source": "-re -i rtsp://XX:XX@192.168.55.215:554/Streaming/Channels/2",
"stillImageSource": "-i http://XX:XX@192.168.55.215/Streaming/c ... /1/picture",
"maxStreams": 2,
"maxWidth": 640,
"maxHeight": 360,
"maxFPS": 15
}
},
{
"name": "Frontdoor Cam",
"videoConfig": {
"source": "-re -i rtsp://XX:XX@192.168.55.218:554/Streaming/Channels/2",
"stillImageSource": "-i http://XX:XX@192.168.55.218/Streaming/c ... /1/picture",
"maxStreams": 2,
"maxWidth": 640,
"maxHeight": 360,
"maxFPS": 15
}
},
{
"name": "Frontlawn Cam",
"videoConfig": {
"source": "-re -i rtsp://XX:XX@192.168.55.219:554/Streaming/Channels/2",
"stillImageSource": "-i http://XX:XX@192.168.55.219/Streaming/c ... /1/picture",
"maxStreams": 2,
"maxWidth": 640,
"maxHeight": 360,
"maxFPS": 15
}
},
{
"name": "Sideyard 1 Cam",
"videoConfig": {
"source": "-re -i rtsp://XX:XX@192.168.55.217:554/Streaming/Channels/2",
"stillImageSource": "-i http://XX:XX@192.168.55.217/Streaming/c ... /1/picture",
"maxStreams": 2,
"maxWidth": 640,
"maxHeight": 360,
"maxFPS": 15
}
},
{
"name": "Sideyard 2 Cam",
"videoConfig": {
"source": "-re -i rtsp://XX:XX@192.168.55.216:554/Streaming/Channels/2",
"stillImageSource": "-i http://XX:XX@192.168.55.216/Streaming/c ... /1/picture",
"maxStreams": 2,
"maxWidth": 640,
"maxHeight": 360,
"maxFPS": 15
}
}
]
}
],

"accessories": [
]
}

Posted on
Thu Dec 08, 2016 10:11 pm
blysik offline
Posts: 213
Joined: Jan 06, 2015

Re: [question] Are Cameras supposed to show up twice?

I can replicate this by removing the homebridge devices and the camera accessories. Then, re-add the homebridge accessory. As it steps through each of its devices to add, the ffmpeg-camera devices will be shown as light switches.

Posted on
Thu Dec 08, 2016 10:33 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: [question] Are Cameras supposed to show up twice?

I am at a loss unless your HomeKit database is messed up, that's not how HBB, HB or HB Indigo work.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Thu Dec 08, 2016 11:31 pm
blysik offline
Posts: 213
Joined: Jan 06, 2015

Re: [question] Are Cameras supposed to show up twice?

I even tried deleting my Home in iCloud. Same thing when added the homebridge server accessory back. Definitely seeing odd stuff.

Posted on
Fri Dec 09, 2016 8:09 am
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

Re: [question] Are Cameras supposed to show up twice?

Is the camera also a motion sensor perhaps?

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Fri Dec 09, 2016 10:33 am
blysik offline
Posts: 213
Joined: Jan 06, 2015

Re: [question] Are Cameras supposed to show up twice?

So I've managed to find a workaround that prevents it from happening. Previously I had 'include all friendly devices'. I switched to not include anything by default, and then I went and manually included all the devices I wanted in Homekit. That worked.

Posted on
Fri Dec 09, 2016 11:45 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: [question] Are Cameras supposed to show up twice?

That's not a workaround, that's the intended design. If you included everything in Indigo then it would all show up in HomeKit - well at least up to 99 devices it would. That was the main intent of the plugin was so you could easily cherry pick the stuff you want to send over and ignore the rest.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Fri Dec 09, 2016 1:06 pm
blysik offline
Posts: 213
Joined: Jan 06, 2015

Re: [question] Are Cameras supposed to show up twice?

I was assuming that it would ignore devices that weren't switches or dimmers. I.e., it would ignore anything that wasn't obviously a device HomeKit could represent.


Sent from my iPhone using Tapatalk

Posted on
Fri Dec 09, 2016 1:09 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: [question] Are Cameras supposed to show up twice?

No, the HB-Indigo does not discriminate at all unless it's really wonky, so you'll get everything and it will all be a switch by default.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests