Wyze Camera Health Check

Hello. Being that these Cameras seem to stop recording or drop off-line every once in a while. It would be great to have a health check that could report if a camera goes offline (stops recording) for a defined period of time. I attempted to do this with the API but hit roadblock after roadblock. Anyone have any way to do this??

As far as going offline, there are many tools out there that will ping a device every so often and alert you if it isn’t responding. You could even open them up to ping from the internet and use a free service to do it remotely for you, though you’d probably want to try and use a firewall to restrict the pings to only that company’s servers. You can also do TCP pings or socket checks against one of the ports the cam listens on to be more thorough.

As far as SD card recording (if that’s what you’re referring to by recording), I don’t have any ideas other than checking them in the app every so often, they typically will warn you when you bring up the live view that the SD card isn’t functioning.

thanks for that. Seems they stay “online” ping-able even when the Wyze core servers see them as “offline”. That is why I am trying to use the actual Wyze application infrastructure. I am close, I just cant get the right URL/URI to list the devices. https://api.wyze.com/v2/devices does not seem to work. Anyone know what this should be now?

I don’t have an answer for you, but a couple of things come to mind:

  1. There’s a Wishlist topic that seems to be related to what you’re asking: Loss of Communication/Network Connection Notification & Log. If you haven’t already, you can visit that one, hit the Vote button above the initial post, and add your ideas/use cases in the comments. Forum Maven @carverofchoice wrote in that topic about a work-around he’s using.
  2. Community member @K6CCC has written about using internal and external services to monitor the health of his network, so tagging him might bring some other ideas to this topic.

As @dave27 said, if what you really want to know about is if/when the camera stops recording to microSD, then I’m not sure of a way to monitor that process, but I’m interested in learning what develops out of this topic.

2 Likes

That is true. I often see cameras that show offline in the Wze App, and yet can be pinged locally.

Here is what I am doing. There are other local solutions. I am not running a consumer grade router, and most consumer grade routers can’t do what i am doing. My router supports scripts that ca do almost anything that the router is capable of from a command line or the graphical user interface. I have a script that pings each of my IoT devices. It will then send me an E-Mail if any devices fail. The scheduler in the router runs that script once every hour.

Assuming your router can’t do that, there are several both hardware and software solutions that can do similar functions. Note that if you are going to ping your devices, it must be done from internal to your LAN. Although pings can be router through your router (if your router supports that), you would only be able to ping one device from an external source.

Before someone asks, my primary router is a Mikrotik RB4011iGS+.

I don’t know of any way to detect a camera stopping recording to the µSD card - although I have very seldom had that happen.

2 Likes

I setup several scheduled automations on my cameras that upload a short video to the cloud and then i’ll get notifications on those. I did 4 separate ones, every 6 hours.

1 Like

Try doing telnet or TCP socket opens to the ports the app uses, if you can figure out which one stops responding, the health check apps and services can mimic that behavior (doing a socket open). Of course whether or not that would interfere with normal operation of the app is something you’d need to test to find out.

I’ve found that automation to be unreliable, tested it out and the results were very sporadic. Maybe related to the 5 minute cooldown. Though I was using motion as a trigger and not time-based so maybe that was the problem.