SecKatie / ha-wyzeapi

Home Assistant Integration for Wyze devices.
720 stars 111 forks source link

[Wyze notifications ] <The automation that turned on and off the notifications in the Wyze app no longer works.> #570

Open mikefrantz opened 2 months ago

mikefrantz commented 2 months ago

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

mikefrantz commented 2 months ago

The feature that used to turn on and off the notifications in the Wyze app no longer works in Home Assistant.

cmgenius commented 1 month ago

I was having problems with this, but updating to the most recent release via HACS solved the issue for me.

brg468 commented 1 month ago

Best I can tell it’s still not working.

cmgenius commented 1 month ago

What camera(s) are you using? I have only tested using Cam Pan v3 but can confirm notification settings control was working as of yesterday for my instance. Perhaps other camera models use different API calls or something?

brg468 commented 1 month ago

My individual device notification switches are working, but I think this issue was about the global notification switch that used to toggle all app notifications. That hasn’t been working for a while now, and I’m honestly not sure it’s fixable. But the same can be accomplished more or less with grouping all the device notification switches.

mikefrantz commented 1 month ago

I’m using version 2 cameras, and I am also using the latest version of hacs. I use the global switch for turning on and off notifications for all cameras in an automation when I leave the WiFi network. It worked in January and February this year. But sometime after that, it has quit working.

mikefrantz commented 1 month ago

I made a notification group and you are correct. It does turn on each individual cameras notification however it will not turn on the push notification to send you an alarm if a person is detected. So it’s the global push notification switch that is not working.

brg468 commented 1 month ago

As long as the camera is set to notify when a person is detected and you have the global notifications turned on in the app you should get person/vehicle etc notifications if the device motion detection is switched on, at least in iOS. I’ve never personally used the global switch, I just use the device groups.

mikefrantz commented 1 month ago

In the Wyze app, I leave the notification for each camera turned on at all times. In the upper right hand corner of the app is the bell that you enable or disable the push notifications. That way it records all notifications but only send me a notification to my phone when I’ve left the premises. That’s why the global switch was very useful in automations. Because it would turn that bell in the upper right hand corner of the app on or off.

brg468 commented 1 month ago

Yea I know, and I know it used to work. But the same can be accomplished by leaving the bell on and turning device notifications on/off as needed. I haven’t found a way to fix the bell switch, the state isn’t even correct anymore.

brg468 commented 1 month ago

In guessing when they changed from a straight on/off to all the snooze options they broke the api component.

brg468 commented 1 month ago

I haven’t looked at all, but maybe if whats suggested here is possible it would be another way of handling it.

https://github.com/SecKatie/ha-wyzeapi/issues/581

mikefrantz commented 1 month ago

Thank you so much for attempting to fix it. I look forward to the fix. The reason I do it the way I do it is because I have two locations that I monitor.

mikefrantz commented 1 month ago

The other problem with doing it as a group and leaving the notifications on the app globally, sensors are not integrated in to Home Assistant and you will always get alarms on your motion sensors, even if you turn the cameras off because it’s set for notifications in the app globally

brg468 commented 1 month ago

That I didn’t think of, I don’t have any motion sensors. So you’re right that would still be an issue.

mikefrantz commented 1 month ago

IMG_1704 I believe this is what changed that might have broken the global notification. It used to be just on or off. If you could set it to on and until I turn it back on, it would work again like it used to work. Thanks for your continued work on this.

mikefrantz commented 1 month ago

I meant to say off and until I turn it back on.

brg468 commented 1 month ago

Yea I agree that’s probably what changed. For some reason I can’t intercept that specific traffic when I change the notification setting in the app, so I can’t figure out what it’s calling now.

chiefspecialk commented 3 weeks ago

It's weird that in app if you go to Account > Notifications > Push Notifications, it's just a simple toggle and you don't get asked the extra options. Either doing it that way or with the bell icon and the extra settings accomplish the same thing.

mikefrantz commented 3 weeks ago

Yes, I can toggle the switch in the HA app. But it does not turn on the bell in the Wyze app. So someway is not communicating back-and-forth. I can turn on the bill in the Wyze app and it does not turn on the switch in Home Assistant. Thanks for all your hard work on this.

mikefrantz commented 2 weeks ago

To put it another way the HA app switch has no effect on anything in the Wyze app. Nor does the Wyze app toggle the HA app switch. Hope this helps. Sorry it is such a puzzle to figure out, be we appreciate your work on the app integration.