RMCob / homebridge-wyze-connected-home-op

Wyze Connected Home plugin for Homebridge with support for the Wyze Outdoor Plug
http://github.com/RMCob/homebridge-wyze-connected-home
MIT License
41 stars 20 forks source link

Wyze Lock - On homebridge restart, lock is added as new device #22

Open lilcoltsmith opened 2 years ago

lilcoltsmith commented 2 years ago

I am currently using this plugin to interface with multiple Wyze devices. All are working as expected, but when I restart homebridge (whether it is a docker restart or restarting my server), the logs will say the following:

[1/31/2022, 5:08:23 PM] [Wyze] Setting up new device: Front Door

This causes an undesired side effect which I will explain. In HomeKit, I will move the Wyze Lock to my "Entrance" room which I use for the front door and front porch (contains cameras and Wyze Outdoor Plugs). After restarting homebridge, the Wyze Lock will display the message I mentioned above in the logs, and it will be moved back to the room where I have the homebridge registered ("Office"). This does not happen with any other devices.

Is this expected behavior?

dlewanda commented 2 years ago

I am seeing this with all my Wyze devices in Homebridge - I opened #24 to ask a very similar question.

RMCob commented 2 years ago

I see you are running this in Docker container. What is the host system? (Windows, Mac OS, RPi, etc.) The problems you are seeing may be related to your host environment. This plugin was developed and proved-in on a RPi4 (Raspbian OS) running Homebridge with the the UI-X plugin. I have not seen what you are describing so I can't really help you. Bottom line is that it is NOT expected behavior. In addition, the code to interface with the Wyze Lock was done by someone else before I took over the plugin support. I do not have a lock to test with either. :-( Perhaps someone else using the plugin who has the lock and is using Docker can help.

cwmn commented 2 years ago

I’m running Homebridge on a Mac, i hate to sound like an idiot, but I’m not sure why you say this is running in a Docker, or is that what the standard Mac image is considered? Things worked fine before I ran the plug in as an orphan as far as seeing all of the Wyze lights and lock, it was just that my entire system seemed slow and there were log entries warning me.

Thanks Chuck

Sent from my iPhone

On Feb 24, 2022, at 3:35 PM, RMCob @.***> wrote:

 I see you are running this in Docker container. What is the host system? (Windows, Mac OS, RPi, etc.) The problems you are seeing may be related to your host environment. This plugin was developed and proved-in on a RPi4 (Raspbian OS) running Homebridge with the the UI-X plugin. I have not seen what you are describing so I can't really help you. Bottom line is that it is NOT expected behavior. In addition, the code to interface with the Wyze Lock was done by someone else before I took over the plugin support. I do not have a lock to test with either. :-( Perhaps someone else using the plugin who has the lock and is using Docker can help.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.

RMCob commented 2 years ago

@cwmn The docker comment was specifically to @lilcoltsmith who mentioned docker. But as I said above, your host environment (Mac) is different from mine so I can't help you. Sorry.

cwmn commented 2 years ago

I did figure that out after I sent the reply, sorry.

But I guess I’m confused about Issue #20, there are three users reporting that the Wyze plugin is generating a slow response warning in the Homebridge log. Are you saying the issue is only being seen by Mac users? I didn’t realize that errors were platform specific, and as such this issue isn’t being worked, is that correct?

Thanks, Chuck

On Feb 25, 2022, at 12:46 PM, RMCob @.***> wrote:

@cwmn https://github.com/cwmn The docker comment was specifically to @lilcoltsmith https://github.com/lilcoltsmith who mentioned docker. But as I said above, your host environment (Mac) is different from mine so I can't help you. Sorry.

— Reply to this email directly, view it on GitHub https://github.com/RMCob/homebridge-wyze-connected-home-op/issues/22#issuecomment-1051105085, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3N5ZYLTVVIM6QUJST53UTU47FCFANCNFSM5NHQXTFA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.

RMCob commented 2 years ago

@cwmn You are correct, this issue is not being worked by me. However I am leaving it open in case someone else comes up with a solution.