[RELEASE] WyzeHub - Wyze Device Integration (minimal cam support)

Logfile here: Dropbox

Also pasted below:

Older Cam
Turn on Notifications
[WyzeHub] [Kitchen Cam] [[pid:P1, value:1, ts:1738861377180], [pid:P1001, value:1, ts:1644723656000], [pid:P1002, value:1, ts:1644723656000], [pid:P1003, value:1, ts:1644723656000], [pid:P1004, value:1, ts:1644723656000], [pid:P1005, value:1, ts:1644723656000], [pid:P1006, value:0, ts:1738383269643], [pid:P1007, value:0, ts:1644723656000], [pid:P1008, value:0, ts:0], [pid:P1010, value:1, ts:0], [pid:P2, value:0, ts:0], [pid:P3, value:1, ts:1702929742806], [pid:P4, value:1, ts:0], [pid:P5, value:1, ts:1738843221926], [pid:P1017, value:0, ts:0], [pid:P1019, value:0, ts:1602785910989], [pid:P1020, value:0, ts:1602785910597], [pid:P1021, value:1, ts:1664293860000], [pid:P1033, value:0, ts:0], [pid:P1018, value:1, ts:1644721988891], [pid:P1047, value:1, ts:1738861377536], [pid:P1048, value:1, ts:1738861377356], [pid:P18, value:0, ts:0], [pid:P20, value:2, ts:1646726141000]]

Turn off Notifications
[WyzeHub] [Kitchen Cam] [[pid:P1, value:0, ts:1738861224550], [pid:P1001, value:1, ts:1644723656000], [pid:P1002, value:1, ts:1644723656000], [pid:P1003, value:1, ts:1644723656000], [pid:P1004, value:1, ts:1644723656000], [pid:P1005, value:1, ts:1644723656000], [pid:P1006, value:0, ts:1738383269643], [pid:P1007, value:0, ts:1644723656000], [pid:P1008, value:0, ts:0], [pid:P1010, value:1, ts:0], [pid:P2, value:0, ts:0], [pid:P3, value:1, ts:1702929742806], [pid:P4, value:1, ts:0], [pid:P5, value:1, ts:1738843221926], [pid:P1017, value:0, ts:0], [pid:P1019, value:0, ts:1602785910989], [pid:P1020, value:0, ts:1602785910597], [pid:P1021, value:1, ts:1664293860000], [pid:P1033, value:0, ts:0], [pid:P1018, value:1, ts:1644721988891], [pid:P1047, value:0, ts:1738861224534], [pid:P1048, value:0, ts:1738861224603], [pid:P18, value:0, ts:0], [pid:P20, value:2, ts:1646726141000]]

OG Cam
Turn on Notifications
[WyzeHub] [Front Yard Cam] [[pid:P3, value:1, ts:1738626472413], [pid:P5, value:1, ts:1738843207418], [pid:P1, value:1, ts:1738861168263], [pid:P1018, value:1, ts:0], [pid:P1020, value:1, ts:0], [pid:P20, value:1, ts:0], [pid:P22, value:0, ts:0], [pid:P30, value:0, ts:0]]

[WyzeHub] [Living Room Cam] [[pid:P3, value:1, ts:1738805492480], [pid:P5, value:1, ts:1738843207417], [pid:P1, value:1, ts:1738861420045], [pid:P1018, value:1, ts:0], [pid:P1020, value:1, ts:0], [pid:P20, value:1, ts:0], [pid:P22, value:0, ts:0], [pid:P30, value:0, ts:0]]

Turn off Notifications
[WyzeHub] [Front Yard Cam] [[pid:P3, value:1, ts:1738626472413], [pid:P5, value:1, ts:1738843207418], [pid:P1, value:0, ts:1738861122744], [pid:P1018, value:1, ts:0], [pid:P1020, value:1, ts:0], [pid:P20, value:1, ts:0], [pid:P22, value:0, ts:0], [pid:P30, value:0, ts:0]]

[WyzeHub] [Living Room Cam] [[pid:P3, value:1, ts:1738805492480], [pid:P5, value:1, ts:1738843207417], [pid:P1, value:0, ts:1738861460882], [pid:P1018, value:1, ts:0], [pid:P1020, value:1, ts:0], [pid:P20, value:1, ts:0], [pid:P22, value:0, ts:0], [pid:P30, value:0, ts:0]]

So P1 is the parameter for notificiations for both versions. The Set All Notifications command sets P1 (it goes a step further to set motion (P1047) and sound (P1048); but those don't appear to be available on the OG).

To rule out an issue with RM, if you use Set All Notifications directly from the HE device page, does that work?

Through a misunderstanding of what you asked for previously, I'm a step ahead of you. My previous logs post were generated using the buttons on the HE device page.

I briefly looked, but didn't find any documentation for the Wyze API. There's got to be a method to do this as I've got an IFTTT applet that does this. I don't think IFTTT uses a device notification preference, but an account level flag.

Ah, I see....the reason I asked for you to update from the app is that I don't know what properties P1020, P20, P22, or P30 correspond to. If one of those control notifications for the OG then they would have changed after updating within the wyze app itself. Controlling from HE would not update any of those, but it could if we can pinpoint the right property.

Here's the logs when triggered from the app:
Disabled in Wyze App with Settings Refresh in HE -> Followed By Enable in Wyze App with Settings Refresh in HE for each of the 3 cams

[WyzeHub] [Front Yard Cam] [[pid:P3, value:1, ts:1738626472413], [pid:P5, value:1, ts:1738843207418], [pid:P1, value:1, ts:1738861168263], [pid:P1018, value:1, ts:0], [pid:P1020, value:1, ts:0], [pid:P20, value:1, ts:0], [pid:P22, value:0, ts:0], [pid:P30, value:0, ts:0]]
[WyzeHub] [Front Yard Cam] [[pid:P3, value:1, ts:1738626472413], [pid:P5, value:1, ts:1738843207418], [pid:P1, value:1, ts:1738861168263], [pid:P1018, value:1, ts:0], [pid:P1020, value:1, ts:0], [pid:P20, value:1, ts:0], [pid:P22, value:0, ts:0], [pid:P30, value:0, ts:0]]

[WyzeHub] [Living Room Cam] [[pid:P3, value:1, ts:1738805492480], [pid:P5, value:1, ts:1738843207417], [pid:P1, value:0, ts:1738861460882], [pid:P1018, value:1, ts:0], [pid:P1020, value:1, ts:0], [pid:P20, value:1, ts:0], [pid:P22, value:0, ts:0], [pid:P30, value:0, ts:0]]
[WyzeHub] [Living Room Cam] [[pid:P3, value:1, ts:1738805492480], [pid:P5, value:1, ts:1738843207417], [pid:P1, value:0, ts:1738861460882], [pid:P1018, value:1, ts:0], [pid:P1020, value:1, ts:0], [pid:P20, value:1, ts:0], [pid:P22, value:0, ts:0], [pid:P30, value:0, ts:0]]

[WyzeHub] [Kitchen Cam] [[pid:P1, value:0, ts:1738901018435], [pid:P1001, value:1, ts:1644723656000], [pid:P1002, value:1, ts:1644723656000], [pid:P1003, value:1, ts:1644723656000], [pid:P1004, value:1, ts:1644723656000], [pid:P1005, value:1, ts:1644723656000], [pid:P1006, value:0, ts:1738383269643], [pid:P1007, value:0, ts:1644723656000], [pid:P1008, value:0, ts:0], [pid:P1010, value:1, ts:0], [pid:P2, value:0, ts:0], [pid:P3, value:1, ts:1702929742806], [pid:P4, value:1, ts:0], [pid:P5, value:1, ts:1738843221926], [pid:P1017, value:0, ts:0], [pid:P1019, value:0, ts:1602785910989], [pid:P1020, value:0, ts:1602785910597], [pid:P1021, value:1, ts:1664293860000], [pid:P1033, value:0, ts:0], [pid:P1018, value:1, ts:1644721988891], [pid:P1047, value:1, ts:1738861377536], [pid:P1048, value:1, ts:1738861377356], [pid:P18, value:0, ts:0], [pid:P20, value:2, ts:1646726141000]]
[WyzeHub] [Kitchen Cam] [[pid:P1, value:1, ts:1738901037829], [pid:P1001, value:1, ts:1644723656000], [pid:P1002, value:1, ts:1644723656000], [pid:P1003, value:1, ts:1644723656000], [pid:P1004, value:1, ts:1644723656000], [pid:P1005, value:1, ts:1644723656000], [pid:P1006, value:0, ts:1738383269643], [pid:P1007, value:0, ts:1644723656000], [pid:P1008, value:0, ts:0], [pid:P1010, value:1, ts:0], [pid:P2, value:0, ts:0], [pid:P3, value:1, ts:1702929742806], [pid:P4, value:1, ts:0], [pid:P5, value:1, ts:1738843221926], [pid:P1017, value:0, ts:0], [pid:P1019, value:0, ts:1602785910989], [pid:P1020, value:0, ts:1602785910597], [pid:P1021, value:1, ts:1664293860000], [pid:P1033, value:0, ts:0], [pid:P1018, value:1, ts:1644721988891], [pid:P1047, value:1, ts:1738861377536], [pid:P1048, value:1, ts:1738861377356], [pid:P18, value:0, ts:0], [pid:P20, value:2, ts:1646726141000]]

@themarkwilliams Thanks for that. Looks like the OG cams aren't respecting P1 and I don't see any other updated parameter.

I did some researching on other implementations, there are several for HA and no-one has found a notification option for the OG cams. I agree that there has to be something but wyze's lack of documentation is prohibitive.

I had the same experience. Will look again later on and update here if I find anything that might work.

Thanks for your help!

So I guess the motion has a 55lbs limit or something to clearly pick up an object, guess that is why the motions are hit and miss for picking up a cat on the counter sooo.

The Wyze camera seems to see the cat even from across the room and trigers the light on the camera sooo, I took the zooz 4in1 and set it next to the camera facing it and did the trigger on Illumination.. the camera see the cat, triggers the light, the Illumination triggers the zooz 4in1 and that trigger runs the cat water sprayers on the counters :wink:

works as a test, so we will see :slight_smile:

This is my "cat vs. counters" battle.. :laughing:

also trying the Linptech Human Presence Sensor ES1 with the package manager installed driver.

  • Linptech 24Ghz Presence Sensor ES1
    • Linptech 24Ghz Presence Sensor ES1 v2.0.1 (driver)

I got the Tuya TS0225_LINPTECH 24Ghz Human Presence Detector from Amazon

working in Hubitat Platform Version 2.4.0.151
Hardware Version C-5
with the Tuya ZigBee mmWave Sensor driver installed from the Hubitate package manager.

image

hope this can help someone in whatever project for sensing something..
in my case.. the cats :slight_smile: