Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Can no longer have camera switches without adding the camera too? #85

Closed
pankit1234 opened this issue Jun 18, 2022 · 15 comments
Closed
Assignees
Labels
bug Something isn't working fixed in beta / next release this is a resolved issue which is fixed in current beta and will be fixed in next release

Comments

@pankit1234
Copy link

What happened?

All my Eufy cameras are added to HomeKit natively and work great but I used this plugin to add the motion & power switches to HomeKit so I could disable motion in the driveway when cutting the grass etc etc. This no longer seems possible in the latest update? Instead requiring me to add the camera to the Home App. Is my old setup no longer possible?

Device Type

Indoor Camera (Supported)

Plugin Version

v2.0.x (Supported)

HomeBridge Version

v1.4.x (Supported)

NodeJS Version

v16 (Supported)

Operating System

Raspbian 10+ (Supported)

Relevant log output

N/A
@pankit1234 pankit1234 added the bug Something isn't working label Jun 18, 2022
@github-actions
Copy link

Did you check this Common Issues pages ?

@thieren
Copy link
Contributor

thieren commented Jun 19, 2022

Hi @pankit1234

I updated the source to allow this again. Could you check the latest beta.19?

@thieren thieren self-assigned this Jun 19, 2022
@thieren thieren added the fixed in beta / next release this is a resolved issue which is fixed in current beta and will be fixed in next release label Jun 19, 2022
@pankit1234
Copy link
Author

Hi @pankit1234

I updated the source to allow this again. Could you check the latest beta.19?

Thank you! I think I've almost got it working again but the power switches seem to be showing as motion sensors in the Home app and the Motion switches are showing as switches but are only accessible via the status bar in the top of the home app.

Just to check, is the correct approach for my use case to enable the device as a camera and then in the config change 'enable camera' to 'false'? Or am I doing it all wrong?

Thanks again!

@thieren
Copy link
Contributor

thieren commented Jun 19, 2022

I tried to recreate your issue, here's what I found:

but the power switches seem to be showing as motion sensors in the Home app and the Motion switches are showing as switches but are only accessible via the status bar in the top of the home app.

The switches and motion sensors are bundled into one HomeKit accessory. If you'll long press one of them you can access a setting icon at the bottom right or just scroll down. There should be something that reads something like 'Show as separate fields' (I have a different language setting so may differ).
After that everything should show as a separate device and the switches should appear as expected.

Just to check, is the correct approach for my use case to enable the device as a camera and then in the config change 'enable camera' to 'false'? Or am I doing it all wrong?

The enableCamera setting should not be touched for your use case. In fact if you set it to true and then to false afterwards it may happen, that homebridge has cached the camera as a separate device. After that it may display as not working camera even if you disabled the camera feature (e.g. enableCamera: false).

You'll have to remove the cached camera accessory in the homebridge-ui settings yourself if that happens. See here for more details.

@pankit1234
Copy link
Author

I tried to recreate your issue, here's what I found:

but the power switches seem to be showing as motion sensors in the Home app and the Motion switches are showing as switches but are only accessible via the status bar in the top of the home app.

The switches and motion sensors are bundled into one HomeKit accessory. If you'll long press one of them you can access a setting icon at the bottom right or just scroll down. There should be something that reads something like 'Show as separate fields' (I have a different language setting so may differ). After that everything should show as a separate device and the switches should appear as expected.

Just to check, is the correct approach for my use case to enable the device as a camera and then in the config change 'enable camera' to 'false'? Or am I doing it all wrong?

The enableCamera setting should not be touched for your use case. In fact if you set it to true and then to false afterwards it may happen, that homebridge has cached the camera as a separate device. After that it may display as not working camera even if you disabled the camera feature (e.g. enableCamera: false).

You'll have to remove the cached camera accessory in the homebridge-ui settings yourself if that happens. See here for more details.

Thanks for the help, unfortunately I still can't recreate my old setup. I've attached a screenshot of what I now have in the Home app so fingers crossed you can help.

There are 5 cameras in total. Two Eufy 2c's connected to a HomeBase and then three 2K cameras. Previously each camera would have a switch for motion and a switch for power. There would also be the Home/Away etc alarm mode tile. Those switches could be combined or split as you suggested 'show as separate tiles'. Unfortunately this no longer appears. Any ideas?

IMG_6095

@thieren
Copy link
Contributor

thieren commented Jun 19, 2022

Try to remove the cached accessory as described here and add them again.
I believe this has something to do with homebridge showing the old devices.
SO try to remove/unpair said devices from homebridge (there are to separate options for removing and unpairing devices in the homebridge settings).

@pankit1234
Copy link
Author

Try to remove the cached accessory as described here and add them again.
I believe this has something to do with homebridge showing the old devices.
SO try to remove/unpair said devices from homebridge (there are to separate options for removing and unpairing devices in the homebridge settings).

Thanks, I tried again. Clearing cache and also unpairing the devices. Deleting my details and then uninstalling the plugin and still not getting all the switches to be exposed unfortunately. Most bizarrely is the 'motion switches' appearing in the home apps top status bar but then not as a regular tile below. I'd love to get this resolved if you have any other ideas?

@thieren
Copy link
Contributor

thieren commented Jun 19, 2022

Can you long press the '4 Switches On' in the top bar and then long press one of the switches, so that it becomes the foreground. then touch the settings wheel in lower right and make a screenshot please.

@pankit1234
Copy link
Author

Thanks, screenshot below

IMG_E9FC081071AB-1 2

Can you long press the '4 Switches On' in the top bar and then long press one of the switches, so that it becomes the foreground. then touch the settings wheel in lower right and make a screenshot please.

@thieren
Copy link
Contributor

thieren commented Jun 20, 2022

I know it's a bit tedious but I'll just try to grasp what's going on.

What if you scroll down? Any additional controls there?

Under Bridge is Homebridge listed I think, isn't it?

@thieren
Copy link
Contributor

thieren commented Jun 20, 2022

Also, can you enable debug logging and share a log after plugin restart? Then I can at least verify that the plugin tries to add these switches.

@pankit1234
Copy link
Author

I know it's a bit tedious but I'll just try to grasp what's going on.

What if you scroll down? Any additional controls there?

Under Bridge is Homebridge listed I think, isn't it?

Thanks for the help! No further controls below that unfortunately. 'Status' is just the toggle to include in home status and then the Bridge is Homebridge. It used to show the 'show as single tile' option but not since 2.0. I'll share a log now too

@pankit1234
Copy link
Author

[6/20/2022, 9:27:27 PM] [EufySecurity-2.0.1-beta.19] WARN: warning: planned changes, see #1
[6/20/2022, 9:27:27 PM] [EufySecurity-2.0.1-beta.19] INFO: Country set: GB
[6/20/2022, 9:27:27 PM] [EufySecurity-2.0.1-beta.19] INFO: Finished initializing!

[6/20/2022, 9:27:33 PM] [EufySecurity-2.0.1-beta.19] INFO: You're using guest admin account with this plugin! This is recommanded way!
[6/20/2022, 9:27:33 PM] [EufySecurity-2.0.1-beta.19] INFO: You're using guest admin account with this plugin! This is recommanded way!
[6/20/2022, 9:27:33 PM] [EufySecurity-2.0.1-beta.19] INFO: You're using guest admin account with this plugin! This is recommanded way!
[6/20/2022, 9:27:33 PM] [EufySecurity-2.0.1-beta.19] INFO: You're using guest admin account with this plugin! This is recommanded way!
[6/20/2022, 9:27:33 PM] [EufySecurity-2.0.1-beta.19] INFO: Updating accessory: Homebase Hub
[6/20/2022, 9:27:33 PM] [EufySecurity-2.0.1-beta.19] INFO: Updating accessory: Leo Camera
[6/20/2022, 9:27:33 PM] [EufySecurity-2.0.1-beta.19] INFO: Updating accessory: Entryway
[6/20/2022, 9:27:33 PM] [EufySecurity-2.0.1-beta.19] INFO: Updating accessory: Living Room Camera
[6/20/2022, 9:27:33 PM] [EufySecurity-2.0.1-beta.19] INFO: Updating accessory: Garden
[6/20/2022, 9:27:33 PM] [EufySecurity-2.0.1-beta.19] INFO: Updating accessory: Driveway
[6/20/2022, 9:27:33 PM] [EufySecurity-2.0.1-beta.19] INFO: Updating accessory: Leo Camera
[6/20/2022, 9:27:33 PM] [EufySecurity-2.0.1-beta.19] INFO: Updating accessory: Entryway
[6/20/2022, 9:27:33 PM] [EufySecurity-2.0.1-beta.19] INFO: Updating accessory: Living Room Camera

@pankit1234
Copy link
Author

And how it appears when setting up the plugin from scratch

[6/20/2022, 9:34:10 PM] [EufySecurity-2.0.1-beta.19] INFO: You're using guest admin account with this plugin! This is recommanded way!
[6/20/2022, 9:34:10 PM] [EufySecurity-2.0.1-beta.19] INFO: You're using guest admin account with this plugin! This is recommanded way!
[6/20/2022, 9:34:10 PM] [EufySecurity-2.0.1-beta.19] INFO: You're using guest admin account with this plugin! This is recommanded way!
[6/20/2022, 9:34:10 PM] [EufySecurity-2.0.1-beta.19] INFO: You're using guest admin account with this plugin! This is recommanded way!
[6/20/2022, 9:34:10 PM] [EufySecurity-2.0.1-beta.19] INFO: Adding new accessory: Homebase Hub
[6/20/2022, 9:34:10 PM] [EufySecurity-2.0.1-beta.19] INFO: Adding new accessory: Leo Camera
[6/20/2022, 9:34:10 PM] [EufySecurity-2.0.1-beta.19] INFO: Adding new accessory: Entryway
[6/20/2022, 9:34:10 PM] [EufySecurity-2.0.1-beta.19] INFO: Adding new accessory: Living Room Camera
[6/20/2022, 9:34:10 PM] [EufySecurity-2.0.1-beta.19] INFO: Adding new accessory: Garden
[6/20/2022, 9:34:10 PM] [EufySecurity-2.0.1-beta.19] INFO: Adding new accessory: Driveway
[6/20/2022, 9:34:10 PM] [EufySecurity-2.0.1-beta.19] INFO: Adding new accessory: Leo Camera
[6/20/2022, 9:34:10 PM] [EufySecurity-2.0.1-beta.19] INFO: Adding new accessory: Entryway
[6/20/2022, 9:34:10 PM] [EufySecurity-2.0.1-beta.19] INFO: Adding new accessory: Living Room Camera

@thieren
Copy link
Contributor

thieren commented Jun 21, 2022

Can you enable debug messages? You'll find the option under advanced settings in the config-ui.
This way there'll be much more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in beta / next release this is a resolved issue which is fixed in current beta and will be fixed in next release
Development

No branches or pull requests

2 participants