samemory / homebridge-eufy-security

Work in progress
Apache License 2.0
97 stars 14 forks source link

[Bug]: Beta 41 only shows UI in chrome; cannot login (new setup or refresh), no devices shown #377

Closed wilbsww closed 2 years ago

wilbsww commented 2 years ago

What happened?

Mentioned in the previous beta 40 thread; when on beta 41: unless using Chrome, the UI doesn't show. Whether on a fresh install or an upgrade, beta 41 doesn't allow login or refresh login. As such, the device list doesn't show. Additionally, the log goes into a boot loop showing the attached log

Device Type

Indoor Camera (Supported)

Plugin Version

beta (Best Effort)

HomeBridge Version

v1.4.x (Supported)

NodeJS Version

v14 (Supported)

Operating System

Raspbian 10+ (Supported)

Relevant log output

[31/03/2022, 18:32:10] [homebridge-eufy-security] Country set: US

Error: EEXIST: file already exists, copyfile '/var/lib/homebridge/persistent.json' -> '/var/lib/homebridge/eufysecurity/persistent.json'

at Object.copyFileSync (node:fs:2800:3)

at new EufySecurityPlatform (/usr/local/lib/node_modules/homebridge-eufy-security/src/platform.ts:134:10)

at ChildBridgeFork.startBridge (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:134:42)
[31/03/2022, 18:32:10] [homebridge-eufy-security] Child bridge process ended

[31/03/2022, 18:32:10] [homebridge-eufy-security] Process Ended. Code: 1, Signal: null
github-actions[bot] commented 2 years ago

Did you check this Common Issues pages ?

karesake commented 2 years ago

Got the same.

*Nothing have been retreived!“

Ordered Netatmo Doorbell and Outdoor Cameras today. Bye!

lenoxys commented 2 years ago

Got the same.

*Nothing have been retreived!“

Ordered Netatmo Doorbell and Outdoor Cameras today. Bye!

Too bad see you leaving, you can still go back into earlier beta version ! Anyway thanks for your help making this plugin better with your improvements !

karesake commented 2 years ago

Yes. I've had enough worrying about it every single day.

Not through the plugin but through Eufy.

Nothing more HomeKit-enabled Products will come from the company either. Everything that is published are half-finished products where the software is not thought through to the end. Cameras that cannot use real RTSP. Cameras that cannot be connected to the HomeBase, making the built-in siren absolutely useless. An app crammed with ads.

And then let's be honest. Not even the 2c cameras are really HomeKit compatible, only the HomeBase. If one day Eufy closes the API or shuts down the servers, that's it.

The Netatmo have a real HomeKit code and can therefore be operated without a manufacturer app.

If you want to buy a large Eufy package, get in touch. Shipping from Germany to France shouldn't be a problem.

PS: Sorry for OT

lenoxys commented 2 years ago

identify a bug on Bropat lib I've open a case : https://github.com/bropat/eufy-security-client/issues/136

lenoxys commented 2 years ago

@karesake, fully understand! shame to have homebase but rely on Cloud API to work.

I've already have a huge setup on my own miss the floodlight but it will be for test purpose only.

lenoxys commented 2 years ago

@wilbsww are you using the same Eufy credentials elsewhere ? If so, can you create a dedicated one for the plugin and assign it admin rights. If you don't know how to do that please follow the wiki.

wilbsww commented 2 years ago

@lenoxys I am, even changed the password to make sure nothing was going wrong on that end.

lenoxys commented 2 years ago

@wilbsww another thing before we need to dig further, can you follow the reset procedure ? and try again.

After that if it's not working do you mind if we can set a remote session to see what's going on ?

wilbsww commented 2 years ago

@lenoxys tried reset multiple times over; ended up having to revert to beta 33. The child bridge was rebooting so many times it would eventually crash the whole home bridge instance. If it wasn't set up as a child bridge, then the whole instance would crash right away.

Happy to set up something remote and work on things though!

lenoxys commented 2 years ago

let's have a look : [REDACTED]

lenoxys commented 2 years ago

ok looks fixed, we did see other bugs during the session but nothing related to the one described above. Closing this one.

I will open a new one with duplicate bridge camera. (#378)