I had this working perfectly fine, simple: Wyze cam detects person and turns on plug for 5 minutes.
Now it does turn on the plug but it keeps randomly going off and on, no consistency at all, sometimes tuns on for 15 segs, goes off, turns on for a minute, etc.
Mind-boggling is the fact that I changed both cameras and plugs for brand new ones and the issue persists, deleted automation, reinstated it and nothing helps!
If you’re using just the single Automation, then sometimes it’s helpful for others here to assist with troubleshooting if you upload a screenshot showing the automation. Also, if you could provide some details about your environment (Cam model & firmware version, Plug model & firmware version, app version) and the timing of the issue (i.e., when it started and whether or not anything changed—like app or firmware updates—in your Wyze ecosystem at that time), then that information may also be helpful.
The “turn on for X time” action is currently broken on the server resulting in unpredictable behavior. Wyze is aware of this issue and working on a fix. In the meantime, if you’re looking for a temporary solution, please read the following: