It seems to be working now. Oddly, it didn’t work the morning after I installed and ran ADB. So I turned on “Display over other apps” and also got the beta version of the Wyze app. Then it worked. It’s possible that it was a coincidence.
I’m summarizing here what I’ve done based on your suggestions, just to have it all in one place. I’m sure that not everything below is necessary. I might start restoring settings to their defaults and possibly reboot to wipe out the ADB idle setting, one by one, to see which is actually solving the problem. Or maybe I’ll just wait until I hear that Wyze fixed it.
Wyze app settings
Turn off battery optimization
Allow background data use
Unrestricted data usage when Data Saver is on
Lock Screen - Show all Notification Content
Override Do Not Disturb - On (under Notifications in app information)
Display over other apps - Allowed (under Advanced in app information)
Modify system settings - (under Apps & Notifications → Advanced → Special app access) Doesn’t seem to matter. Mine is set to Not Allowed.
I’m using the beta Wyze app. To get it, sign into your Wyze account and scroll down to the bottom where you’ll find “Beta Tester”.
Doze and ADB
Turn turn off “doze” (deep and light idle) on an Android phone, you need to set developer mode and USB debugging on the phone, download ADB, and run a few commands.
Link which allows the ADB process to be installed on Windows, Mac, and Linux: https://www.xda-developers.com/install-adb-windows-macos-linux/.
Video of how to use ADB, including turning on developer option: https://www.youtube.com/watch?v=SB3-k-3Cem4&feature=youtu.be.
Then type this in command prompt: adb shell dumpsys deviceidle disable. This needs to be done every time you reboot the phone.