I just installed my new Wyze motion sensor. Seems to work great, but…
I want to do something I thought would be straightforward - turn on a light when someone enters a darkened room. I set up the sensor to control a lamp in my living room - turn on the lamp when the sensor detects motion, and turn it off when the sensor clears. The lamp is plugged into a TP-Link Kasa Wi-Fi smart plug.
That part was easy, using IFTTT to link the Wyze motion sensor to the Kasa smart plug.
What I can’t figure out is how to have the sensor turn on the lamp only at night, when the room is dark (no need to turn it on during the day). Since the sensor itself has no light sensor built into it, that means I need to use a time-of-day schedule (ideally “dusk-to-dawn” but I can live with fixed staart-stop times) to control when the sensor should turn on the lamp.
But I can’t figure out how to apply two triggers (the sensor and a schedule) in IFTTT to trigger an action (turn on my lamp).
If I were to replace my light bulb with a Wyze bulb, would I then be able to do what I want via a rule directly in the Wyze app (and eliminate IFTTT)?
If anyone has done this before, or can offer advice on how I can do this, I’d appreciate it,
I have a Wyze bulb set up where it turns on the bulb after the motion sensor is tripped only at night. It has an option to only run the actions if the trigger occurs between start time and end time. You set it up in the rules section under device trigger in the wyze app. You should also be able to do that with a wyze plug too if you don’t have a wyze bulb. I’m not sure if you can do that with IFTTT.
@angus.black I don’t see an option to have the sensor turned off. It only has rules where the notifications from the sensor can be turned on/off.
It makes no sense to me that Wyze doesn’t provide a rule for its motion sensor to detect motion only during certain hours. It’s nice to be able to turn on/off notifications during certain hours, but being able to also detect motion during certain hours would be far more useful.
Sorry I didn’t realize you were talking about how to do the Alexa routine. I’m glad you figured it out. I didn’t think to use Alexa to integrate the TP-link smart plug and Wyze motion sensor. Yeah I didn’t see an option for sunrise and sunset times.
I also never thought to use Alexa to create a scene using the Wyze motion sensor as the trigger and one of TP-Link Kasa smart plugs as the action. I’d already been using Alexa to control my Kasa smart devices, but not my Wyze devices. Once I added the skill to link Alexa to my Wyze account, all of my Wyze devices showed up, and I was able to easily create the scene I needed.