Hi Everyone
I installed HA about a month ago and i’m loving how useful it is.
The issue i have is with a simple light to switch on with motion.
I’m using the default option in HA to do this.
The problem is the light doesn’t turn on for about 5 seconds after motion is detected.
I have noticed on the Tuya sensor when motion is detected a red light is on the device and only when this goes out does the light switch on.
I have an Aqara sensor in another room and this works perfectly.
Is this Tuya sensor just bad or is there any setting i can change to speed up the lighting process.
Big thanks
Post it using code tags. The forum editor doesn’t pass indentation correctly, and this is critical to yaml.
I did look at the blueprint (I don’t use this one) and the trigger is off to on.
Next, I would go to developers tools → states and watch the state of the motion entity while someone walks into the view of the sensor. Verify that the LED on the sensor matches the entity state.
If i click the run actions button in States the light goes on instantly but i can’t see details for the motion sensor. I’m probably looking at the wrong thing.
Found it in the end. About a 3 to 4 second delay from when the LED lights to showing its detected in the State. Cloud Polling a possibilty as Sir_Goodenough mentions above.
Good catch. I flashed ESPHome to my few Tuya devices, so I never see the cloud. Since Tuya also sometimes uses the Bekin chip, LocalTuya is a viable option for the OP.
I got Local Tuya installed and went through the vast procedures to get an API key. Unfortunately i can seem to get any devices installed even though 4 are detected.
Its giving a datapoint error. Anyway getting late here in Ireland so will check back tomorrow when i’m fresh and try again.
I got Local Tuya and also Tuya Local working but the sensor doesn’t seem to be supported. I managed to get a switch and a few light bulbs working so at least they should work faster not relying on the cloud.